Adjust kernel-features.h defaults for socket syscalls.
[glibc.git] / ChangeLog
blob251a8dd87a5c35059b5d4871cfed40d31231783a
1 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/kernel-features.h
4         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5         (__ASSUME_ACCEPT4): Likewise.
6         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7         Define.
8         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9         Likewise.
10         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11         Likewise.
12         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13         Likewise.
14         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28         * sysdeps/unix/sysv/linux/i386/kernel-features.h
29         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30         Likewise.
31         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32         Likewise.
33         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
34         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
35         0x040300].
36         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
40         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
41         0x030300].
42         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
43         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
45         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
46         0x040300].
47         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
49         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
51         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
53         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
54         0x030300].
55         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
57         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
58         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
59         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
60         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
61         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
62         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
63         * sysdeps/unix/sysv/linux/s390/kernel-features.h
64         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
65         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
66         0x040300].
67         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
68         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
69         * sysdeps/unix/sysv/linux/sh/kernel-features.h
70         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
71         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
72         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
73         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
74         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
75         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
76         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
77         * sysdeps/unix/sysv/linux/tile/kernel-features.h
78         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
79         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
80         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
81         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
82         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
83         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
84         Likewise.
85         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
86         Likewise.
88 2016-03-15  Andreas Schwab  <schwab@suse.de>
90         [BZ #19257]
91         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
92         statp->_u._ext.nscount as loop count.
94 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
96         * math/test-signgam-finite-c99.c: Also #undef
97         __LIBC_INTERNAL_MATH_INLINES.
98         * math/test-signgam-main.c: Likewise.
100 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
102         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
103         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
104         (MADV_FREE): Likewise.
105         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
106         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
107         EPOLLEXCLUSIVE.
109 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
111         * timezone/README: Remove mention of checktab.awk. Mention wiki
112         SharedSourceFiles.
114 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
116         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
117         WUNTRACED.
119 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
121         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
122         order to match the type of p when calling atomic_exchange_acq().
124 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
126         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
127         cfi_offset calls.
128         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
129         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
130         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
131         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
132         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
134 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
136         * timezone/checktab.awk: Removed.
138 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
140         * manual/math.texi (Errors in Math Functions): Document relaxed
141         accuracy goals for IBM long double.
142         * math/libm-test.inc (test_exceptions): Always allow spurious
143         "underflow" and "inexact" exceptions for IBM long double.
145 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
147         [BZ #19762]
148         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
149         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
150         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
151         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
152         (bit_arch_*): This for feature array.
153         (bit_*): Renamed to ...
154         (bit_cpu_*): This for cpu array.
155         (index_*): Renamed to ...
156         (index_arch_*): This for feature array.
157         (index_*): Renamed to ...
158         (index_cpu_*): This for cpu array.
159         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
160         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
161         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
162         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
163         bit_##name with index_cpu_##name and bit_cpu_##name.
164         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
165         bit_##name with index_arch_##name and bit_arch_##name.
167 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
169         [BZ #19792]
170         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
171         Terminate FDE before return label.
173 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
175         [BZ #19790]
176         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
177         (rintl): Define as macro.
178         [USE_AS_NEARBYINTL] (__rintl): Likewise.
179         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
180         of fesetround.  Ensure results are evaluated before end of scope.
181         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
182         USE_AS_NEARBYINTL and include s_rintl.c.
183         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
184         Disable exception traps in new environment.
185         (libc_feholdsetround_ppc_ctx): Likewise.
187 2016-03-08  Roland McGrath  <roland@hack.frob.com>
189         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
190         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
191         (tst_audit10_aux) [__AVX512F__]: ... here.
193 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
195         * include/sys/auxv.h: New file.
197 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
199         [BZ #19759]
200         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
202 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
204         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
205         operand modifier.
206         (feclearexcept): Likewise.
208 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
210         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
211         to reflect the entire 32-bit HWCAP.
212         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
213         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
215 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
217         [BZ #19783]
218         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
219         $(test-via-rtld-prefix).
220         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
222 2016-03-08  Florian Weimer  <fweimer@redhat.com>
224         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
225         union wait.  Report any non-zero exit status as error.
227 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
229         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
230         configured with --enable-hardcoded-path-in-tests.
232 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
234         [BZ #19677]
235         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
236         (__ieee754_remainderl): Put zero low parts in canonical form.
237         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
238         file.  Based on
239         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
240         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
241         with wrapper round test-fmodrem-ldbl-128ibm.c.
242         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
243         file.
244         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
245         Likewise.
246         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
247         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
249 2016-03-07  Florian Weimer  <fweimer@redhat.com>
251         [BZ #19610]
252         * elf/ldconfig.c (opt_link): Update comment.
253         (options): Update help string for option -X.
254         (search_dir): Unlink stale symbolic link only if updating symbolic
255         links.
256         * elf/tst-ldconfig-X.sh: New file.
257         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
258         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
260 2016-03-07  Andreas Schwab  <schwab@suse.de>
262         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
263         needed arguments.
265 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
267         [BZ #15333]
268         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
269         to lstat64.
271 2016-03-07  Florian Weimer  <fweimer@redhat.com>
273         * libio/filedoalloc.c (isatty): Remove.
274         (local_isatty): Add comment.  Call __isatty directly.
275         (_IO_file_doallocate): Update comment.  Assume _LIBC.
276         * libio/wfiledoalloc.c (isatty): Remove.
277         (_IO_wfile_doallocate): Update comment.
279 2016-03-07  Florian Weimer  <fweimer@redhat.com>
281         [BZ #19269]
282         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
283         tst-audit4-aux.o.
284         (tst-audit10): Depend on tst-audit10-aux.o.
285         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
286         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
287         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
288         instead of inline AVX code.
289         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
290         instead of inline AVX512 code.
291         * sysdeps/x86_64/tst-audit4-aux.c: New file
292         * sysdeps/x86_64/tst-audit10-aux.c: New file
294         [BZ #19648]
295         * test-skeleton.c (main): Do not set RLIMIT_DATA.
297 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
299         [BZ #14750]
300         [BZ #10354]
301         [BZ #18433]
302         * include/sched.h (__clone): Add hidden prototype.
303         (__clone2): Likewise.
304         * include/unistd.h (__dup): Likewise.
305         * posix/Makefile (tests): Add tst-spawn2.
306         * posix/tst-spawn2.c: New file.
307         * sysdeps/posix/dup.c (__dup): Add hidden definition.
308         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
309         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
310         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
311         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
312         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
313         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
314         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
315         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
316         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
317         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
319         Likewise.
320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
321         Likewise.
322         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
323         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
324         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
325         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
326         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
327         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
328         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
329         * sysdeps/unix/sysv/linux/nptl-signals.h
330         (____nptl_is_internal_signal): New function.
331         * sysdeps/unix/sysv/linux/spawni.c: New file.
333         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
334         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
335         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
336         * posix/tst-execvp2.c (do_test): Likewise.
337         * posix/tst-execvp3.c (do_test): Likewise.
338         * posix/tst-execvp4.c (do_test): Likewise.
339         * posix/tst-execvpe1.c: New file.
340         * posix/tst-execvpe2.c: Likewise.
341         * posix/tst-execvpe3.c: Likewise.
342         * posix/tst-execvpe4.c: Likewise.
343         * posix/tst-execvpe5.c: Likewise.
344         * posix/tst-execvpe6.c: Likewise.
346         [BZ #19534]
347         * posix/execl.c (execl): Remove dynamic memory allocation.
348         * posix/execle.c (execle): Likewise.
349         * posix/execlp.c (execlp): Likewise.
351 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
353         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
354         Replace .text with .text.avx512.
355         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
356         Likewise.
358 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
360         * sysdeps/generic/libnsl.abilist: New file.
361         * sysdeps/generic/libutil.abilist: New file.
363 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
365         [BZ #19762]
366         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
367         HAS_ARCH_FEATURE with Fast_Rep_String.
368         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
369         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
370         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
371         Likewise.
372         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
373         Likewise.
374         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
375         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
376         Likewise.
377         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
378         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
379         Likewise.
381 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
383         [BZ #19745]
384         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
385         with *%rax in call.
387 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
389         [BZ #19745]
390         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
391         with *__libc_start_main@GOTPCREL(%rip) in call.
393 2016-03-04  Roland McGrath  <roland@hack.frob.com>
395         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
396         inside conditional for nonempty $(CXX).
398         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
399         nonempty.
401         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
402         to test for empty $(CXX) rather than $(CXX) of "no".
404 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
406         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
408 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
409             H.J. Lu  <hongjiu.lu@intel.com>
411         [BZ #18880]
412         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
413         instead of Slow_BSF, and also check for Fast_Copy_Backward to
414         enable __memcpy_ssse3_back.
416 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
418         [BZ #19758]
419         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
420         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
422 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
424         [BZ #19490]
425         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
426         (__fentry__): Likewise.
428 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
430         * gmon/Makefile (noprof): Add $(sysdep_noprof).
431         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
433 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
435         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
436         __mcount_internal directly.
437         (C_LABEL(__fentry__)): Likewise.
438         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
439         directly.
441 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
443         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
444         (__start_context): Call __setcontext directly.
446 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
448         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
449         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
450         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
451         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
452         * sysdeps/unix/sysv/linux/arm/kernel-features.h
453         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
454         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
455         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
456         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
457         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
458         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
459         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
460         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
461         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
462         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
463         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
464         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
466         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
467         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
468         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
469         * sysdeps/unix/sysv/linux/mips/kernel-features.h
470         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
471         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
472         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
473         Remove conditional code.
474         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
475         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
476         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
477         * sysdeps/unix/sysv/linux/sh/kernel-features.h
478         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
479         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
480         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
481         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
482         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
483         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
484         * sysdeps/unix/sysv/linux/tile/kernel-features.h
485         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
487 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
489         * NEWS (2.23): Fix typo in bug 19048 text.
491 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
493         [BZ #14259]
494         * Makeconfig: Rename msgcatdir to localedir.
495         Rename inst_msgcatdir to inst_localedir.
496         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
497         * config.make.in: Add localedir.
498         * elf/Makefile ($(objpfx)sotruss): Use localedir.
499         (ldd-rewrite): Likewise.
500         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
501         (install-others): Use inst_localedir.
502         (CPPFLAGS): Use localedir.
503         * locale/Makefile (locale-CPPFLAGS): Likewise.
504         * po/Makefile (mo-installed): Use inst_localedir.
506         [BZ #19575]
507         * localedata/charmaps/GB18030: Update comments regarding PAU to
508         non-PUA mappings.
510 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
512         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
513         test for header.
514         * sysdeps/unix/sysv/linux/configure: Regenerated.
515         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
516         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
517         Remove conditional code.
518         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
520         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
521         Define to 3.2.0.
522         (arch_minimum_kernel): Likewise.
523         * sysdeps/unix/sysv/linux/configure: Regenerated.
524         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
525         Define to 2.6.32.
526         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
527         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
528         (arch_minimum_kernel): Define to 2.6.32.
529         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
530         * README: Document Linux 3.2 requirement.
531         * manual/install.texi (Linux): Document Linux 3.2 headers
532         requirement.
533         * INSTALL: Regenerated.
535 2016-02-24  Andreas Schwab  <schwab@suse.de>
537         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
538         if !NO_LONG_DOUBLE.
540 2016-02-22  Roland McGrath  <roland@hack.frob.com>
542         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
543         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
545 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
547         [BZ #19512]
548         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
550 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
552         * posix/tst-dir.c: Include libc-internal.h.
554 2016-02-20  Florian Weimer  <fweimer@redhat.com>
556         [BZ #19056]
557         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
558         * manual/filesys.texi (Reading/Closing Directory): Mention
559         deprecaion.
560         * posix/tst-dir.c (main): Disable deprecation warning in test.
562 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
564         [BZ #19679]
565         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
566         Renamed to ...
567         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
568         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
569         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
570         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
571         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
572         * sysdeps/x86_64/dl-trampoline.h
573         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
574         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
576 2016-02-19  Mark Wielaard  <mjw@redhat.com>
578         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
580 2016-02-19  Mark Wielaard  <mjw@redhat.com>
582         * elf/elf.h (R_386_GOT32X): New.
583         (R_386_NUM): Update.
584         (R_X86_64_GOTPCRELX: New.
585         (R_X86_64_REX_GOTPCRELX): New.
586         (R_X86_64_NUM): Update.
588 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
590         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
592 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
594         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
595         assign attr->stackaddr to it, and adjust it down when
596         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
597         [_STACK_GROWS_UP]: Delete assert.
598         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
599         Implement stack grows up logic.
600         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
601         stack grows up logic.
603 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
605         * NEWS: Update with 2.24 template.
607 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
609         [BZ #19678]
610         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
611         Ensure +0.0 is returned when taking the next value below the least
612         positive value.
614 2016-02-19  Florian Weimer  <fweimer@redhat.com>
616         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
617         available.  Do not define NO_THREADS.
618         * malloc/malloc.c: Do not check NO_THREADS.
619         * malloc/arena.c: Likewise.
621 2016-02-19  Florian Weimer  <fweimer@redhat.com>
623         * malloc/malloc.c (__libc_mallinfo): Update comment.
624         (struct malloc_par): Remove max_total_mem member, it was always 0.
625         (int_mallinfo): Store 0 into usmblks (no functional change).
626         * malloc/hooks.c (struct malloc_state): Document that
627         max_total_mem is always 0.
628         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
629         always 0.
630         * manual/memory.texi (Statistics of Malloc): Likewise.
632 2016-02-19  Florian Weimer  <fweimer@redhat.com>
634         * malloc/malloc.c (sysmalloc): Do not update arena_max.
635         * malloc/arena.c (arena_max): Remove.
636         (heap_trim, _int_new_arena): Do not update arena_max.
638 2016-02-19  Florian Weimer  <fweimer@redhat.com>
640         * resolv/res_init.c (res_ninit): Update comment.
642 2016-02-19  Florian Weimer  <fweimer@redhat.com>
644         [BZ #19505]
645         * posix/spawn_int.h: Add headers and include guard.
646         (__spawn_valid_fd): New function.
647         * posix/spawn_faction_addopen.c
648         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
649         * posix/spawn_faction_addclose.c
650         (posix_spawn_file_actions_addclose): Likewise.
651         * posix/spawn_faction_adddup2.c
652         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
653         second file descriptor.
654         * posix/spawn_valid_fd.c: New file.
655         * posix/tst-posix_spawn-fd.c: New file.
656         * posix/Makefile (routines): Add spawn_valid_fd.
657         (tests): Add tst-posix_spawn-fd.
659 2016-02-19  Florian Weimer  <fweimer@redhat.com>
661         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
662         (do_test): Limit the number of arenas, so that we can use fewer
663         outer threads.  Limit timeout to 3 seconds, in preparation for a
664         larger TIMEOUT value.
666 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
668         [BZ #19674]
669         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
670         sign in overflowing and underflowing results when overflow or
671         underflow is detected early.  Include sign in result before rather
672         than after scaling.
674         [BZ #19603]
675         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
676         (__ieee754_remainderl): Adjust sign of integer version of low part
677         when taking absolute value of high part.
678         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
679         * math/libm-test.inc (remainder_test_data): Add another test.
680         (remquo_test_data): Likewise.
682 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
684         [BZ #19602]
685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
686         equal high parts and both low parts zero specially.
687         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
688         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
689         Add test-fmodl-ldbl-128ibm.
691         [BZ #19595]
692         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
693         common logic for all cases of shifting subnormal results.  Do not
694         insert sign bit in shifted mantissa.  Always pass -1023 as biased
695         exponent to ldbl_insert_mantissa in subnormal case.
697         [BZ #19594]
698         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
699         on high and low parts then adjust result and use
700         ldbl_canonicalize_int if needed.
702         [BZ #19593]
703         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
704         on high part and __floor or __ceil on low part then use
705         ldbl_canonicalize_int if needed.
707         [BZ #19592]
708         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
709         high and low parts then use ldbl_canonicalize_int if needed.
711         [BZ #17899]
712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
713         New function.
714         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
715         on high and low parts then use ldbl_canonicalize_int if needed.
717 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
719         * configure: Regenerated.
721         * po/libc.pot: Regenerated.
723         * po/be.po: Updated translation.
724         * po/bg.po: Likewise.
725         * po/ca.po: Likewise.
726         * po/cs.po: Likewise.
727         * po/da.po: Likewise.
728         * po/el.po: Likewise.
729         * po/eo.po: Likewise.
730         * po/es.po: Likewise.
731         * po/fi.po: Likewise.
732         * po/fr.po: Likewise.
733         * po/gl.po: Likewise.
734         * po/hr.po: Likewise.
735         * po/hu.po: Likewise.
736         * po/ia.po: Likewise.
737         * po/id.po: Likewise.
738         * po/it.po: Likewise.
739         * po/ja.po: Likewise.
740         * po/lt.po: Likewise.
741         * po/nb.po: Likewise.
742         * po/nl.po: Likewise.
743         * po/pt_BR.po: Likewise.
744         * po/rw.po: Likewise.
745         * po/sk.po: Likewise.
746         * po/sl.po: Likewise.
747         * po/sv.po: Likewise.
748         * po/tr.po: Likewise.
749         * po/zh_CN.po: Likewise.
750         * po/zh_TW.po: Likewise.
752         * version.h (RELEAES): Set to "development".
753         (VERSION): Set to 2.23.90.
755         * version.h (RELEASE): Set to "stable".
756         (VERSION): Set to 2.23.
757         * include/feature.h (__GLIBC_MINOR__): Set to 23.
759         * NEWS: Updated fixed bugs.
761 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
762             Wilco Dijkstra  <wdijkstr@arm.com>
764         [BZ #19462]
765         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
766         (_STRING_INLINE_unaligned): This.
767         * include/string.h: Include <string_private.h>.
768         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
769         _STRING_INLINE_unaligned.
770         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
771         (_STRING_INLINE_unaligned): New.
772         * sysdeps/aarch64/string_private.h: New file.
773         * sysdeps/generic/string_private.h: Likewise.
774         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
775         * sysdeps/s390/string_private.h: Likewise.
776         * sysdeps/x86/string_private.h: Likewise.
777         * sysdeps/m68k/m680x0/m68020/bits/string.h
778         (_STRING_ARCH_unaligned): Renamed to ...
779         (_STRING_INLINE_unaligned): This.
780         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
781         to ...
782         (_STRING_INLINE_unaligned): This.
783         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
784         to ...
785         (_STRING_INLINE_unaligned): This.
786         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
787         to ...
788         (_STRING_INLINE_unaligned): This.
790 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
791             H.J. Lu  <hongjiu.lu@intel.com>
793         [BZ #19590]
794         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
795         relocation.
797 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
799         [BZ #18665]
800         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
801         *herrno_p.
802         (gaih_getanswer): Document functional behviour. Return tryagain
803         if any result is tryagain.
804         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
805         when freed.
806         * resolv/res_send.c: Add copyright text.
807         (__libc_res_nsend): Document that MAXPACKET is expected.
808         (send_vc): Document. Remove buffer reuse.
809         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
810         size of the buffer. Add Dprint for truncated UDP buffer.
812 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
814         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
815         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
816         * INSTALL: Regenerate.
818 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
819             Jonathan Wakely  <jwakely@redhat.com>
820             Carlos O'Donell  <carlos@redhat.com>
822         [BZ 19439]
823         * math/Makefile (tests): Add test-math-isinff.
824         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
825         * math/bits/mathcalls.h [__USE_MISC]: Use
826         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
827         functions not in C++11 and which don't conflict e.g. isinff,
828         isinfl etc.
829         * math/test-math-isinff.cc: New file.
831 2016-02-12  Florian Weimer  <fweimer@redhat.com>
833         * misc/bug18240.c (do_test): Set RLIMIT_AS.
835 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
837         [BZ #19529]
838         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
840 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
842         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
844 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
846         [BZ #19550]
847         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
848         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
849         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
850         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
851         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
852         New syscall entry.
853         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
854         New syscall entry.
855         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
856         syscall entry.
858 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
860         [BZ #18240]
861         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
862         unsigned int wraparound.
864 2016-01-27  Florian Weimer  <fweimer@redhat.com>
866         [BZ #18240]
867         * misc/bug18240.c: New test.
868         * misc/Makefile (tests): Add it.
870 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
871             Joseph Myers  <joseph@codesourcery.com>
873         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
874         load in branch delay slot when less than a word of input left.
876 2016-01-27  Andreas Schwab  <schwab@suse.de>
878         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
879         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
880         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
881         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
883 2016-01-26  David S. Miller  <davem@davemloft.net>
885         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
887 2016-01-25  David S. Miller  <davem@davemloft.net>
889         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
890         __sqrtl_finite.
891         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
892         instead using versioned_symbol.
893         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
894         of entries.
896         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
897         __sqrtl_finite to GLIBC_2.23
899 2016-01-25  Ricchard Henderson  <rth@redhat.com>
901         * sysdeps/alpha/fpu/libm-test-ulps: Update.
903 2016-01-25  Andreas Schwab  <schwab@suse.de>
905         [BZ #17514]
906         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
907         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
908         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
909         * nptl/tst-mutex-errorcheck.c: New file.
911 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
913         [BZ #18560]
914         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
915         (IPCOP_semop): Likewise.
916         (IPCOP_semget): Likewise.
917         (IPCOP_semctl): Likewise.
918         (IPCOP_msgsnd): Likewise.
919         (IPCOP_msgrcv): Likewise.
920         (IPCOP_msgget): Likewise.
921         (IPCOP_msgctl): Likewise.
922         (IPCOP_shmat): Likewise.
923         (IPCOP_shmdt): Likewise.
924         (IPCOP_shmget): Likewise.
925         (IPCOP_shmctl): Likewise.
927 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
929         * string/tst-endian.c: Include <libc-internal.h>.
930         (do_test): Ignore tautological-compare warnings around
931         "htobeXX (beXXtoh (i)) != i" and
932         "htoleXX (leXXtoh (i)) != i" if-statements.
934 2016-01-24  David S. Miller  <davem@davemloft.net>
936         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
937         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
938         alias.
939         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
940         __sqrtl_finite.
942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
944 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
946         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
947         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
948         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
950 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
952         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
953         (thread_func): Use new function to simplify barrier check.
954         (do_test): Use new function to simplify checking barrier exit
955         code, and actually join the child thread.
957 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
959         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
960         semicolon.
961         (__libc_tend): Likewise.
962         (__libc_tabort): Likewise.
964 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
966         * sysdeps/nios2/libm-test-ulps: Update.
967         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
968         (__gtsf2): Likewise.
969         (__unorddf2): Likewise.
970         (__unordsf2): Likewise.
971         (__ledf2): Likewise.
973 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
975         * nis/nis_table.c (__follow_path): Disable diagnostic for
976         uninitialized variable that is a false positive for gcc 4.7.
977         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
979 2016-01-20  Roland McGrath  <roland@hack.frob.com>
981         * sysdeps/nacl/lowlevellock-futex.h
982         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
983         Always evaluate PRIVATE argument.
985 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
987         [BZ #19490]
988         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
989         (pthread_cond_broadcast): Use ENTRY/END
990         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
991         (pthread_cond_signal): Likewise.
992         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
993         Likewise.
994         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
995         Likewise.
996         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
997         Likewise.
999 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1001         * sysdeps/ieee754/dbl-64/s_finite.c
1002         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1003         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1004         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1005         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1006         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1009         (__gtsf2): Add as optional for libc.so.
1010         (__unordsf2): Likewise.
1011         (__signbit): Remove for libc.so.
1012         (__signbitl): Likewise.
1014 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1016         * iconvdata/bug-iconv11.c (test_ibm93x):
1017         Use %zu printf format specifier for size_t argument.
1019 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1021         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1022         already-recorded ulps.
1023         * sysdeps/arm/libm-test-ulps: Regenerated.
1024         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1025         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1026         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1028 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1029             Paul Pluzhnikov  <ppluzhnikov@google.com>
1031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1032         assembler not supporting AVX-512.
1034 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1036         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1038 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1040         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1041         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1043         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1045         * sysdeps/arm/libm-test-ulps: Regenerated.
1047 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1049         [BZ #19451]
1050         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1052 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1054         [BZ #19486]
1055         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1056         * sysdeps/generic/fix-fp-int-convert-overflow.h
1057         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1058         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1059         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1060         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1061         Likewise.
1062         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1063         Avoid conversions to long int where inexact exceptions
1064         could be raised.
1065         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1066         Likewise.
1067         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1068         Avoid conversions to long long int where inexact exceptions
1069         could be raised.
1070         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1071         Likewise.
1073 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1075         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1076         * configure: Regenerated.
1078 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1080         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1082 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1084         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1085         outside of comment.
1087 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1089         * nptl/tst-barrier1.c: Add description on first line.
1090         * nptl/tst-barrier2.c: Likewise.
1091         * nptl/tst-barrier3.c: Likewise.
1092         * nptl/tst-barrier4.c: Likewise.
1093         * nptl/tst-barrier5.c: Likewise.
1095 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1097         [BZ #18868]
1098         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1100 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1104         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1105         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1106         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1107         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1108         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1109         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1110         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1111         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1112         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1114 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1116         [BZ #13065]
1117         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1118         new implementation.
1119         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1120         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1121         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1122         (BARRIER_IN_THRESHOLD): New macro.
1123         * nptl/pthread_barrierattr_setpshared.c
1124         (pthread_barrierattr_setpshared): Clean up.
1125         * nptl/tst-barrier4.c: Correct comment.
1126         * nptl/tst-barrier5.c: New file.
1127         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1128         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1129         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1130         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1131         * nptl/lowlevelbarrier.sym: Remove.
1132         * nptl/DESIGN-barrier.txt: Remove.
1133         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1134         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1135         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1136         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1137         error.
1138         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1139         implementation.
1141 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1143         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1144         (do_child): Mask SIGRTMIN while thr is running.
1146 2016-01-15  Martin Sebor  <msebor@redhat.com>
1148         [BZ #19432]
1149         * iconvdata/Makefile: Add bug-iconv11.
1150         * iconvdata/bug-iconv11.c: New test.
1151         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1152         * iconvdata/ibm933.c: Same.
1153         * iconvdata/ibm935.c: Same.
1154         * iconvdata/ibm937.c: Same.
1155         * iconvdata/ibm939.c: Same.
1157 2016-01-15  Martin Sebor  <msebor@redhat.com>
1159         [BZ #19443]
1160         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1161         [DEBUG] (_ufc_set_bits): Declare used.
1162         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1163         [DEBUG] (print_all): Declare used.
1164         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1165         operands of the ternary ?: expression to target type.
1166         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1167         calling the undeclared abort.
1168         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1170 2016-01-15  Martin Sebor  <msebor@redhat.com>
1172         [BZ #18755]
1173         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1174         warnings.
1175         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1176         (__gai_create_helper_thread): Same.
1177         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1178         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1179         to suppress -Wmaybe-uninitialized warnings.
1181 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1183         [BZ #19465]
1184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1185         inside if.
1186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1187         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1190 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1192         [BZ #19466]
1193         * time/tst-mktime2.c (time_t_max): Removed.
1194         (time_t_min): Likewise.
1195         (TYPE_SIGNED): New.
1196         (TYPE_MINIMUM): Likewise.
1197         (TYPE_MAXIMUM): Likewise.
1198         (TIME_T_MIN): Likewise.
1199         (TIME_T_MAX): Likewise.
1200         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1201         and TIME_T_MIN.
1202         (do_test): Likewise.
1204 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1206         [BZ #19467]
1207         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1208         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1210 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1212         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1214 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1216         * benchtests/Makefile (PYTHON): Define.
1217         (bench-func): Use $(PYTHON) to run python scripts.
1218         ($(objpfx)bench-%.c): Likewise.
1220 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1222         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1223         leading slash when `file_name' is "/".
1225 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1227         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1228         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1229         Likewise.
1230         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1231         Likewise.
1232         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1233         Likewise.
1234         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1235         enum constant and macro.
1236         (PTRACE_SETSIGMASK): Likewise.
1237         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1238         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1239         (PTRACE_GETSIGMASK): Likewise.
1240         (PTRACE_SETSIGMASK): Likewise.
1241         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1242         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1243         Likewise.
1244         (PTRACE_SETSIGMASK): Likewise.
1245         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1246         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1247         (PTRACE_GETSIGMASK): Likewise.
1248         (PTRACE_SETSIGMASK): Likewise.
1249         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1251         Likewise.
1252         (PTRACE_SETSIGMASK): Likewise.
1253         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1254         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1255         Likewise.
1256         (PTRACE_SETSIGMASK): Likewise.
1257         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1258         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1259         Likewise.
1260         (PTRACE_SETSIGMASK): Likewise.
1261         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1263 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1264             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1266         [BZ #19439]
1267         * math/bits/mathcalls.h
1268         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1269         prototype.
1270         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1272 2016-01-11  Andreas Schwab  <schwab@suse.de>
1274         [BZ #19253]
1275         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1276         cache when TZDEFRULES was used.
1277         * time/tst-tzname.c: New file.
1278         * time/Makefile (test): Add tst-tzname.
1279         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1280         * timezone/Makefile (test-zones): Add $(posixrules-file).
1281         ($(testdata)/$(posixrules-file)): New rule.
1283 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1285         Fix doc quoting problems with Texinfo 5
1286         Without this change, in the info file output, Texinfo 5 quotes code
1287         in text with undirected single quotes 'like this' and generates
1288         code examples that with many PDF readers cannot be cut out of PDFs
1289         and pasted into code.
1290         * manual/libc.texinfo: Configure the libc manual like the GNU
1291         Emacs manual, by using @documentencoding and setting
1292         txicodequoteundirected and txicodequotebacktick.  This way,
1293         Texinfo 5 quotes code in text with directed single quotes ‘like
1294         this’ and produces examples that can be cut out of PDFs.  This
1295         change causes Texinfo 5 to generate info files that contain UTF-8
1296         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1297         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1299 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1301         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1302         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1303         barriers to their respective compiler built-ins.
1304         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1305         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1306         * sysdeps/powerpc/sysdep.h: Likewise.
1307         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1308         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1309         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1311 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1313         * scripts/config.guess: Revert previous shebang change.
1314         * scripts/config.sub: Likewise.
1315         * scripts/mkinstalldirs: Likewise.
1317 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1319         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1320         PPC_FEATURE2_HAS_IEEE128.
1321         * sysdeps/powerpc/dl-procinfo.c:
1322         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1324 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1326         [BZ #19415]
1327         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1328         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1329         (_dl_lookup_address): Rewrite using function resolver trampoline.
1330         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1331         two bits in address.
1333 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1335         * longlong.h: Change !__SHMEDIA__ to
1336         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1337         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1339 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1340             Joseph Myers  <joseph@codesourcery.com>
1341             Mark Shinwell  <shinwell@codesourcery.com>
1342             Andrew Stubbs  <ams@codesourcery.com>
1343             Rich Felker <dalias@libc.org>
1345         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1347 2016-01-07  Richard Henderson  <rth@redhat.com>
1349         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1351 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1353         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1354         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1355         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1356         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1357         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1359 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1360             Joseph Myers  <joseph@codesourcery.com>
1362         * timezone/private.h: Update from tzcode 2015g.
1363         * timezone/tzfile.h: Likewise.
1364         * timezone/tzselect.ksh: Likewise.
1365         * timezone/zdump.c: Likewise.
1366         * timezone/zic.c: Likewise.
1367         * timezone/ialloc.c: Remove file.
1368         * timezone/scheck.c: Likewise.
1369         * timezone/Makefile (extra-objs): Remove variable.
1370         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1371         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1372         -Wno-maybe-uninitialized.
1373         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1374         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1375         (CFLAGS-ialloc.c): Remove variable.
1376         (CFLAGS-scheck.c): Likewise.
1377         * timezone/README: Update list of files from tzcode.
1379 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1381         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1382         instead of __fxprintf when _LIBC is undefined.
1384 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1386         * catgets/test-gencat.sh: Remove space after shebang.
1387         * conform/GlibcConform.pm: Likewise.
1388         * conform/check-header-lists.sh: Likewise.
1389         * conform/conformtest.pl: Likewise.
1390         * conform/linknamespace.pl: Likewise.
1391         * conform/list-header-symbols.pl: Likewise.
1392         * debug/catchsegv.sh: Likewise.
1393         * elf/genrtldtbl.awk: Likewise.
1394         * elf/tst-pathopt.sh: Likewise.
1395         * elf/tst-rtld-load-self.sh: Likewise.
1396         * grp/tst_fgetgrent.sh: Likewise.
1397         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1398         * iconvdata/gen-8bit-gap.sh: Likewise.
1399         * iconvdata/gen-8bit.sh: Likewise.
1400         * iconvdata/run-iconv-test.sh: Likewise.
1401         * intl/tst-gettext.sh: Likewise.
1402         * intl/tst-gettext2.sh: Likewise.
1403         * intl/tst-gettext4.sh: Likewise.
1404         * intl/tst-gettext6.sh: Likewise.
1405         * intl/tst-translit.sh: Likewise.
1406         * io/ftwtest-sh: Likewise.
1407         * libio/test-freopen.sh: Likewise.
1408         * locale/gen-translit.pl: Likewise.
1409         * malloc/tst-mtrace.sh: Likewise.
1410         * manual/check-safety.sh: Likewise.
1411         * manual/libc-texinfo.sh: Likewise.
1412         * manual/tsort.awk: Likewise.
1413         * manual/xtract-typefun.awk: Likewise.
1414         * nptl/tst-cancel-wrappers.sh: Likewise.
1415         * nptl/tst-tls6.sh: Likewise.
1416         * posix/globtest.sh: Likewise.
1417         * posix/tst-getconf.sh: Likewise.
1418         * posix/wordexp-tst.sh: Likewise.
1419         * scripts/check-c++-types.sh: Likewise.
1420         * scripts/check-local-headers.sh: Likewise.
1421         * scripts/config.guess: Likewise.
1422         * scripts/config.sub: Likewise.
1423         * scripts/cpp: Likewise.
1424         * scripts/cross-test-ssh.sh: Likewise.
1425         * scripts/documented.sh: Likewise.
1426         * scripts/evaluate-test.sh: Likewise.
1427         * scripts/gen-libc-abis: Likewise.
1428         * scripts/gen-sorted.awk: Likewise.
1429         * scripts/list-fixed-bugs.py: Likewise.
1430         * scripts/merge-test-results.sh: Likewise.
1431         * scripts/mkinstalldirs: Likewise.
1432         * scripts/rellns-sh: Likewise.
1433         * scripts/test-installation.pl: Likewise.
1434         * scripts/update-copyrights: Likewise.
1435         * stdio-common/tst-printf.sh: Likewise.
1436         * stdio-common/tst-unbputc.sh: Likewise.
1437         * stdlib/tst-fmtmsg.sh: Likewise.
1438         * stdlib/tst-setcontext3.sh: Likewise.
1439         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1440         * sysdeps/unix/make-syscalls.sh: Likewise.
1442 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1444         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1445         asm stw with atomic_exchange_rel.  Add explanatory comment.
1446         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1447         Likewise.
1449 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1451         [BZ #19122]
1452         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1453         * sysdeps/generic/dl-unistd.h: New file.
1454         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1456 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1458          [BZ #19122]
1459          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1460          * sysdeps/generic/dl-mman.h: New file.
1461          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1463 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1465         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1466         trailing whitespace removed.
1467         * scripts/config.guess: Update to version 2016-01-01.
1468         * scripts/config.sub: Update to version 2016-01-01.
1469         * scripts/move-if-change: Update from gnulib.
1471 2016-01-04  Anton Blanchard  <anton@samba.org>
1473         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1474         for array indices.
1475         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1477 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1479         * NEWS: Update copyright dates.
1480         * catgets/gencat.c (print_version): Likewise.
1481         * csu/version.c (banner): Likewise.
1482         * debug/catchsegv.sh: Likewise.
1483         * debug/pcprofiledump.c (print_version): Likewise.
1484         * debug/xtrace.sh (do_version): Likewise.
1485         * elf/ldconfig.c (print_version): Likewise.
1486         * elf/ldd.bash.in: Likewise.
1487         * elf/pldd.c (print_version): Likewise.
1488         * elf/sotruss.sh: Likewise.
1489         * elf/sprof.c (print_version): Likewise.
1490         * iconv/iconv_prog.c (print_version): Likewise.
1491         * iconv/iconvconfig.c (print_version): Likewise.
1492         * locale/programs/locale.c (print_version): Likewise.
1493         * locale/programs/localedef.c (print_version): Likewise.
1494         * login/programs/pt_chown.c (print_version): Likewise.
1495         * malloc/memusage.sh (do_version): Likewise.
1496         * malloc/memusagestat.c (print_version): Likewise.
1497         * malloc/mtrace.pl: Likewise.
1498         * manual/libc.texinfo: Likewise.
1499         * nptl/version.c (banner): Likewise.
1500         * nscd/nscd.c (print_version): Likewise.
1501         * nss/getent.c (print_version): Likewise.
1502         * nss/makedb.c (print_version): Likewise.
1503         * posix/getconf.c (main): Likewise.
1504         * scripts/test-installation.pl: Likewise.
1505         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1507         * All files with FSF copyright notices: Update copyright dates
1508         using scripts/update-copyrights.
1509         * intl/plural.c: Regenerated.
1510         * locale/programs/charmap-kw.h: Likewise.
1511         * locale/programs/locfile-kw.h: Likewise.
1513 2016-01-02  Helge Deller  <deller@gmx.de>
1515         [BZ #19285]
1516         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1517         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1518         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1519         (MADV_xxK_PAGES): Remove.
1521 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1523         [BZ #15421]
1524         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1525         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1526         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1527         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1529 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1531         [BZ #19408]
1532         * sysdeps/unix/sysv/linux/personality.c: New file.
1533         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1534         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1535         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1536         (sysdep_routines): Add personality.
1537         (tests): Add tst-personality.
1538         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1539         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1540         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1541         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1542         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1543         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1544         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1545         Likewise.
1546         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1547         Likewise.
1548         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1549         Likewise.
1550         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1551         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1552         Likewise.
1554 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1556         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1557         (PATH_ARM_SYSTYPE): Remove.
1558         (PATH_CPUINFO): Likewise.
1559         (IO_BASE_FOOTBRIDGE): Likewise.
1560         (IO_SHIFT_FOOTBRIDGE): Likewise.
1561         (struct platform): Likewise.
1562         (init_iosys): Remove compatibility code for 2.4 kernels.
1563         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1565 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1567         * malloc/tst-malloc-thread-fail.c: New file.
1568         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1569         (tst-malloc-thread-fail): Link against libpthread.
1571 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1573         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1574         (get_parser): New function.
1575         (main): New function.
1577 2015-12-29  Rob Wu  <rob@robwu.nl>
1579         [BZ #19369]
1580         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1582 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1584         [BZ #19270]
1585         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1587 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1589         [BZ #15421]
1590         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1592 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1594         [BZ #13690]
1595         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1596         after releasing it.
1597         (__lll_robust_unlock): Likewise.
1598         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1599         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1600         (lll_robust_unlock): Likewise.
1601         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1602         Prevent warnings in callers.
1604 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1606         * malloc/arena.c (list_lock): Update comment.
1608 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1610         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1611         __parse_hwcap_and_convert_at_platform to libc.a.
1613 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1615         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1616         platform and feature support for POWER9.
1617         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1618         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1619         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1620         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1621         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1622         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1623         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1624         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1626 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1628         Harmonize generic stdio-lock support with nptl
1630         This fixes build when _IO_funlockfile is a macro, fixes build where
1631         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1632         stack unwind.
1634         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1635         _IO_release_lock ): Use cleanup attribute on new
1636         _IO_acquire_lock_file variable instead of assuming that
1637         _IO_release_lock will be called.
1638         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1639         _IO_acquire_lock_needs_exceptions_enabled.
1640         (_IO_acquire_lock_clear_flags2): New macro.
1642 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1644         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1646 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1648         [BZ #19182]
1649         * malloc/arena.c (list_lock): Document lock ordering requirements.
1650         (free_list_lock): New lock.
1651         (ptmalloc_lock_all): Comment on free_list_lock.
1652         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1653         (detach_arena): Update comment.  free_list_lock is now needed.
1654         (_int_new_arena): Use free_list_lock around detach_arena call.
1655         Acquire arena lock after list_lock.  Add comment, including FIXME
1656         about incorrect synchronization.
1657         (get_free_list): Switch to free_list_lock.
1658         (reused_arena): Acquire free_list_lock around detach_arena call
1659         and attached threads counter update.  Add two FIXMEs about
1660         incorrect synchronization.
1661         (arena_thread_freeres): Switch to free_list_lock.
1662         * malloc/malloc.c (struct malloc_state): Update comments to
1663         mention free_list_lock.
1665 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1667         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1668         Remove functions.
1669         (sloww, sloww1): Accept argument to offset quadrant.
1670         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1671         quadrant.
1672         (__sin, __cos): Consolidate common code into new functions.
1673         (reduce_sincos_1, do_sincos_1): New functions.
1674         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1677         code to new functions.
1678         (reduce_sincos_2, do_sincos_2): New functions.
1679         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1682         common code for sincos.
1683         (__cos) [!IN_SINCOS]: Likewise.
1684         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1685         New function.
1686         (__sincos): Use it.
1688 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1690         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1691         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1692         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1694 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1696         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1699         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1700         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1701         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1702         index_Prefer_No_VZEROUPPER): New feature.
1703         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1704         Prefer_No_VZEROUPPER for Knights Landing.
1706 015-12-18  Torvald Riegel  <triegel@redhat.com>
1708         * math/atest-exp2.c (mp_exp_m1): Remove.
1710 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1712         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1713         syscalls.
1714         (__SYSCALL0): New macro.
1715         (__SYSCALL1): Likewise.
1716         (__SYSCALL2): Likewise.
1717         (__SYSCALL3): Likewise.
1718         (__SYSCALL4): Likewise.
1719         (__SYSCALL5): Likewise.
1720         (__SYSCALL6): Likewise.
1721         (__SYSCALL_CONCAT_X): Likewise.
1722         (__SYSCALL_CONCAT): Likewise.
1723         (__SYSCALL_DIST): Likewise.
1724         (__SYSCALL_CALL): Likewise.
1726 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1728         [BZ #19363]
1729         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1731 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1733         [BZ #19375]
1734         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1735         negative subnormals.
1737 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1740         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1741         (INTERNAL_SYSCALL_NCS): Use it.
1742         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1744 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1746         [BZ #19243]
1747         * malloc/arena.c (get_free_list): Remove assert and adjust
1748         reference count handling.  Add comment about reused_arena
1749         interaction.
1750         (reused_arena): Add comments abount get_free_list interaction.
1751         * malloc/tst-malloc-thread-exit.c: New file.
1752         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1753         (tst-malloc-thread-exit): Link against libpthread.
1755 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1757         [BZ #19367]
1758         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1759         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1760         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1761         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1762         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1764 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1766         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1767         Silvermont optimizations for Knights Landing.
1769 2015-12-15  Andreas Schwab  <schwab@suse.de>
1771         [BZ #17197]
1772         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1773         immediately after emitting SI.
1774         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1775         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1776         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1777         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1778         * iconvdata/bug-iconv10.c: New file.
1779         * iconvdata/Makefile (tests): Add bug-iconv10.
1780         ($(objpfx)bug-iconv10.out): New rule.
1782 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1784         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1785         aliasing violation.
1787 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1789         [BZ #18472]
1790         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1791         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1792         conditionals for them.
1793         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1794         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1796         sys/kdaemon.h.
1797         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1798         compat-only syscall, obsoleted in glibc 2.23.
1799         (create_module): Likewise.
1800         (get_kernel_syms): Likewise.
1801         (query_module): Likewise.
1802         (uselib): Likewise.
1803         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1805 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1807         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1808         <linux/version.h>.
1809         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1810         conditional code.
1811         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1812         and ioshift_name initialization.
1814 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1816         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1817         Fix indentation.
1819 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1821         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1823 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1825         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1827 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1828             Jakub Wilk  <jwilk@debian.org>
1830         [BZ #19347]
1831         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1832         to change the group of the device to the tty group.
1834 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1836         Split large string section; add truncation advice
1837         * manual/examples/strncat.c: Remove.
1838         This example was misleading, as the code would have undefined
1839         behavior if "hello" was longer than SIZE.  Anyway, the manual
1840         shouldn't encourage strncpy+strncat for this sort of thing.
1841         * manual/string.texi (Copying Strings and Arrays): Split into
1842         three sections Copying Strings and Arrays, Concatenating Strings,
1843         and Truncating Strings, as this section was way too long.  All
1844         cross-referenced changed.  Add advice about string-truncation
1845         functions.  Remove misleading strncat example.
1847 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1849         * manual/nss.texi (NSS Modules Interface): Document
1850         NSS_STATUS_NOTFOUND and SUCCESS.
1852 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1854         [BZ 18568]
1855         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1856         201505L, for Unicode 8.
1858 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1860         * locale/C-translit.h: Regenerate.
1862 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1864         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1865         and U+0153.
1867 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1869         [BZ #19351]
1870         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1871         expanding log(1+z), compare z rather than its square with epsilon
1872         to determine when to avoid evaluating the expansion.
1874         [BZ #19350]
1875         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1876         Increase overflow threshold.
1878         [BZ #19349]
1879         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1880         when small.
1882         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1883         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1884         New macro.
1885         [__LINUX_KERNEL_VERSION >= 0x040300]
1886         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1887         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1888         Likewise.
1889         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1890         Likewise.
1891         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1892         Likewise.
1893         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1894         Likewise.
1895         [__LINUX_KERNEL_VERSION >= 0x040300]
1896         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1897         [__LINUX_KERNEL_VERSION >= 0x040300]
1898         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1899         [__LINUX_KERNEL_VERSION >= 0x040300]
1900         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1901         [__LINUX_KERNEL_VERSION >= 0x040300]
1902         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1903         [__LINUX_KERNEL_VERSION >= 0x040300]
1904         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1905         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1906         Likewise.
1907         [__LINUX_KERNEL_VERSION >= 0x040300]
1908         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1909         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1910         Likewise.
1911         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1912         Likewise.
1913         [__LINUX_KERNEL_VERSION >= 0x040300]
1914         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1915         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1916         Likewise.
1917         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1918         Likewise.
1919         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1921         Likewise.
1922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1923         Likewise.
1924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1925         Likewise.
1926         [__LINUX_KERNEL_VERSION >= 0x040300]
1927         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1929         Likewise.
1930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1931         Likewise.
1932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1933         Likewise.
1934         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1935         Likewise.
1936         [__LINUX_KERNEL_VERSION >= 0x040300]
1937         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1938         [__LINUX_KERNEL_VERSION >= 0x040300]
1939         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1940         [__LINUX_KERNEL_VERSION >= 0x040300]
1941         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1942         [__LINUX_KERNEL_VERSION >= 0x040300]
1943         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1944         [__LINUX_KERNEL_VERSION >= 0x040300]
1945         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1946         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1947         Likewise.
1948         [__LINUX_KERNEL_VERSION >= 0x040300]
1949         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1950         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1951         Likewise.
1952         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1953         Likewise.
1954         [__LINUX_KERNEL_VERSION >= 0x040300]
1955         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1956         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1957         Likewise.
1958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1959         Likewise.
1960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1961         (__ASSUME_SOCKET_SYSCALL): Likewise.
1962         (__ASSUME_BIND_SYSCALL): Likewise.
1963         (__ASSUME_CONNECT_SYSCALL): Likewise.
1964         (__ASSUME_LISTEN_SYSCALL): Likewise.
1965         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1966         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1967         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1968         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1969         (__ASSUME_SEND_SYSCALL): Likewise.
1970         (__ASSUME_SENDTO_SYSCALL): Likewise.
1971         (__ASSUME_RECV_SYSCALL): Likewise.
1972         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1973         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1974         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1975         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1976         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1977         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1978         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1979         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1980         Likewise.
1981         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1982         Likewise.
1983         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1984         Likewise.
1985         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1986         Likewise.
1987         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1988         Likewise.
1989         [__LINUX_KERNEL_VERSION >= 0x020625]
1990         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1991         [__LINUX_KERNEL_VERSION >= 0x020625]
1992         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1993         [__LINUX_KERNEL_VERSION >= 0x020625]
1994         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1995         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1996         Likewise.
1997         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1998         Likewise.
1999         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2000         Likewise.
2001         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2002         Likewise.
2003         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2004         Likewise.
2005         [__LINUX_KERNEL_VERSION >= 0x020625]
2006         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2007         [__LINUX_KERNEL_VERSION >= 0x020625]
2008         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2009         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2010         Likewise.
2011         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2012         Likewise.
2014 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2016         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2017         record the current if the current ABI and CPU support the FP64
2018         extension.
2019         (has-modd-spreg): Define to record the current if the current ABI and
2020         CPU support 32-bit floating point values in odd FPU registers.
2021         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2022         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2023         $(has-modd-spreg) equals yes.
2024         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2025         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2026         $(has-modd-spreg) equal yes.
2028 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2030         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2031         basename.
2033 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2035         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2036         (bench-string): ... here.
2037         (bench): Add bench-string.
2038         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2039         to *-benchset to reflect what they are.
2040         (benchset): Adjust.
2042         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2043         cos-inputs.
2045 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2047         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2048         __attribute__ ((__simd__)) for vector math function declarations.
2050 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2052         Fix typo in strncat, wcsncat manual entries
2053         * manual/string.texi (Copying and Concatenation): Fix typos in
2054         sample implementations of strncat and wcsncat, by having them use
2055         the old value of the destination length, not the new one.
2057 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2059         [BZ #16961]
2060         [BZ #16962]
2061         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2062         string on the stack for strtod.
2063         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2064         a string on the stack for strtof.
2065         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2066         constructing a string on the stack for strtold.
2067         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2068         __strtold_nan to GLIBC_PRIVATE.
2069         * math/test-nan-overflow.c: New file.
2070         * math/test-nan-payload.c: Likewise.
2071         * math/Makefile (tests): Add test-nan-overflow and
2072         test-nan-payload.
2074 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2076         Consistency about byte vs character in string.texi
2077         * manual/string.texi (String and Array Utilities):
2078         Distinguish more carefully among bytes, multibyte characters,
2079         and wide characters.  Use "byte" when talking about C 'char',
2080         to distinguish it more clearly from multibyte characters.
2081         Say "wide character" or "multibyte character" instead of
2082         "character", when a wide or multibyte character is intended.
2083         Similarly for "multibyte string" versus "string".
2084         Define these terms more carefully.
2086 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2088         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2089         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2090         Likewise.
2091         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2092         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2093         * sysdeps/sh/math_private.h: New file.
2094         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2095         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2096         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2097         long double function name.
2098         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2099         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2100         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2101         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2104         Remove __finitel, __isinfl, and __isnanl.
2105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2106         Likewise.
2107         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2109         Remove __finitel.
2110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2111         Likewise.
2112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2114 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2116         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2117         installed libmvec_nonshared.a.
2119 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2121         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2122         (sysdep_routines): Likewise.
2123         (sysdep-rtld-routines): Likewise.
2124         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2125         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2126         * sysdeps/powerpc/Versions: Added new
2127         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2128         * sysdeps/powerpc/hwcapinfo.c: New file.
2129         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2130         and parse hwcap, hwcap2 and platform number information.
2131         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2132         to store HWCAP+HWCAP2 and platform number.
2133         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2134         for HWCAP+HWCAP2 and platform number in the TCB.
2135         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2136         the HWCAP, HWCAP2 and platform number in the TCB.
2137         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2138         (TLS_INIT_TP): Included calls to add the hwcap and
2139         at_platform values in the TCB in TP initialization.
2140         (TLS_DEFINE_INIT_TP): Likewise.
2141         (THREAD_GET_HWCAP): New macro.
2142         (THREAD_SET_HWCAP): Likewise.
2143         (THREAD_GET_AT_PLATFORM): Likewise.
2144         (THREAD_SET_AT_PLATFORM): Likewise.
2145         * sysdeps/powerpc/powerpc32/dl-machine.h:
2146         (dl_platform_init): New function that calls
2147         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2148         powerpc32.
2149         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2150         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2151         this functionality, static linking case.
2152         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2153         linking case.
2154         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2155         __parse_hwcap_and_convert_at_platform for the static linking case.
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2157         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2158         ABI list for GLIBC 2.23.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2160         Likewise.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2162         Likewise.
2164 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2166         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2167         * configure: Regenerate.
2168         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2169         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2171 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2173         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2174         * iconvdata/ibm933.c: Likewise.
2175         * iconvdata/ibm935.c: Likewise.
2176         * iconvdata/ibm937.c: Likewise.
2177         * iconvdata/ibm939.c: Likewise.
2179 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2181         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2182         pthread_join.
2183         * nptl/tst-cancel21.c (tf): Likewise.
2185 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2187         [BZ #19313]
2188         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2189         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2190         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2191         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2192         Likewise.
2193         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2194         Likewise.
2195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2196         Likewise.
2197         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2198         Likewise.
2199         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2200         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2201         unsigned long int with __CPU_MASK_TYPE.
2203 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2205         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2207 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2209         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2210         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2211         t512.x.
2212         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2214 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2216         [BZ #19214]
2217         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2218         argument to return extended model.  Update family and model
2219         with extended family and model when family == 0x0f.
2220         (init_cpu_features): Updated.
2222 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2224         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2225         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2227         * sysdeps/mach/hurd/mmap64.c: New file.
2229 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2231         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2232         rights for its main user thread in NEWTASK.
2234 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2236         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2237         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2239 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2241         [BZ #14259]
2242         * Makeconfig: Rename localedir to complocaledir.
2243         Rename inst_localedir to inst_complocaledir.
2244         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2245         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2246         * configure.ac: Use libc_cv_complocaledir.
2247         * configure: Regenerate.
2248         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2249         -DCOMPLOCALEDIR.
2250         * locale/findlocale.c: Use COMPLOCALEDIR.
2251         * locale/loadarchive.c: Likewise.
2252         * locale/programs/locale.c: Likewise.
2253         * locale/programs/localedef.c: Likewise.
2254         * locale/programs/locarchive.c: Likewise.
2255         * localedata/Makefile: Use inst_complocaledir.
2256         * sysdeps/gnu/configure: Regenerate.
2257         * sysdeps/hppa/configure: Regenerate.
2258         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2259         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2262         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2263         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2264         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2266 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2268         [BZ #19058]
2269         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2270         AS_NEEDED.
2271         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2272         workaround.
2273         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2274         libmvec-static-only-routines): Added new file.
2275         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2277 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2279         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2280         of interrupted RPC instead of restoring it.
2282         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2283         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2284         libc_hidden_def.
2285         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2286         into initialized data instead of common. Define rtld_hidden_data_def.
2287         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2288         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2289         libc_hidden_def.
2290         (if_freenameindex): Add libc_hidden_weak.
2291         (if_nameindex): Add libc_hidden_weak.
2292         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2293         __open64.
2294         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2295         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2296         * sysdeps/mach/nanosleep.c: Include <time.h>
2297         (__nanosleep): Rename to __libc_nanosleep.
2298         (__nanosleep): Add weak_alias.
2299         (nanosleep): Update alias.
2301 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2303         * stdlib/strtod_nan.c: New file.
2304         * stdlib/strtod_nan_double.h: Likewise.
2305         * stdlib/strtod_nan_float.h: Likewise.
2306         * stdlib/strtod_nan_main.c: Likewise.
2307         * stdlib/strtod_nan_narrow.h: Likewise.
2308         * stdlib/strtod_nan_wide.h: Likewise.
2309         * stdlib/strtof_nan.c: Likewise.
2310         * stdlib/strtold_nan.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2312         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2313         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2314         * wcsmbs/wcstod_nan.c: Likewise.
2315         * wcsmbs/wcstof_nan.c: Likewise.
2316         * wcsmbs/wcstold_nan.c: Likewise.
2317         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2318         strtold_nan.
2319         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2320         wcstof_nan.
2321         * include/stdlib.h (__strtof_nan): Declare and use
2322         libc_hidden_proto.
2323         (__strtod_nan): Likewise.
2324         (__strtold_nan): Likewise.
2325         (__wcstof_nan): Likewise.
2326         (__wcstod_nan): Likewise.
2327         (__wcstold_nan): Likewise.
2328         * include/wchar.h (____wcstoull_l_internal): Declare.
2329         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2330         (____strtoull_l_internal): Remove declaration.
2331         (STRTOF_NAN): Define macro.
2332         (SET_MANTISSA): Remove macro.
2333         (STRTOULL): Likewise.
2334         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2335         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2336         (STRTOF_NAN): Define macro.
2337         (SET_MANTISSA): Remove macro.
2338         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2339         (SET_MANTISSA): Remove macro.
2340         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2341         macro.
2342         (SET_MANTISSA): Remove macro.
2343         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2344         macro.
2345         (SET_MANTISSA): Remove macro.
2346         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2347         (SET_MANTISSA): Remove macro.
2348         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2349         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2350         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2352         [BZ #19266]
2353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2354         upper case and lower case letters inside NAN(), not using TOLOWER.
2355         * stdlib/tst-strtod-nan-locale-main.c: New file.
2356         * stdlib/tst-strtod-nan-locale.c: Likewise.
2357         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2358         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2359         Depend on $(gen-locales).
2360         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2361         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2362         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2363         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2364         Depend on $(gen-locales).
2365         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2367 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2369         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2371         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2373         __finitel, __isinfl, and __isnanl.
2374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2375         Likewise.
2376         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2378         __finitel.
2379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2380         Likewise.
2381         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2383 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2385         * malloc/memusage.c (me): Remove redundant getenv call.
2387 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2389         [BZ #19143]
2390         [BZ #19164]
2391         * nptl/check-cpuset.h: Remove.
2392         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2393         Remove CPU set size check.
2394         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2395         Likewise.
2396         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2397         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2398         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2399         (__pthread_setaffinity_new): Remove CPU set size check.
2400         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2401         (__kernel_cpumask_size): Remove.
2402         (__sched_setaffinity_new): Remove CPU set size check.
2403         * manual/threads.texi (Default Thread Attributes): Remove stale
2404         reference to check_cpuset_attr, determine_cpumask_size in comment.
2405         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2406         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2407         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2408         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2409         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2410         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2411         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2412         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2413         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2414         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2415         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2416         skeleton test file.
2417         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2418         tst-affinity-pid.
2420 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2422         * scripts/update-abilist.sh: New file.
2423         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2424         * Makerules (update-all-abi-%, update-all-abi)
2425         (subdir_update-all-abi): New targets.
2426         * elf/Makefile (update-all-abi): New target.
2428 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2430         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2431         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2432         (__libc_lock_define_initialized): Use it.
2433         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2434         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2435         * malloc/malloc.c (main_arena): Likewise.
2436         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2437         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2439 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2441         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2442         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2443         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2444         (PTRACE_O_MASK): Update value.
2445         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2446         New value in enum __ptrace_setoptions.
2447         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2448         (PTRACE_O_MASK): Update value.
2449         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2450         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2451         (PTRACE_O_MASK): Update value.
2452         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2453         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2454         (PTRACE_O_MASK): Update value.
2455         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2456         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2457         (PTRACE_O_MASK): Update value.
2458         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2459         New value in enum __ptrace_setoptions.
2460         (PTRACE_O_MASK): Update value.
2461         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2462         New value in enum __ptrace_setoptions.
2463         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2464         (PTRACE_O_MASK): Update value.
2466         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2467         New macro.
2468         (PACKET_AUXDATA): Likewise.
2469         (PACKET_ORIGDEV): Likewise.
2470         (PACKET_VERSION): Likewise.
2471         (PACKET_HDRLEN): Likewise.
2472         (PACKET_RESERVE): Likewise.
2473         (PACKET_TX_RING): Likewise.
2474         (PACKET_LOSS): Likewise.
2475         (PACKET_VNET_HDR): Likewise.
2476         (PACKET_TX_TIMESTAMP): Likewise.
2477         (PACKET_TIMESTAMP): Likewise.
2478         (PACKET_FANOUT): Likewise.
2479         (PACKET_TX_HAS_OFF): Likewise.
2480         (PACKET_QDISC_BYPASS): Likewise.
2481         (PACKET_ROLLOVER_STATS): Likewise.
2482         (PACKET_FANOUT_DATA): Likewise.
2483         (PACKET_MR_UNICAST): Likewise.
2485         [BZ #19242]
2486         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2487         (TOUPPER): Likewise.
2488         * stdlib/tst-strtol-locale-main.c: New file.
2489         * stdlib/tst-strtol-locale.c: Likewise.
2490         * stdlib/Makefile (tests): Add tst-strtol-locale.
2491         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2492         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2493         Depend on $(gen-locales).
2494         * wcsmbs/tst-wcstol-locale.c: New file.
2495         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2496         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2497         tr_TR.ISO-8859-9.
2498         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2499         Depend on $(gen-locales).
2501 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2503         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2504         __glibc_likely instead of __builtin_expect.  After falling back to
2505         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2506         system interface to register the code pages as occupied.
2508 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2510         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2511         [!ARM_MATH_PRIVATE_H].
2512         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2513         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2514         [!HPPA_MATH_PRIVATE_H].
2515         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2516         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2517         to [!I386_MATH_PRIVATE_H].
2518         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2519         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2520         Change guard to [!M68K_MATH_PRIVATE_H].
2521         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2522         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2523         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2524         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2525         macro.
2526         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2527         [!MIPS_MATH_PRIVATE_H].
2528         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2529         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2530         [!NIO2_MATH_PRIVATE_H].
2531         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2532         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2533         [!TILE_MATH_PRIVATE_H].
2534         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2536         [BZ #15421]
2537         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2538         initialize with 0 and define as weak alias of __signgam.
2539         * include/math.h [!_ISOMAC] (__signgam): Declare.
2540         * math/Makefile (libm-calls): Add w_lgamma_compat.
2541         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2542         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2543         test-signgam-ullong-init.
2544         (tests-static): Add test-signgam-uchar-static,
2545         test-signgam-uchar-init-static, test-signgam-uint-static,
2546         test-signgam-uint-init-static, test-signgam-ullong-static and
2547         test-signgam-ullong-init-static.
2548         (CFLAGS-test-signgam-uchar.c): New variable.
2549         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2550         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2551         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2552         (CFLAGS-test-signgam-uint.c): Likewise.
2553         (CFLAGS-test-signgam-uint-init.c): Likewise.
2554         (CFLAGS-test-signgam-uint-static.c): Likewise.
2555         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2556         (CFLAGS-test-signgam-ullong.c): Likewise.
2557         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2558         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2559         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2560         * math/Versions (libm): Add GLIBC_2.23.
2561         * math/lgamma-compat.h: New file.
2562         * math/test-signgam-main.c: Likewise.
2563         * math/test-signgam-uchar-init-static.c: Likewise.
2564         * math/test-signgam-uchar-init.c: Likewise.
2565         * math/test-signgam-uchar-static.c: Likewise.
2566         * math/test-signgam-uchar.c: Likewise.
2567         * math/test-signgam-uint-init-static.c: Likewise.
2568         * math/test-signgam-uint-init.c: Likewise.
2569         * math/test-signgam-uint-static.c: Likewise.
2570         * math/test-signgam-uint.c: Likewise.
2571         * math/test-signgam-ullong-init-static.c: Likewise.
2572         * math/test-signgam-ullong-init.c: Likewise.
2573         * math/test-signgam-ullong-static.c: Likewise.
2574         * math/test-signgam-ullong.c: Likewise.
2575         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2576         wrapper of w_lgamma_main.c.
2577         * math/w_lgamma_compat.c: New file.
2578         * math/w_lgamma_compatf.c: Likewise.
2579         * math/w_lgamma_compatl.c: Likewise.
2580         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2581         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2582         defining compatibility symbols.
2583         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2584         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2585         wrapper of w_lgammaf_main.c.
2586         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2587         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2588         defining compatibility symbols.
2589         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2590         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2591         wrapper of w_lgammal_main.c.
2592         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2593         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2594         defining compatibility symbols.
2595         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2596         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2597         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2598         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2599         <lgamma-compat.h>.
2600         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2601         (__ieee754_gamma): Define as alias.
2602         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2603         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2604         <lgamma-compat.h>.
2605         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2606         (__ieee754_gammaf): Define as alias.
2607         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2608         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2609         <lgamma-compat.h>.
2610         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2611         (__ieee754_gammal): Define as alias.
2612         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2613         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2614         <math/w_lgamma_compat.c>.
2615         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2616         Define as alias of __lgamma_compat and use in defining lgammal.
2617         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2618         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2619         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2620         (USE_AS_COMPAT): New macro.
2621         (LGAMMA_OLD_VER): Undefine and redefine.
2622         (lgammal): Do not define here.
2623         (gammal): Only define here if [GAMMA_ALIAS].
2624         * conform/linknamespace.pl (@whitelist): Remove signgam.
2625         * sysdeps/nacl/libm.abilist: Update.
2626         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2628         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2629         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2630         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2631         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2636         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2639         Likewise.
2640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2641         Likewise.
2642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2643         Likewise.
2644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2645         Likewise.
2646         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2648         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2649         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2650         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2652         Likewise.
2653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2654         Likewise.
2655         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2656         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2657         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2659 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2661         [BZ #16364]
2662         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2663         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2665 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2667         * sysdeps/s390/fpu/bits/mathinline.h:
2668         Use __asm__ [__volatile__] instead of asm [volatile].
2669         * sysdeps/s390/abort-instr.h: Likewise.
2670         * sysdeps/s390/atomic-machine.h: Likewise.
2671         * sysdeps/s390/bits/string.h: Likewise.
2672         * sysdeps/s390/dl-tls.h: Likewise.
2673         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2674         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2675         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2676         * sysdeps/s390/fpu/fesetround.c: Likewise.
2677         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2678         * sysdeps/s390/fpu/s_fma.c: Likewise.
2679         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2680         * sysdeps/s390/memusage.h: Likewise.
2681         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2682         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2683         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2684         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2685         * sysdeps/s390/nptl/tls.h: Likewise.
2686         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2687         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2688         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2689         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2690         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2691         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2692         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2693         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2694         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2695         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2696         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2697         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2698         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2699         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2700         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2701         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2702         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2703         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2704         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2706         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2708         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2710 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2711             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2713         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2714         Add lwarx hint, and use macro for acquire instruction.
2715         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2716         Likewise.
2717         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2718         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2719         update to use new atomic macros.
2721 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2723         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2724         (__lll_trylock_elision): Fix setting of adapt_count.
2725         * sysdeps/unix/sysv/linux/powerpc/htm.h
2726         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2727         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2728         (_ABORT_SYSCALL): Renumber, and clarify definition.
2729         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2731 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2733         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2734         after system headers to prevent MIN/MAX redefinition.  Define
2735         HAVE_ALLOCA to preserve builtin alloca usage.
2737 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2740         static and don't set or restore rounding.
2741         (__cos)[IN_SINCOS]: Likewise.
2742         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2743         (__sincos): Set and restore rounding mode.  Remove check for infinite
2744         or NaN input.
2746         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2748         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2749         as used.
2751 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2753         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2755 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2757         * config.make.in (have-glob-dat-reloc): New.
2758         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2759         target supports GLOB_DAT relocaton. AC_SUBST.
2760         * configure: Regenerated.
2761         * elf/Makefile (tests): Add tst-prelink.
2762         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2763         (tst-prelink-ENV): New.
2764         ($(objpfx)tst-prelink-conflict.out): Likewise.
2765         ($(objpfx)tst-prelink-cmp.out): Likewise.
2766         * sysdeps/x86/tst-prelink.c: Moved to ...
2767         * elf/tst-prelink.c: Here.
2768         * sysdeps/x86/tst-prelink.exp: Moved to ...
2769         * elf/tst-prelink.exp: Here.
2770         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2771         (tst-prelink-ENV): Removed.
2772         ($(objpfx)tst-prelink-conflict.out): Likewise.
2773         ($(objpfx)tst-prelink-cmp.out): Likewise.
2774         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2776 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2778         [BZ #14551]
2779         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2780         (__mpn_construct_long_double): If high part overflows to infinity,
2781         set errno and recompute overflowed result of the correct sign.
2782         * sysdeps/ieee754/ldbl-128ibm/Makefile
2783         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2784         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2785         $(libm).
2786         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2788 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2790         [BZ #15479]
2791         [BZ #19238]
2792         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2793         floating-point state after first operation on input.  Restore full
2794         state rather than just rounding mode.
2795         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2796         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2797         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2799         [BZ #19235]
2800         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2801         add 0.5 to integer arguments.
2802         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2803         Likewise.
2804         (.LC2): New object.
2806 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2808         * scripts/pylintrc (reports): Set to no.
2810 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2812         * elf/dl-load.c (open_verify): Take new argument FD.
2813         Skip __open call if passed FD is not -1.
2814         (_dl_map_object, open_path): Update callers.
2815         * elf/dl-sysdep-open.h: New file.
2816         * elf/dl-load.c: Include it.
2817         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2818         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2819         * sysdeps/nacl/dl-sysdep-open.h: New file.
2820         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2821         from libc to rtld.
2823 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2825         [BZ #19228]
2826         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2827         and restore full floating-point state.
2828         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2829         Likewise.
2830         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2831         Likewise.
2832         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2833         Likewise.
2834         * math/test-nearbyint-except-2.c: New file.
2835         * math/Makefile (tests): Add test-nearbyint-except-2.
2837 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2839         [BZ #19178]
2840         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2841         (tst-prelink-ENV): New.
2842         ($(objpfx)tst-prelink-conflict.out): Likewise.
2843         ($(objpfx)tst-prelink-cmp.out): Likewise.
2844         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2845         * sysdeps/x86/tst-prelink.c: New file.
2846         * sysdeps/x86/tst-prelink.exp: Likewise.
2848 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2850         * math/auto-libm-test-in: Add another test of pow.
2851         * math/auto-libm-test-out: Regenerated.
2852         * math/libm-test.inc (pow_test_data): Add another test.
2854 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2856         [BZ #19219]
2857         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2858         weak_alias to nearbyintl.
2860 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2862         * sysdeps/aarch64/bits/string.h: New file.
2863         (_STRING_ARCH_unaligned): Define.
2865 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2867         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2868         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2869         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2870         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2873 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2875         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2876         for original name of the DSO.  Add it to the name list of the DSO
2877         if it is actually given.
2878         (_dl_map_object): Keep track of whether an audit module rewrote
2879         the file name.  If yes, pass the original name to
2880         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2881         debugging is enabled, log the change of the file name.
2882         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2883         _dl_map_object_from_fd.
2884         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2885         * elf/tst-audit11.c: New file
2886         * elf/tst-auditmod11.c: New file.
2887         * elf/tst-audit11mod1.c: New file.
2888         * elf/tst-audit11mod2.c: New file.
2889         * elf/tst-audit11mod2.map: New file.
2890         * elf/tst-audit12.c: New file
2891         * elf/tst-auditmod12.c: New file.
2892         * elf/tst-audit12mod1.c: New file.
2893         * elf/tst-audit12mod2.c: New file.
2894         * elf/tst-audit12mod2.map: New file.
2895         * elf/tst-audit12mod3.c: New file.
2897 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2899         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2900         Don't create weak aliases,
2901         because versioned symbols are created later.
2902         * sysdeps/s390/s390-32/setjmp.S
2903         (setjmp, _setjmp): Remove weak and rename to an unique name
2904         in SHARED case due to existing versioned symbols.
2905         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2906         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2907         (getcontext): Create weak alias only in non SHARED case.
2908         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2910 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2912         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2913         (__ASSUME_*_SYSCALL) Define new macros.
2914         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2915         Remove socketcall syscalls.
2916         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2917         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2918         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2919         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2920         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2921         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2923 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2925         [BZ #12926]
2926         Terminate process on invalid netlink response.
2927         * sysdeps/unix/sysv/linux/netlinkaccess.h
2928         (__netlink_assert_response): Declare.
2929         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2930         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2931         (sysdep_routines): Add netlink_assert_response.
2932         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2933         __netlink_assert_response.
2934         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2935         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2936         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2937         __netlink_assert_response.
2939 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2941         [BZ #19178]
2942         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2943         (RTYPE_CLASS_PLT): Likewise.
2944         (RTYPE_CLASS_COPY): Likewise.
2945         (RTYPE_CLASS_TLS): Likewise.
2946         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2947         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2948         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2949         DL_DEBUG_PRELINK.
2951 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2953         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2954         calls with argument -0.5.
2955         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2957         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2958         (libc_cv_z_nodlopen): Likewise.
2959         (libc_cv_z_initfirst): Likewise.
2960         * configure: Regenerated.
2962 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2964         Simplify abilist format to be line-based.
2965         * scripts/abilist.awk: Collect descriptors in the descs variable.
2966         (emit): Write descs variable and sort it
2967         externally, with sort.
2968         * sysdeps/**/*.abilist: Convert to new format.
2970 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2972         [BZ #11460]
2973         * io/Makefile (routines): Add fts64.
2974         (tests): Add tst-fts and tst-fts-lfs.
2975         (CFLAGS-fts64.c): New.
2976         * io/Versions (GLIBC_2.23): New.
2977         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2978         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2979         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2980         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2981         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2982         (FTSENT64): Likewise.
2983         (fts64_children): Likewise.
2984         (fts64_close): Likewise.
2985         (fts64_open): Likewise.
2986         (fts64_read): Likewise.
2987         (fts64_set): Likewise.
2988         * io/fts64.c: New file.
2989         * io/tst-fts.c: New test.
2990         * io/tst-fts-lfs.c: Likewise.
2991         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2992         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2993         fts64_set.
2994         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2995         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2996         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2997         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2998         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2999         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3000         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3001         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3002         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3003         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3004         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3005         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3006         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3008         Likewise.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3010         Likewise.
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3013         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3014         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3015         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3016         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3017         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3020         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3021         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3022         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3023         * sysdeps/wordsize-64/fts.c: New file.
3024         * sysdeps/wordsize-64/fts64.c: Likewise.
3025         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3026         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3027         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3028         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3030 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3032         * math/libm-test.inc (NON_FINITE): New macro.
3033         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3034         * math/gen-libm-test.pl (show_exceptions): Add argument
3035         $non_finite.
3036         (parse_args): Update call to show_exceptions.
3037         * math/test-math-finite.h: New file.
3038         * math/test-math-no-finite.h: Likewise.
3039         * math/test-double-finite.c: Likewise.
3040         * math/test-float-finite.c: Likewise.
3041         * math/test-ldouble-finite.c: Likewise.
3042         * math/test-double.c: Include "test-math-no-finite.h".
3043         * math/test-float.c: Include "test-math-no-finite.h".
3044         * math/test-ldouble.c: Include "test-math-no-finite.h".
3045         * math/test-math-inline.h (TEST_FINITE): New macro.
3046         * math/test-math-vector.h (TEST_FINITE): Likewise.
3047         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3048         (libm-tests): Add test-float-finite and test-double-finite.
3049         ($(objpfx)test-float-finite.o): New dependency on
3050         $(objpfx)libm-test.stmp.
3051         ($(objpfx)test-double-finite.o): Likewise.
3052         ($(objpfx)test-ldouble-finite.o): Likewise.
3053         (libm-test-no-inline-cflags): New variable.
3054         (libm-test-finite-cflags): Likewise.
3055         (CFLAGS-test-float-finite.c): Likewise.
3056         (CFLAGS-test-double-finite.c): Likewise.
3057         (CFLAGS-test-ldouble-finite.c): Likewise.
3058         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3059         (CFLAGS-test-double.c): Likewise.
3060         (CFLAGS-test-ldouble.c): Likewise.
3062 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3064         * io/fcntl.c (__fcntl): Add ... to prototype.
3065         * misc/ioctl.c (__ioctl): Likewise.
3066         * misc/syscall.c (syscall): Likewise.
3068 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3070         * scripts/list-fixed-bugs.py: New file.
3072         [BZ #19213]
3073         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3074         returned for argument 1.
3075         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3076         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3077         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3078         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3079         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3080         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3082         [BZ #19211]
3083         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3084         __USE_XOPEN], not if [!__USE_ISOC99].
3085         (lgammaf): Likewise.
3086         (lgammal): Likewise.
3087         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3088         (gammaf): Likewise.
3089         (gammal): Likewise.
3090         * math/test-signgam-finite-c11.c: New file.
3091         * math/test-signgam-finite-c99.c: Likewise.
3092         * math/test-signgam-finite.c: Likewise.
3093         * math/Makefile (tests): Add test-signgam-finite,
3094         test-signgam-finite-c99 and test-signgam-finite-c11.
3095         (CFLAGS-test-signgam-finite.c): New variable.
3096         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3097         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3099         [BZ #19212]
3100         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3101         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3102         500].
3103         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3104         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3105         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3106         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3107         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3108         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3109         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3110         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3111         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3112         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3114         [BZ #19209]
3115         * math/bits/math-finite.h (ldexp): Remove declaration.
3116         (ldexpf): Likewise.
3117         (ldexpl): Likewise.
3119         [BZ #19205]
3120         * math/bits/math-finite.h (acosf): Condition declaration on
3121         [__USE_ISOC99].
3122         (acosl): Likewise.
3123         (acoshf): Likewise.
3124         (acoshl): Likewise.
3125         (asinf): Likewise.
3126         (asinl): Likewise.
3127         (atan2f): Likewise.
3128         (atan2l): Likewise.
3129         (atanhf): Likewise.
3130         (atanhl): Likewise.
3131         (coshf): Likewise.
3132         (coshl): Likewise.
3133         (expf): Likewise.
3134         (expl): Likewise.
3135         (fmodf): Likewise.
3136         (fmodl): Likewise.
3137         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3138         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3139         (j0l): Likewise.
3140         (y0f): Likewise.
3141         (y0l): Likewise.
3142         (j1f): Likewise.
3143         (j1l): Likewise.
3144         (y1f): Likewise.
3145         (y1l): Likewise.
3146         (jnf): Likewise.
3147         (jnl): Likewise.
3148         (ynf): Likewise.
3149         (ynl): Likewise.
3150         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3151         (lgammal_r): Likewise.
3152         (__lgamma_r_finite): New declaration.
3153         (__lgammaf_r_finite): Likewise.
3154         (__lgammal_r_finite): Likewise.
3155         (lgamma): Use __lgamma_r_finite.
3156         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3157         __lgammaf_r_finite.
3158         (lgammal): Condition definition on [__USE_ISOC99].  Use
3159         __lgammal_r_finite.
3160         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3161         __lgamma_r_finite.
3162         (gammaf): Condition definition on [__USE_ISOC99].  Use
3163         __lgammaf_r_finite.
3164         (gammal): Condition definition on [__USE_ISOC99].  Use
3165         __lgammal_r_finite.
3166         (logf): Condition declaration on [__USE_ISOC99].
3167         (logl): Likewise.
3168         (log10f): Likewise.
3169         (log10l): Likewise.
3170         (ldexpf): Likewise.
3171         (ldexpl): Likewise.
3172         (powf): Likewise.
3173         (powl): Likewise.
3174         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3175         __USE_ISOC99].
3176         (remainderf): Condition declaration on [__USE_ISOC99].
3177         (remainderl): Likewise.
3178         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3179         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3180         (scalbl): Likewise.
3181         (sinhf): Condition declaration on [__USE_ISOC99].
3182         (sinhl): Likewise.
3183         (sqrtf): Likewise.
3184         (sqrtl): Likewise.
3186 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3188         * sysdeps/arm/atomic-machine.h
3189         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3190         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3191         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3192         Remove conditional code.
3193         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3194         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3195         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3196         Change conditional to [__ASSEMBLER__].
3197         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3198         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3199         [!__ASSEMBLER__].
3200         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3201         code.
3202         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3203         conditional macro definitions.
3204         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3205         (__arch_compare_and_exchange_val_16_acq): Likewise.
3206         (__arch_compare_and_exchange_val_32_acq): Likewise.
3207         (atomic_exchange_and_add): Likewise.
3208         (atomic_add): Likewise.
3209         (atomic_add_negative): Likewise.
3210         (atomic_add_zero): Likewise.
3211         (atomic_bit_set): Likewise.
3212         (atomic_bit_test_set): Likewise.
3213         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3214         code unconditional.
3215         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3217         * math/test-math-errno.h: New file.
3218         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3219         empty.
3220         (TEST_ERRNO): New macro.
3221         (TEST_EXCEPTIONS): Likewise.
3222         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3223         (TEST_EXCEPTIONS): Likewise.
3224         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3225         * math/test-double.c: Include "test-math-errno.h".
3226         * math/test-float.c: Likewise.
3227         * math/test-ldouble.c: Likewise.
3228         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3229         code unconditional.
3230         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3231         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3232         unconditional.
3233         (test_errno): Only run code if TEST_ERRNO.
3234         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3236 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3238         * nptl/tst-once5.cc: Remove attribution.
3240 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3242         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3243         sqrt, tan, tanh, y0, y1 and yn.
3244         * math/auto-libm-test-out: Regenerated.
3245         * math/libm-test.inc (scalb_test_data): Add more tests.
3246         (scalbn_test_data): Likewise.
3247         (scalbln_test_data): Likewise.
3248         (signbit_test_data): Likewise.
3249         (sin_test_data): Likewise.
3250         (sincos_test_data): Likewise.
3251         (sinh_test_data): Likewise.
3252         (sqrt_test_data): Likewise.
3253         (tan_test_data): Likewise.
3254         (tanh_test_data): Likewise.
3255         (tgamma_test_data): Likewise.
3256         (y0_test_data): Likewise.
3257         (y1_test_data): Likewise.
3258         (yn_test_data): Likewise.
3259         (significand_test_data): Likewise.
3260         * sysdeps/i386/fpu/libm-test-ulps: Update.
3262 2015-11-03  David Kastrup  <dak@gnu.org>
3264         [BZ #18604]
3265         * assert/assert.h (assert): Don't macro-expand failed assertion
3266         expression in error message.
3267         * malloc/malloc.c (assert): Likewise.
3269 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3271         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3272         test.
3273         * configure: Regenerated.
3275 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3277         * math/libm-test.inc (modf_test_data): Add more tests.
3278         (nearbyint_test_data): Likewise.
3279         (nextafter_test_data): Likewise.
3280         (nexttoward_test_data): Likewise.
3281         (pow_test_data): Likewise.
3282         (remainder_test_data): Likewise.
3283         (remquo_test_data): Likewise.
3284         (rint_test_data): Likewise.
3286         [BZ #19201]
3287         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3288         Check for zero remainder in case of large exponents and ensure
3289         correct sign of result in that case.
3290         * math/libm-test.inc (remainder_test_data): Add more tests.
3292         [BZ #6799]
3293         * math/s_nextafter.c: Include <errno.h>.
3294         (__nextafter): Set errno on overflow and underflow.
3295         * math/s_nexttowardf.c: Include <errno.h>.
3296         (__nexttowardf): Set errno on overflow and underflow.
3297         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3298         (__nextafterl): Set errno on overflow and underflow.
3299         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3300         (__nexttoward): Set errno on overflow and underflow.
3301         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3302         (__nexttowardf): Set errno on overflow and underflow.
3303         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3304         (__nextafterf): Set errno on overflow and underflow.
3305         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3306         (__nextafterl): Set errno on overflow and underflow.
3307         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3308         (__nexttoward): Set errno on overflow and underflow.
3309         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3310         (__nexttowardf): Set errno on overflow and underflow.
3311         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3312         (__nextafterl): Set errno on overflow and underflow.
3313         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3314         (__nexttoward): Set errno on overflow and underflow.
3315         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3316         (__nexttowardf): Set errno on overflow and underflow.
3317         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3318         (__nexttoward): Set errno on overflow and underflow.
3319         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3320         (__nexttowardf): Set errno on overflow and underflow.
3321         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3322         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3323         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3324         (__nextafterl): Set errno on overflow and underflow.
3325         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3326         setting to be missing on overflow.  Add more tests.
3327         (nexttoward_test_data): Likewise.
3329         * configure.ac (libc_cv_initfini_array): Remove configure test.
3330         * configure: Regenerated.
3332 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3334         [BZ #19189]
3335         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3336         non-finite argument handle arguments with negative sign.
3338         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3339         result from infinite argument.
3340         (j1_test_data): Likewise.
3341         (jn_test_data): Likewise.
3342         (y0_test_data): Likewise.
3343         (y1_test_data): Likewise.
3344         (yn_test_data): Likewise.
3346         [BZ #16171]
3347         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3348         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3349         * math/w_remainderf.c (dremf): Define as weak alias of
3350         __remainderf.
3351         * math/w_remainderl.c (dreml): Define as weak alias of
3352         __remainderl.
3353         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3354         __remainder.
3355         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3356         __remainderf.
3357         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3358         __remainderl.
3359         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3360         weak alias of remainderl.
3361         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3362         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3363         alias of __remainder.
3364         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3365         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3366         strong alias of __remainderl.
3367         (dreml): Use long_double_symbol.
3368         * math/Makefile (libm-calls): Remove w_drem.
3369         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3370         (CFLAGS-nldbl-drem.c): Remove variable.
3371         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3372         * math/w_drem.c: Remove file.
3373         * math/w_dremf.c: Likewise.
3374         * math/w_dreml.c: Likewise.
3375         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3376         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3377         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3379         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3380         * sysdeps/i386/configure: Regenerated.
3381         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3382         * sysdeps/x86_64/configure: Regenerated.
3384         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3385         test.
3386         (libc_cv_visibility_attribute): Likewise.
3387         (libc_cv_protected_data): Test unconditionally.
3388         (libc_cv_broken_visibility_attribute): Remove configure test.
3389         (libc_cv_have_sdata_section): Test unconditionally.
3390         * configure: Regenerated.
3392         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3393         * include/scratch_buffer.h: Include <stddef.h> instead of
3394         <libc-internal.h>.
3395         (struct scratch_buffer): Use max_align_t instead of
3396         libc_max_align_t.
3398 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3400         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3401         instead of extend_alloca.  Change control flow to avoid a goto.
3402         Remove assert which is trivially always true.
3404 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3406         [BZ #16068]
3407         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3408         (FE_ALL_EXCEPT_X86): New macro.
3409         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3410         FE_ALL_EXCEPT.  Ensure precision control is included in
3411         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3412         handle "denormal operand exception" and clear FZ and DAZ bits.
3413         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3414         (FE_ALL_EXCEPT_X86): New macro.
3415         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3416         FE_ALL_EXCEPT.  Ensure precision control is included in
3417         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3418         handle "denormal operand exception" and clear FZ and DAZ bits.
3419         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3420         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3421         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3422         test-fenv-x87 and test-fenv-sse-2.
3423         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3425         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3426         * math/test-double.h (BUILD_COMPLEX): New macro.
3427         * math/test-float.h (BUILD_COMPLEX): Likewise.
3428         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3430         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3431         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3432         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3434         instead of DBL_DENORM_MIN in comment.
3435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3436         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3438         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3440         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3442 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3444         [BZ# 19048]
3445         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3446         attached_threads member.
3447         (main_arena): Initialize attached_threads.
3448         * malloc/arena.c (list_lock): Update comment.
3449         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3450         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3451         (deattach_arena): New function.
3452         (_int_new_arena): Initialize arena reference count and deattach
3453         replaced arena.
3454         (get_free_list, reused_arena): Update reference count and deattach
3455         replaced arena.
3456         (arena_thread_freeres): Update arena reference count and only put
3457         unreferenced arenas on the free list.
3459 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3461         [BZ #19181]
3462         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3463         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3464         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3465         * math/test-fenv-clear-main.c: New file.
3466         * math/test-fenv-clear.c: Likewise.
3467         * math/Makefile (tests): Add test-fenv-clear.
3468         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3469         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3470         test-fenv-clear-sse.
3471         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3473         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3474         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3475         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3477 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3479         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3480         static libc.
3482 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3484         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3485         test.
3486         * sysdeps/i386/configure: Regenerated.
3487         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3488         test.
3489         * sysdeps/x86_64/configure: Regenerated.
3490         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3492         memset-avx2 unconditionally instead of conditionally on
3493         [$(config-cflags-avx2) = yes].
3494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3495         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3496         unconditional.
3497         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3498         * sysdeps/x86_64/multiarch/memset_chk.S
3499         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3500         to [IS_IN (libc) && SHARED].
3502 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3504         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3505         configure test.
3506         * sysdeps/arm/configure: Regenerated.
3507         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3508         Define variable if not already defined.
3510         [BZ #17404]
3511         * sysdeps/mips/atomic-machine.h
3512         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3513         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3514         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3516         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3517         unconditional.
3518         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3519         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3520         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3521         unconditional.
3522         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3523         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3524         unconditional.
3525         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3526         * stdlib/setenv.c
3527         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3528         code unconditional.
3529         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3530         Remove conditional code.
3531         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3532         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3533         unconditional.
3534         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3535         code.
3536         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3537         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3538         unconditional.
3539         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3540         code.
3541         * sysdeps/ieee754/ldbl-128/k_tanl.c
3542         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3543         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3544         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3545         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3546         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3547         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3548         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3549         unconditional.
3550         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3551         code.
3552         * sysdeps/ieee754/ldbl-96/k_tanl.c
3553         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3554         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3556         * nptl/tst-initializers1-c11.c: New file.
3557         * nptl/tst-initializers1-gnu11.c: Likewise.
3558         * nptl/Makefile (tests): Add these new tests.
3559         (CFLAGS-tst-initializers1-c11.c): New variable.
3560         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3562         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3563         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3564         instead of -std=gnu99.
3565         * configure.ac (systemtap): Test with -std=gnu11 instead of
3566         -std=gnu99.
3567         * configure: Regenerated.
3568         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3569         in compilation command in comment.
3571         * sysdeps/nptl/configure.ac: Remove file.
3572         * sysdeps/nptl/configure: Remove generated file.
3573         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3574         * configure: Regenerated.
3575         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3576         * config.make.in (have-forced-unwind): Remove variable.
3577         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3578         unconditional.
3579         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3580         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3581         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3582         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3583         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3584         unconditional.
3586 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3588         [BZ #19174]
3589         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3590         .skip_lock_out_of_tbegin_retries.
3591         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3592         (__lll_lock_elision): Likewise, and respect a value of
3593         try_tbegin <= 0.
3595 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3597         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3598         statement.
3600 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3602         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3603         variable.
3604         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3605         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3607         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3608         of -std=c1x -D_ISOC11_SOURCE.
3610         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3611         * configure: Regenerated.
3612         * manual/install.texi (Tools for Compilation): Document
3613         requirement for GCC 4.7 or later.
3614         * INSTALL: Regenerated.
3616 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3618         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3619         on CNT to a conditional jump to 'puntdata'.
3621 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3623         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3624         (libc_cv_gcc_tls_model_attr): Likewise.
3625         * configure: Regenerated.
3627         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3628         * configure: Regenerated.
3629         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3631 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3633         * configure.ac (old_glibc_headers): Remove configure test.
3634         * configure: Regenerated.
3635         * config.make.in (old-glibc-headers): Remove variable.
3636         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3637         (install): Remove dependency on remove-old-headers.
3638         (headers2_0): Remove variable.
3639         (remove-old-headers): Remove rule.
3641         * configure.ac (libc_cv_dot_text): Remove configure test.
3642         (libc_cv_asm_set_directive): Use .text instead of
3643         ${libc_cv_dot_text} in configure test.
3644         * configure: Regenerated.
3646 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3648         [BZ #19168]
3649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3651 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3653         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3654         not support static linking.
3655         * configure: Regenerate.
3657 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3659         * math/libm-test.inc (check_float_internal): Do not special-case
3660         errors up to 0.5 ulp.
3662         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3663         log2.
3664         * math/auto-libm-test-out: Regenerated.
3665         * math/libm-test.inc (MAX_EXP): New macro.
3666         (ilogb_test_data): Add more tests.
3667         (isfinite_test_data): Likewise.
3668         (isgreater_test_data): Likewise.
3669         (isgreaterequal_test_data): Likewise.
3670         (isinf_test_data): Likewise.
3671         (isless_test_data): Likewise.
3672         (islessequal_test_data): Likewise.
3673         (islessgreater_test_data): Likewise.
3674         (isnan_test_data): Likewise.
3675         (isnormal_test_data): Likewise.
3676         (issignaling_test_data): Likewise.
3677         (isunordered_test_data): Likewise.
3678         (j0_test_data): Likewise.
3679         (j1_test_data): Likewise.
3680         (jn_test_data): Likewise.
3681         (lgamma_test_data): Likewise.
3682         (log_test_data): Likewise.
3683         (log10_test_data): Likewise.
3684         (log1p_test_data): Likewise.
3685         (log2_test_data): Likewise.
3686         (logb_test_data): Likewise.
3687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3689         [BZ #18611]
3690         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3691         avoid excess range and precision on underflow.
3692         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3693         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3694         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3695         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3696         underflow.
3697         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3698         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3699         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3700         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3701         * math/auto-libm-test-in: Do not allow missing errno setting for
3702         tests of j1 and jn.
3703         * math/auto-libm-test-out: Regenerated.
3705 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3707         [BZ #15491]
3708         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3709         floating-point environment instead of clearing all exceptions.
3710         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3711         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3712         merging in "invalid" exceptions from frndint.
3713         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3714         * math/test-nearbyint-except.c: New file.
3715         * math/Makefile (tests): Add test-nearbyint-except.
3717 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3719         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3721         * sysdeps/tile/libm-test-ulps: Regenerated.
3723 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3726         (__NR_sync_file_range2): Assume it is always defined.
3727         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3728         (__NR_sync_file_range): Assume it is always defined.
3730 2015-10-22  Andreas Schwab  <schwab@suse.de>
3732         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3733         INTERNAL_SYSCALL_ERRNO.
3734         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3735         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3736         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3737         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3738         Likewise.
3739         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3741 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3743         * io/tst-fcntl.c (fd): New static variable.
3744         (do_prepare): Open temporary file here....
3745         (do_test): ...not here.
3747         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3749 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3751         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3752         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3753         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3754         Moved before "#ifdef __ASSEMBLER__".
3756 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3758         [BZ #19156]
3759         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3760         arguments very close to 0.
3762 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3764         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3765         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3767 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3769         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3770         New.  Defined for GCC 5 and above when not compiling for
3771         profiling.
3772         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3774         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3775         Renamed to ...
3776         (CFLAGS-epoll_pwait.o): This.
3777         (CFLAGS-mmap.c): Renamed to ...
3778         (CFLAGS-mmap.o): This.
3779         (CFLAGS-mmap64.c): Renamed to ...
3780         (CFLAGS-mmap64.o): This.
3781         (CFLAGS-epoll_pwait.os): New.
3782         (CFLAGS-mmap.os): Likewise.
3783         (CFLAGS-mmap64.os): Likewise.
3784         (CFLAGS-semtimedop.os): Likewise.
3785         (CFLAGS-semtimedop.c): Renamed to ...
3786         (CFLAGS-semtimedop.o): This.
3788 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3790         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3791         warning message.
3793 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3795         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3796         * Makefile ($(objpfx)c++-types-check.out): Filter out
3797         $(+gccwarn-c) instead of -Wstrict-prototypes.
3799         * io/fts.c (fts_open): Convert to prototype-style function
3800         definition.
3801         * malloc/mcheck.c (mcheck): Likewise.
3802         (mcheck_pedantic): Likewise.
3803         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3804         internal_function.
3805         (re_search_internal): Likewise.
3806         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3807         prototype-style function definition.
3808         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3809         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3810         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3811         (xdr_utmpptr): Likewise.
3812         (xdr_utmparr): Likewise.
3813         (xdr_utmpidle): Likewise.
3814         (xdr_utmpidleptr): Likewise.
3815         (xdr_utmpidlearr): Likewise.
3817         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3818         log, log10 and log2.
3819         * math/auto-libm-test-out: Regenerated.
3820         * math/libm-test.inc (fmod_test_data): Add more tests.
3821         (fpclassify_test_data): Likewise.
3822         (frexp_test_data): Likewise.
3823         (hypot_test_data): Likewise.
3824         (ilogb_test_data): Likewise.
3826 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3828         * debug/fortify_fail.c (__fortify_fail): Convert to
3829         prototype-style function definition.  Use internal_function.
3830         * libio/genops.c (save_for_backup): Convert to prototype-style
3831         function definition.
3832         * libio/wgenops.c (save_for_wbackup): Likewise.
3833         * login/grantpt.c (grantpt): Likewise.
3834         * login/ptsname.c (ptsname): Likewise.
3835         (__ptsname_r): Likewise.
3836         * login/unlockpt.c (unlockpt): Likewise.
3837         * mach/msgserver.c (__mach_msg_server): Likewise.
3838         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3839         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3840         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3841         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3842         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3843         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3844         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3845         Likewise.
3846         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3847         internal_function.
3848         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3849         prototype-style function definition.
3850         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3851         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3852         (__pthread_create_2_0): Likewise.
3853         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3854         * nptl/register-atfork.c (__register_atfork): Likewise.
3855         * posix/glob.c (glob): Likewise.
3856         * posix/regcomp.c (re_comp): Likewise.
3857         * posix/regexec.c (re_exec): Likewise.
3858         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3859         [!__STDC__]: Remove conditional code.
3860         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3861         [!__STDC__]: Remove conditional code.
3862         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3863         [!__STDC__]: Remove conditional code.
3864         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3865         [!__STDC__]: Remove conditional code.
3866         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3867         [!__STDC__]: Remove conditional code.
3868         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3869         [!__STDC__]: Remove conditional code.
3870         * stdlib/mul.c [__STDC__]: Make code unconditional.
3871         [!__STDC__]: Remove conditional code.
3872         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3873         [!__STDC__]: Remove conditional code.
3874         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3875         [!__STDC__]: Remove conditional code.
3876         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3877         function definition.
3878         (STRTOF): Likewise.
3879         * stdlib/strtod_l.c (__STRTOF): Likewise.
3880         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3881         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3882         (__strtol_l): Likewise.
3883         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3884         [!__STDC__]: Remove conditional code.
3885         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3886         definition.
3887         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3888         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3889         type.
3890         (__strcasecmp): Convert to prototype-style function definition.
3891         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3892         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3893         type.
3894         (__strncasecmp): Convert to prototype-style function definition.
3895         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3896         * sunrpc/xdr.c (xdr_union): Likewise.
3897         * sunrpc/xdr_array.c (xdr_array): Likewise.
3898         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3899         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3900         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3901         Likewise.
3902         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3903         Likewise.
3904         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3905         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3906         Likewise.
3907         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3908         (LOCALE_PARAM_PROTO): Likewise.
3909         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3910         argument type.
3911         (ut_argument_spec): Remove macro.
3912         (ut_argument_spec_iso): Rename to ut_argument_spec.
3913         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3914         prototype-style function definition.
3915         (memcpy_uppcase): Likewise.
3916         (__strftime_internal): Likewise.
3917         (my_strftime): Likewise.
3918         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3919         (LOCALE_PARAM_DECL): Likewise.
3920         [_LIBC] (LOCALE_PARAM): Include argument type.
3921         (__strptime_internal): Convert to prototype-style function
3922         definition.
3923         (strptime): Likewise.
3924         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3925         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3926         type.
3927         (__wcscasecmp): Convert to prototype-style function definition.
3928         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3929         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3930         type.
3931         (__wcsncasecmp): Convert to prototype-style function definition.
3933         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3934         function definition.
3935         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3936         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3937         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3938         * elf/dl-minimal.c (_itoa): Likewise.
3939         * hurd/hurdmalloc.c (malloc): Likewise.
3940         (free): Likewise.
3941         (realloc): Likewise.
3942         * inet/inet6_option.c (inet6_option_space): Likewise.
3943         (inet6_option_init): Likewise.
3944         (inet6_option_append): Likewise.
3945         (inet6_option_alloc): Likewise.
3946         (inet6_option_next): Likewise.
3947         (inet6_option_find): Likewise.
3948         * io/ftw.c (FTW_NAME): Likewise.
3949         (NFTW_NAME): Likewise.
3950         (NFTW_NEW_NAME): Likewise.
3951         (NFTW_OLD_NAME): Likewise.
3952         * libio/iofwide.c (_IO_fwide): Likewise.
3953         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3954         (_IO_str_init_static): Likewise.
3955         (_IO_str_init_readonly): Likewise.
3956         (_IO_str_overflow): Likewise.
3957         (_IO_str_underflow): Likewise.
3958         (_IO_str_count): Likewise.
3959         (_IO_str_seekoff): Likewise.
3960         (_IO_str_pbackfail): Likewise.
3961         (_IO_str_finish): Likewise.
3962         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3963         (_IO_wstr_overflow): Likewise.
3964         (_IO_wstr_underflow): Likewise.
3965         (_IO_wstr_count): Likewise.
3966         (_IO_wstr_seekoff): Likewise.
3967         (_IO_wstr_pbackfail): Likewise.
3968         (_IO_wstr_finish): Likewise.
3969         * locale/programs/localedef.c (normalize_codeset): Likewise.
3970         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3971         (add_locales_to_archive): Likewise.
3972         (delete_locales_from_archive): Likewise.
3973         * malloc/malloc.c (__libc_mallinfo): Likewise.
3974         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3975         * misc/tsearch.c (__tfind): Likewise.
3976         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3977         * nptl/pthread_attr_getdetachstate.c
3978         (__pthread_attr_getdetachstate): Likewise.
3979         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3980         Likewise.
3981         * nptl/pthread_attr_getinheritsched.c
3982         (__pthread_attr_getinheritsched): Likewise.
3983         * nptl/pthread_attr_getschedparam.c
3984         (__pthread_attr_getschedparam): Likewise.
3985         * nptl/pthread_attr_getschedpolicy.c
3986         (__pthread_attr_getschedpolicy): Likewise.
3987         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3988         Likewise.
3989         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3990         Likewise.
3991         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3992         Likewise.
3993         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3994         Likewise.
3995         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3996         (__pthread_attr_init_2_0): Likewise.
3997         * nptl/pthread_attr_setdetachstate.c
3998         (__pthread_attr_setdetachstate): Likewise.
3999         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4000         Likewise.
4001         * nptl/pthread_attr_setinheritsched.c
4002         (__pthread_attr_setinheritsched): Likewise.
4003         * nptl/pthread_attr_setschedparam.c
4004         (__pthread_attr_setschedparam): Likewise.
4005         * nptl/pthread_attr_setschedpolicy.c
4006         (__pthread_attr_setschedpolicy): Likewise.
4007         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4008         Likewise.
4009         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4010         Likewise.
4011         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4012         Likewise.
4013         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4014         Likewise.
4015         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4016         Likewise.
4017         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4018         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4019         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4020         use internal_function.
4021         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4022         prototype-style function definition.
4023         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4024         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4025         internal_function.
4026         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4027         Convert to prototype-style function definition.
4028         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4029         Likewise.
4030         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4031         Likewise.
4032         (__pthread_mutex_unlock): Likewise.
4033         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4034         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4035         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4036         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4037         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4038         * nss/makedb.c (process_input): Likewise.
4039         * posix/fnmatch.c (__strchrnul): Likewise.
4040         (__wcschrnul): Likewise.
4041         (fnmatch): Likewise.
4042         * posix/fnmatch_loop.c (FCT): Likewise.
4043         * posix/glob.c (globfree): Likewise.
4044         (__glob_pattern_type): Likewise.
4045         (__glob_pattern_p): Likewise.
4046         * posix/regcomp.c (re_compile_pattern): Likewise.
4047         (re_set_syntax): Likewise.
4048         (re_compile_fastmap): Likewise.
4049         (regcomp): Likewise.
4050         (regerror): Likewise.
4051         (regfree): Likewise.
4052         * posix/regexec.c (regexec): Likewise.
4053         (re_match): Likewise.
4054         (re_search): Likewise.
4055         (re_match_2): Likewise.
4056         (re_search_2): Likewise.
4057         (re_search_stub): Likewise.  Use internal_function
4058         (re_copy_regs): Likewise.
4059         (re_set_registers): Convert to prototype-style function
4060         definition.
4061         (prune_impossible_nodes): Likewise.  Use internal_function.
4062         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4063         prototype-style function definition.
4064         (inet_net_pton_ipv4): Likewise.
4065         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4066         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4067         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4068         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4069         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4070         Make variadic.
4071         * time/strptime_l.c (localtime_r): Convert to prototype-style
4072         function definition.
4073         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4074         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4075         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4076         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4078         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4079         definition.
4080         (_ufc_doit_r): Likewise.
4081         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4082         (_ufc_output_conversion_r): Likewise.
4083         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4084         * inet/rcmd.c (rcmd_af): Likewise.
4085         (rcmd): Likewise.
4086         (ruserok_af): Likewise.
4087         (ruserok): Likewise.
4088         (ruserok2_sa): Likewise.
4089         (ruserok_sa): Likewise.
4090         (iruserok_af): Likewise.
4091         (iruserok): Likewise.
4092         (__ivaliduser): Likewise.
4093         (__validuser2_sa): Likewise.
4094         * inet/rexec.c (rexec_af): Likewise.
4095         (rexec): Likewise.
4096         * inet/ruserpass.c (ruserpass): Likewise.
4097         * locale/programs/xmalloc.c (xcalloc): Likewise.
4098         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4099         * math/w_drem.c (__drem): Likewise.
4100         * math/w_dremf.c (__dremf): Likewise.
4101         * math/w_dreml.c (__dreml): Likewise.
4102         * misc/daemon.c (daemon): Likewise.
4103         * resolv/res_debug.c (p_fqnname): Likewise.
4104         * stdlib/div.c (div): Likewise.
4105         * string/memcmp.c (memcmp_bytes): Likewise.
4106         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4107         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4109         * crypt/cert.c (main): Convert to prototype-style function
4110         definition.
4111         * io/pipe.c (__pipe): Likewise.
4112         * io/pipe2.c (__pipe2): Likewise.
4113         * misc/futimesat.c (futimesat): Likewise.
4114         * misc/utimes.c (__utimes): Likewise.
4115         * posix/execve.c (__execve): Likewise.
4116         * posix/execvp.c (execvp): Likewise.
4117         * posix/execvpe.c (__execvpe): Likewise.
4118         * posix/fexecve.c (fexecve): Likewise.
4119         * socket/socketpair.c (socketpair): Likewise.
4120         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4121         * stdlib/erand48.c (erand48): Likewise.
4122         * stdlib/erand48_r.c (__erand48_r): Likewise.
4123         * stdlib/jrand48.c (jrand48): Likewise.
4124         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4125         * stdlib/lcong48.c (lcong48): Likewise.
4126         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4127         * stdlib/nrand48.c (nrand48): Likewise.
4128         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4129         * stdlib/seed48.c (seed48): Likewise.
4130         * stdlib/seed48_r.c (__seed48_r): Likewise.
4131         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4132         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4133         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4135 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4137         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4138         * configure: Regenerated.
4139         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4140         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4141         unconditional.
4142         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4143         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4144         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4145         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4146         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4147         unconditional.
4148         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4150         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4151         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4153         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4154         function definition.
4155         * crypt/crypt_util.c (__encrypt_r): Likewise.
4156         * libio/genops.c (_IO_no_init): Likewise.
4157         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4158         (_IO_old_fopencookie): Likewise.
4159         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4160         * libio/iogetline.c (_IO_getline): Likewise.
4161         (_IO_getline_info): Likewise.
4162         * libio/iogetwline.c (_IO_getwline): Likewise.
4163         (_IO_getwline_info): Likewise.
4164         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4165         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4166         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4167         (find_entry): Likewise.
4168         (iterate_table): Likewise.
4169         (lookup): Likewise.
4170         * login/forkpty.c (forkpty): Likewise.
4171         * misc/hsearch_r.c (__hsearch_r): Likewise.
4172         * misc/select.c (__select): Likewise.
4173         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4174         Likewise.
4175         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4176         Likewise.
4177         * nptl/old_pthread_cond_timedwait.c
4178         (__pthread_cond_timedwait_2_0): Likewise.
4179         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4180         * nptl/pthread_barrierattr_getpshared.c
4181         (pthread_barrierattr_getpshared): Likewise.
4182         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4183         Likewise.
4184         * nptl/pthread_mutex_setprioceiling.c
4185         (pthread_mutex_setprioceiling): Likewise.
4186         * nptl/pthread_mutexattr_getprioceiling.c
4187         (pthread_mutexattr_getprioceiling): Likewise.
4188         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4189         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4190         Likewise.
4191         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4192         Likewise.
4193         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4194         Likewise.
4195         * socket/recvfrom.c (__recvfrom): Likewise.
4196         * socket/sendto.c (__sendto): Likewise.
4197         * socket/setsockopt.c (__setsockopt): Likewise.
4198         * stdio-common/_itoa.c (_itoa): Likewise.
4199         * stdio-common/_itowa.c (_itowa): Likewise.
4200         * stdio-common/reg-printf.c (__register_printf_specifier):
4201         Likewise.
4202         (__register_printf_function): Likewise.
4203         * stdio-common/tempname.c (__path_search): Likewise.
4204         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4205         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4206         * stdlib/random_r.c (__initstate_r): Likewise.
4207         * stdlib/setenv.c (__add_to_environ): Likewise.
4208         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4209         * streams/getpmsg.c (getpmsg): Likewise.
4210         * streams/putmsg.c (putmsg): Likewise.
4211         * streams/putpmsg.c (putpmsg): Likewise.
4212         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4213         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4214         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4215         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4216         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4217         * sunrpc/svc_udp.c (cache_get): Likewise.
4218         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4219         * sysdeps/mach/hurd/getcwd.c
4220         (__canonicalize_directory_name_internal): Likewise.
4221         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4222         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4223         * sysdeps/mach/hurd/select.c (__select): Likewise.
4224         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4225         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4226         * sysdeps/sparc/nptl/pthread_barrier_init.c
4227         (__pthread_barrier_init): Likewise.
4228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4229         (__pthread_cond_timedwait): Likewise.
4230         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4231         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4232         Likewise.
4233         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4234         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4235         Likewise.
4236         * sysvipc/semtimedop.c (semtimedop): Likewise.
4237         * time/setitimer.c (__setitimer): Likewise.
4238         * time/strftime_l.c (emacs_strftime): Likewise.
4240 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4242         * config.make.in (have-ssp): Delete.
4243         (stack-protector): New variable.
4244         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4245         cache test for -fstack-protector-strong.  Export stack_protector to
4246         the best ssp flag.
4247         * configure: Regenerated.
4248         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4249         * nscd/Makefile (CFLAGS-nscd): Likewise.
4250         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4252 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4254         [BZ #19122]
4255         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4256         attribute_hidden.
4258 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4260         [BZ #18743]
4261         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4262         code to...
4263         (ELIDE_LOCK): ...here.
4264         (__get_new_count): New function with part of the code from
4265         __elide_lock that updates the value of adapt_count after a
4266         transaction abort.
4267         (__elided_trylock): Moved this code to...
4268         (ELIDE_TRYLOCK): ...here.
4270 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4272         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4273         * configure: Regenerate.
4274         * INSTALL: Regenerate.
4275         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4276         and tweak grammar.
4278 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4280         * login/programs/pt_chown.c: Include signal.h
4281         (main): Clear any signal mask from the parent process.
4283 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4285         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4286         * configure: Regenerated.
4287         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4288         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4289         $(gnu89-inline-CFLAGS).
4291         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4292         test.
4293         (libc_cv_asm_weakext_directive): Likewise.
4294         * configure: Regenerated.
4295         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4296         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4297         * include/libc-symbols.h
4298         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4299         #error.
4300         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4301         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4303         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4304         prototype-style function definition.
4305         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4306         * sysdeps/i386/ffs.c (__ffs): Likewise.
4307         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4308         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4309         Likewise.
4310         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4311         Likewise.
4312         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4313         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4314         Likewise.
4315         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4316         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4317         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4318         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4319         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4320         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4321         * sysdeps/mach/hurd/access.c (__access): Likewise.
4322         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4323         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4324         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4325         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4326         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4327         (cthread_getspecific): Likewise.
4328         (cthread_setspecific): Likewise.
4329         (__libc_getspecific): Likewise.
4330         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4331         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4332         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4333         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4334         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4335         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4336         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4337         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4338         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4339         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4340         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4341         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4342         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4343         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4344         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4345         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4346         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4347         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4348         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4349         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4350         * sysdeps/mach/hurd/link.c (__link): Likewise.
4351         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4352         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4353         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4354         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4355         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4356         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4357         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4358         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4359         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4360         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4361         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4362         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4363         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4364         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4365         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4366         * sysdeps/mach/hurd/send.c (__send): Likewise.
4367         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4368         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4369         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4370         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4371         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4372         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4373         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4374         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4375         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4376         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4377         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4378         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4379         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4380         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4381         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4382         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4383         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4384         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4385         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4386         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4387         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4388         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4389         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4390         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4391         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4392         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4393         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4394         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4395         * sysdeps/posix/alarm.c (alarm): Likewise.
4396         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4397         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4398         * sysdeps/posix/dup.c (__dup): Likewise.
4399         * sysdeps/posix/dup2.c (__dup2): Likewise.
4400         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4401         (main): Likewise.
4402         * sysdeps/posix/flock.c (__flock): Likewise.
4403         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4404         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4405         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4406         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4407         * sysdeps/posix/isatty.c (__isatty): Likewise.
4408         * sysdeps/posix/killpg.c (killpg): Likewise.
4409         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4410         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4411         * sysdeps/posix/raise.c (raise): Likewise.
4412         * sysdeps/posix/remove.c (remove): Likewise.
4413         * sysdeps/posix/rename.c (rename): Likewise.
4414         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4415         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4416         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4417         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4418         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4419         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4420         * sysdeps/posix/sigset.c (sigset): Likewise.
4421         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4422         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4423         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4424         * sysdeps/posix/time.c (time): Likewise.
4425         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4426         (ttyname): Likewise.
4427         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4428         * sysdeps/posix/utime.c (utime): Likewise.
4429         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4430         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4431         Likewise.
4432         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4433         (pthread_spin_trylock): Likewise.
4434         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4435         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4436         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4437         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4438         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4439         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4440         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4441         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4442         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4443         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4444         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4445         * sysdeps/s390/ffs.c (__ffs): Likewise.
4446         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4447         Likewise.
4448         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4449         Likewise.
4450         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4451         Likewise.
4452         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4453         (pthread_barrier_destroy): Likewise.
4454         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4455         (__pthread_barrier_wait): Likewise.
4456         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4457         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4458         (__pthread_barrier_wait): Likewise.
4459         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4460         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4461         (memcmp_not_common_alignment): Likewise.
4462         (MEMCMP): Likewise.
4463         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4464         (_wordcopy_fwd_dest_aligned): Likewise.
4465         (_wordcopy_bwd_aligned): Likewise.
4466         (_wordcopy_bwd_dest_aligned): Likewise.
4467         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4468         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4469         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4470         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4471         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4472         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4473         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4474         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4475         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4476         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4477         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4478         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4479         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4480         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4481         * sysdeps/unix/stime.c (stime): Likewise.
4482         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4483         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4484         Likewise.  Use internal_function.
4485         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4486         Convert to prototype-style function definition.
4487         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4488         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4489         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4490         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4491         Likewise.  Use internal_function.
4492         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4493         prototype-style function definition
4494         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4495         Likewise.
4496         (__getlogin_r): Likewise.
4497         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4498         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4499         (__pthread_cond_broadcast): Likewise.
4500         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4501         (__pthread_cond_destroy): Likewise.
4502         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4503         (__pthread_cond_init): Likewise.
4504         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4505         (__pthread_cond_signal): Likewise.
4506         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4507         (__pthread_cond_wait): Likewise.
4508         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4509         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4510         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4511         Likewise.
4512         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4513         Likewise.
4514         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4515         Likewise.
4516         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4517         Likewise.
4518         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4520         (__ftruncate64): Likewise.
4521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4522         (truncate64): Likewise.
4523         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4524         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4525         (pthread_getcpuclockid): Likewise.
4526         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4527         Likewise.
4528         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4529         Likewise.
4530         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4531         Likewise.
4532         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4533         Likewise.
4534         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4535         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4536         (__libc_sigaction): Likewise.
4537         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4538         Likewise.
4539         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4540         (__sigprocmask): Likewise.
4541         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4542         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4543         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4544         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4545         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4546         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4547         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4548         Likewise.
4549         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4550         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4551         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4552         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4553         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4554         Likewise.
4555         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4556         (__sigprocmask): Likewise.
4557         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4558         (cfgetispeed): Likewise.
4559         (cfsetospeed): Likewise.
4560         (cfsetispeed): Likewise.
4561         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4562         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4563         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4564         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4565         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4566         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4567         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4568         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4569         Likewise.
4570         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4571         Likewise.
4572         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4575         Likewise.
4576         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4578 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4580         sunrpc: Rewrite with explicit TLS access using __thread.
4581         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4582         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4583         directly.
4584         (__rpc_thread_variables): Access thread_rpc_vars directly.
4585         Eliminate redundant assignment of the tvp variable.
4587 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4589         malloc: Rewrite with explicit TLS access using __thread.
4590         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4591         (tsd_setspecific, tsd_getspecific): Remove.
4592         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4593         (tsd_setspecific, tsd_getspecific): Likewise.
4594         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4595         (tsd_setspecific, tsd_getspecific): Likewise.
4596         * malloc/arena.c (thread_arena): New TLS variable.
4597         (arena_key): Remove variable.
4598         (arena_get): Use thread_arena.
4599         (arena_lookup): Remove macro.
4600         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4601         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4602         (_int_new_arena, get_free_list, reused_arena)
4603         (arena_thread_freeres): Use thread_arena.
4604         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4605         tsd_getspecific, tsd_setspecific from safety annotations.
4606         (Allocating Cleared Space): Remove arena_lookup from safety
4607         annotations.
4609 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4611         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4612         struct scratch_buffer instead of extend_alloca.
4614 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4616         * sysdeps/unix/sysv/linux/kernel-features.h
4617         (__ASSUME_SOCK_CLOEXEC): Remove.
4618         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4619         (__have_paccept): Remove unused macro.
4620         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4621         * misc/syslog.c (openlog_internal): Remove fallback code for
4622         !__ASSUME_SOCK_CLOEXEC.
4623         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4624         missing SOCK_CLOEXEC.
4625         * nscd/connections.c (have_sock_cloexec): Remove definition.
4626         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4627         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4628         !__ASSUME_SOCK_CLOEXEC.
4629         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4630         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4631         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4632         definition.
4633         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4634         code for !__ASSUME_SOCK_CLOEXEC.
4636 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4638         [BZ #18982]
4639         * manual/stdio.texi (Variable Arguments Output): Add portability
4640         note, explaining that vfprintf clobbers the va_list pointer.
4642 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4644         * math/libm-test.inc (fabs_test_data): Add more tests.
4645         (fdim_test_data): Likewise.
4646         (fma_test_data): Likewise.
4647         (fmax_test_data): Likewise.
4648         (fmin_test_data): Likewise.
4649         (fmod_test_data): Likewise.
4651 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4653         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4654         data.
4656 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4658         * math/libm-test.inc (ceil_test_data): Add more tests and more
4659         expectations for "inexact".
4660         (floor_test_data): Add more tests.
4661         (round_test_data): Likewise.
4662         (trunc_test_data): Likewise.
4664         * crypt/cert.c (good_bye): Convert to prototype-style function
4665         definition.
4666         (get8): Likewise.
4667         (put8): Likewise.
4668         * crypt/crypt-entry.c (crypt): Likewise.
4669         (__fcrypt): Likewise.
4670         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4671         (_ufc_set_bits): Likewise.
4672         (_ufc_clearmem): Likewise.
4673         (__init_des_r): Likewise.
4674         (shuffle_sb): Likewise.
4675         (shuffle_sb): Likewise.
4676         (_ufc_setup_salt_r): Likewise.
4677         (_ufc_mk_keytab_r): Likewise.
4678         (_ufc_dofinalperm_r): Likewise.
4679         (encrypt): Likewise.
4680         (__setkey_r): Likewise.
4681         (setkey): Likewise.
4682         * crypt/md5.c (md5_init_ctx): Likewise.
4683         (md5_read_ctx): Likewise.
4684         (md5_finish_ctx): Likewise.
4685         (md5_stream): Likewise.
4686         (md5_buffer): Likewise.
4687         (md5_process_bytes): Likewise.
4688         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4689         (__sha256_finish_ctx): Likewise.
4690         (__sha256_process_bytes): Likewise.
4691         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4692         (__sha512_finish_ctx): Likewise.
4693         (__sha512_process_bytes): Likewise.
4694         * ctype/isctype.c (__isctype): Likewise.
4695         * debug/backtrace.c (__backtrace): Likewise.
4696         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4697         * debug/fgets_chk.c (__fgets_chk): Likewise.
4698         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4699         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4700         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4701         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4702         * debug/memset_chk.c (__memset_chk): Likewise.
4703         * debug/strcat_chk.c (__strcat_chk): Likewise.
4704         * debug/strncat_chk.c (__strncat_chk): Likewise.
4705         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4706         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4707         * dirent/dirfd.c (dirfd): Likewise.
4708         * dirent/getdents.c (__getdirentries): Likewise.
4709         * dirent/getdents64.c (getdirentries64): Likewise.
4710         * dirent/rewinddir.c (__rewinddir): Likewise.
4711         * dirent/seekdir.c (seekdir): Likewise.
4712         * dirent/telldir.c (telldir): Likewise.
4713         * elf/sln.c (makesymlinks): Likewise.
4714         (makesymlink): Likewise.
4715         * gmon/gmon.c (__moncontrol): Likewise.
4716         (__monstartup): Likewise.
4717         (write_hist): Likewise.
4718         (write_call_graph): Likewise.
4719         (write_bb_counts): Likewise.
4720         * grp/setgroups.c (setgroups): Likewise.
4721         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4722         * inet/inet_net.c (inet_network): Likewise.
4723         * inet/inet_netof.c (inet_netof): Likewise.
4724         * inet/rcmd.c (rresvport_af): Likewise.
4725         (rresvport): Likewise.
4726         * io/access.c (__access): Likewise.
4727         * io/chdir.c (__chdir): Likewise.
4728         * io/chmod.c (__chmod): Likewise.
4729         * io/chown.c (__chown): Likewise.
4730         * io/close.c (__close): Likewise.
4731         * io/creat.c (creat): Likewise.
4732         * io/creat64.c (creat64): Likewise.
4733         * io/dup.c (__dup): Likewise.
4734         * io/dup2.c (__dup2): Likewise.
4735         * io/dup3.c (__dup3): Likewise.
4736         * io/euidaccess.c (__euidaccess): Likewise.
4737         * io/faccessat.c (faccessat): Likewise.
4738         * io/fchmod.c (__fchmod): Likewise.
4739         * io/fchmodat.c (fchmodat): Likewise.
4740         * io/fchown.c (__fchown): Likewise.
4741         * io/fchownat.c (fchownat): Likewise.
4742         * io/fcntl.c (__fcntl): Likewise.
4743         * io/flock.c (__flock): Likewise.
4744         * io/fts.c (fts_load): Likewise.
4745         (fts_close): Likewise.
4746         (fts_read): Likewise.
4747         (fts_set): Likewise.
4748         (fts_children): Likewise.
4749         (fts_build): Likewise.
4750         (fts_stat): Likewise.
4751         (fts_sort): Likewise.
4752         (fts_alloc): Likewise.
4753         (fts_lfree): Likewise.
4754         (fts_palloc): Likewise.
4755         (fts_padjust): Likewise.
4756         (fts_maxarglen): Likewise.
4757         (fts_safe_changedir): Likewise.
4758         * io/getwd.c (getwd): Likewise.
4759         * io/isatty.c (__isatty): Likewise.
4760         * io/lchown.c (__lchown): Likewise.
4761         * io/link.c (__link): Likewise.
4762         * io/linkat.c (linkat): Likewise.
4763         * io/lseek.c (__libc_lseek): Likewise.
4764         * io/mkdir.c (__mkdir): Likewise.
4765         * io/mkdirat.c (mkdirat): Likewise.
4766         * io/mkfifo.c (mkfifo): Likewise.
4767         * io/mkfifoat.c (mkfifoat): Likewise.
4768         * io/open.c (__libc_open): Likewise.
4769         * io/open64.c (__libc_open64): Likewise.
4770         * io/readlink.c (__readlink): Likewise.
4771         * io/readlinkat.c (readlinkat): Likewise.
4772         * io/rmdir.c (__rmdir): Likewise.
4773         * io/symlink.c (__symlink): Likewise.
4774         * io/symlinkat.c (symlinkat): Likewise.
4775         * io/ttyname.c (ttyname): Likewise.
4776         * io/ttyname_r.c (__ttyname_r): Likewise.
4777         * io/umask.c (__umask): Likewise.
4778         * io/unlink.c (__unlink): Likewise.
4779         * io/unlinkat.c (unlinkat): Likewise.
4780         * io/utime.c (utime): Likewise.
4781         * libio/clearerr.c (clearerr): Likewise.
4782         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4783         * libio/feof.c (_IO_feof): Likewise.
4784         * libio/feof_u.c (feof_unlocked): Likewise.
4785         * libio/ferror.c (_IO_ferror): Likewise.
4786         * libio/ferror_u.c (ferror_unlocked): Likewise.
4787         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4788         * libio/fileno.c (__fileno): Likewise.
4789         * libio/fputc.c (fputc): Likewise.
4790         * libio/fputc_u.c (fputc_unlocked): Likewise.
4791         * libio/fputwc.c (fputwc): Likewise.
4792         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4793         * libio/freopen.c (freopen): Likewise.
4794         * libio/freopen64.c (freopen64): Likewise.
4795         * libio/fseek.c (fseek): Likewise.
4796         * libio/fseeko.c (fseeko): Likewise.
4797         * libio/fseeko64.c (fseeko64): Likewise.
4798         * libio/ftello.c (__ftello): Likewise.
4799         * libio/ftello64.c (ftello64): Likewise.
4800         * libio/fwide.c (fwide): Likewise.
4801         * libio/genops.c (_IO_un_link): Likewise.
4802         (_IO_link_in): Likewise.
4803         (_IO_least_marker): Likewise.
4804         (_IO_switch_to_main_get_area): Likewise.
4805         (_IO_switch_to_backup_area): Likewise.
4806         (_IO_switch_to_get_mode): Likewise.
4807         (_IO_free_backup_area): Likewise.
4808         (_IO_switch_to_put_mode): Likewise.
4809         (__overflow): Likewise.
4810         (__underflow): Likewise.
4811         (__uflow): Likewise.
4812         (_IO_setb): Likewise.
4813         (_IO_doallocbuf): Likewise.
4814         (_IO_default_underflow): Likewise.
4815         (_IO_default_uflow): Likewise.
4816         (_IO_default_xsputn): Likewise.
4817         (_IO_sgetn): Likewise.
4818         (_IO_default_xsgetn): Likewise.
4819         (_IO_sync): Likewise.
4820         (_IO_default_setbuf): Likewise.
4821         (_IO_default_seekpos): Likewise.
4822         (_IO_default_doallocate): Likewise.
4823         (_IO_init): Likewise.
4824         (_IO_old_init): Likewise.
4825         (_IO_default_sync): Likewise.
4826         (_IO_default_finish): Likewise.
4827         (_IO_default_seekoff): Likewise.
4828         (_IO_sputbackc): Likewise.
4829         (_IO_sungetc): Likewise.
4830         (_IO_set_column): Likewise.
4831         (_IO_set_column): Likewise.
4832         (_IO_adjust_column): Likewise.
4833         (_IO_get_column): Likewise.
4834         (_IO_init_marker): Likewise.
4835         (_IO_remove_marker): Likewise.
4836         (_IO_marker_difference): Likewise.
4837         (_IO_marker_delta): Likewise.
4838         (_IO_seekmark): Likewise.
4839         (_IO_unsave_markers): Likewise.
4840         (_IO_nobackup_pbackfail): Likewise.
4841         (_IO_default_pbackfail): Likewise.
4842         (_IO_default_seek): Likewise.
4843         (_IO_default_stat): Likewise.
4844         (_IO_default_read): Likewise.
4845         (_IO_default_write): Likewise.
4846         (_IO_default_showmanyc): Likewise.
4847         (_IO_default_imbue): Likewise.
4848         (_IO_iter_next): Likewise.
4849         (_IO_iter_file): Likewise.
4850         * libio/getc.c (_IO_getc): Likewise.
4851         * libio/getwc.c (_IO_getwc): Likewise.
4852         * libio/iofclose.c (_IO_new_fclose): Likewise.
4853         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4854         * libio/iofflush.c (_IO_fflush): Likewise.
4855         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4856         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4857         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4858         * libio/iofgets.c (_IO_fgets): Likewise.
4859         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4860         * libio/iofgetws.c (fgetws): Likewise.
4861         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4862         * libio/iofopen64.c (_IO_fopen64): Likewise.
4863         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4864         (_IO_cookie_write): Likewise.
4865         (_IO_cookie_seek): Likewise.
4866         (_IO_cookie_close): Likewise.
4867         (_IO_cookie_seekoff): Likewise.
4868         (_IO_old_cookie_seek): Likewise.
4869         * libio/iofputs.c (_IO_fputs): Likewise.
4870         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4871         * libio/iofputws.c (fputws): Likewise.
4872         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4873         * libio/iofread.c (_IO_fread): Likewise.
4874         * libio/iofread_u.c (__fread_unlocked): Likewise.
4875         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4876         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4877         * libio/ioftell.c (_IO_ftell): Likewise.
4878         * libio/iofwrite.c (_IO_fwrite): Likewise.
4879         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4880         * libio/iogets.c (_IO_gets): Likewise.
4881         * libio/iopadn.c (_IO_padn): Likewise.
4882         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4883         (_IO_new_popen): Likewise.
4884         (_IO_new_proc_close): Likewise.
4885         * libio/ioputs.c (_IO_puts): Likewise.
4886         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4887         (_IO_seekoff): Likewise.
4888         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4889         (_IO_seekpos): Likewise.
4890         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4891         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4892         * libio/ioungetc.c (_IO_ungetc): Likewise.
4893         * libio/ioungetwc.c (ungetwc): Likewise.
4894         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4895         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4896         * libio/iowpadn.c (_IO_wpadn): Likewise.
4897         * libio/libc_fatal.c (__libc_fatal): Likewise.
4898         * libio/memstream.c (__open_memstream): Likewise.
4899         (_IO_mem_sync): Likewise.
4900         (_IO_mem_finish): Likewise.
4901         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4902         (_IO_old_file_close_it): Likewise.
4903         (_IO_old_file_finish): Likewise.
4904         (_IO_old_file_fopen): Likewise.
4905         (_IO_old_file_attach): Likewise.
4906         (_IO_old_file_setbuf): Likewise.
4907         (_IO_old_do_write): Likewise.
4908         (old_do_write): Likewise.
4909         (_IO_old_file_underflow): Likewise.
4910         (_IO_old_file_overflow): Likewise.
4911         (_IO_old_file_sync): Likewise.
4912         (_IO_old_file_seekoff): Likewise.
4913         (_IO_old_file_write): Likewise.
4914         (_IO_old_file_xsputn): Likewise.
4915         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4916         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4917         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4918         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4919         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4920         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4921         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4922         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4923         (_IO_old_popen): Likewise.
4924         (_IO_old_proc_close): Likewise.
4925         * libio/oldpclose.c (__old_pclose): Likewise.
4926         * libio/pclose.c (__new_pclose): Likewise.
4927         * libio/peekc.c (_IO_peekc_locked): Likewise.
4928         * libio/putc.c (_IO_putc): Likewise.
4929         * libio/putc_u.c (putc_unlocked): Likewise.
4930         * libio/putchar.c (putchar): Likewise.
4931         * libio/putchar_u.c (putchar_unlocked): Likewise.
4932         * libio/putwc.c (putwc): Likewise.
4933         * libio/putwc_u.c (putwc_unlocked): Likewise.
4934         * libio/putwchar.c (putwchar): Likewise.
4935         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4936         * libio/rewind.c (rewind): Likewise.
4937         * libio/setbuf.c (setbuf): Likewise.
4938         * libio/setlinebuf.c (setlinebuf): Likewise.
4939         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4940         * libio/vscanf.c (_IO_vscanf): Likewise.
4941         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4942         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4943         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4944         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4945         (_IO_switch_to_main_wget_area): Likewise.
4946         (_IO_switch_to_wbackup_area): Likewise.
4947         (_IO_wsetb): Likewise.
4948         (_IO_wdefault_pbackfail): Likewise.
4949         (_IO_wdefault_finish): Likewise.
4950         (_IO_wdefault_uflow): Likewise.
4951         (__woverflow): Likewise.
4952         (__wuflow): Likewise.
4953         (__wunderflow): Likewise.
4954         (_IO_wdefault_xsputn): Likewise.
4955         (_IO_wdefault_xsgetn): Likewise.
4956         (_IO_wdoallocbuf): Likewise.
4957         (_IO_wdefault_doallocate): Likewise.
4958         (_IO_switch_to_wget_mode): Likewise.
4959         (_IO_free_wbackup_area): Likewise.
4960         (_IO_switch_to_wput_mode): Likewise.
4961         (_IO_sputbackwc): Likewise.
4962         (_IO_sungetwc): Likewise.
4963         (_IO_adjust_wcolumn): Likewise.
4964         (_IO_init_wmarker): Likewise.
4965         (_IO_wmarker_delta): Likewise.
4966         (_IO_seekwmark): Likewise.
4967         (_IO_unsave_wmarkers): Likewise.
4968         * libio/wmemstream.c (open_wmemstream): Likewise.
4969         (_IO_wmem_sync): Likewise.
4970         (_IO_wmem_finish): Likewise.
4971         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4972         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4973         * locale/programs/simple-hash.c (init_hash): Likewise.
4974         (delete_hash): Likewise.
4975         (insert_entry): Likewise.
4976         (set_entry): Likewise.
4977         (next_prime): Likewise.
4978         (is_prime): Likewise.
4979         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4980         (xmalloc): Likewise.
4981         (xrealloc): Likewise.
4982         * locale/programs/xstrdup.c (xstrdup): Likewise.
4983         * localedata/collate-test.c (xstrcoll): Likewise.
4984         * localedata/xfrm-test.c (xstrcmp): Likewise.
4985         * login/getlogin_r.c (__getlogin_r): Likewise.
4986         * login/getpt.c (__posix_openpt): Likewise.
4987         * login/login_tty.c (login_tty): Likewise.
4988         * login/setlogin.c (setlogin): Likewise.
4989         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4990         (mach_msg_destroy_port): Likewise.
4991         (mach_msg_destroy_memory): Likewise.
4992         * malloc/mcheck.c (flood): Likewise.
4993         * misc/acct.c (acct): Likewise.
4994         * misc/brk.c (__brk): Likewise.
4995         * misc/chflags.c (chflags): Likewise.
4996         * misc/chroot.c (chroot): Likewise.
4997         * misc/fchflags.c (fchflags): Likewise.
4998         * misc/fstab.c (getfsspec): Likewise.
4999         (getfsfile): Likewise.
5000         * misc/fsync.c (fsync): Likewise.
5001         * misc/ftruncate.c (__ftruncate): Likewise.
5002         * misc/ftruncate64.c (__ftruncate64): Likewise.
5003         * misc/getdomain.c (getdomainname): Likewise.
5004         (getdomainname): Likewise.
5005         * misc/gethostname.c (__gethostname): Likewise.
5006         * misc/getpass.c (getpass): Likewise.
5007         * misc/getttyent.c (skip): Likewise.
5008         (value): Likewise.
5009         * misc/gtty.c (gtty): Likewise.
5010         * misc/hsearch.c (hsearch): Likewise.
5011         (hcreate): Likewise.
5012         * misc/hsearch_r.c (__hcreate_r): Likewise.
5013         (__hdestroy_r): Likewise.
5014         * misc/ioctl.c (__ioctl): Likewise.
5015         * misc/mkdtemp.c (mkdtemp): Likewise.
5016         * misc/mkostemp.c (mkostemp): Likewise.
5017         * misc/mkostemp64.c (mkostemp64): Likewise.
5018         * misc/mkostemps.c (mkostemps): Likewise.
5019         * misc/mkostemps64.c (mkostemps64): Likewise.
5020         * misc/mkstemp.c (mkstemp): Likewise.
5021         * misc/mkstemp64.c (mkstemp64): Likewise.
5022         * misc/mkstemps.c (mkstemps): Likewise.
5023         * misc/mkstemps64.c (mkstemps64): Likewise.
5024         * misc/mktemp.c (__mktemp): Likewise.
5025         * misc/preadv.c (preadv): Likewise.
5026         * misc/preadv64.c (preadv64): Likewise.
5027         * misc/pwritev.c (pwritev): Likewise.
5028         * misc/pwritev64.c (pwritev64): Likewise.
5029         * misc/readv.c (__readv): Likewise.
5030         * misc/revoke.c (revoke): Likewise.
5031         * misc/setdomain.c (setdomainname): Likewise.
5032         * misc/setegid.c (setegid): Likewise.
5033         * misc/seteuid.c (seteuid): Likewise.
5034         * misc/sethostid.c (sethostid): Likewise.
5035         * misc/sethostname.c (sethostname): Likewise.
5036         * misc/setregid.c (__setregid): Likewise.
5037         * misc/setreuid.c (__setreuid): Likewise.
5038         * misc/sstk.c (sstk): Likewise.
5039         * misc/stty.c (stty): Likewise.
5040         * misc/syscall.c (syscall): Likewise.
5041         * misc/syslog.c (setlogmask): Likewise.
5042         * misc/truncate.c (__truncate): Likewise.
5043         * misc/truncate64.c (truncate64): Likewise.
5044         * misc/ualarm.c (ualarm): Likewise.
5045         * misc/usleep.c (usleep): Likewise.
5046         * misc/ustat.c (ustat): Likewise.
5047         * misc/writev.c (__writev): Likewise.
5048         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5049         * nptl/old_pthread_cond_broadcast.c
5050         (__pthread_cond_broadcast_2_0): Likewise.
5051         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5052         Likewise.
5053         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5054         Likewise.
5055         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5056         Likewise.
5057         * nptl/pt-raise.c (raise): Likewise.
5058         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5059         Likewise.
5060         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5061         * nptl/pthread_barrierattr_destroy.c
5062         (pthread_barrierattr_destroy): Likewise.
5063         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5064         Likewise.
5065         * nptl/pthread_barrierattr_setpshared.c
5066         (pthread_barrierattr_setpshared): Likewise.
5067         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5068         Likewise.
5069         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5070         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5071         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5072         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5073         Likewise.
5074         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5075         Likewise.
5076         * nptl/pthread_condattr_getpshared.c
5077         (pthread_condattr_getpshared): Likewise.
5078         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5079         Likewise.
5080         * nptl/pthread_condattr_setpshared.c
5081         (pthread_condattr_setpshared): Likewise.
5082         * nptl/pthread_detach.c (pthread_detach): Likewise.
5083         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5084         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5085         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5086         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5087         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5088         Likewise.
5089         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5090         Likewise.
5091         * nptl/pthread_mutex_getprioceiling.c
5092         (pthread_mutex_getprioceiling): Likewise.
5093         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5094         Likewise.
5095         * nptl/pthread_mutexattr_getprotocol.c
5096         (pthread_mutexattr_getprotocol): Likewise.
5097         * nptl/pthread_mutexattr_getpshared.c
5098         (pthread_mutexattr_getpshared): Likewise.
5099         * nptl/pthread_mutexattr_getrobust.c
5100         (pthread_mutexattr_getrobust): Likewise.
5101         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5102         Likewise.
5103         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5104         Likewise.
5105         * nptl/pthread_mutexattr_setprioceiling.c
5106         (pthread_mutexattr_setprioceiling): Likewise.
5107         * nptl/pthread_mutexattr_setprotocol.c
5108         (pthread_mutexattr_setprotocol): Likewise.
5109         * nptl/pthread_mutexattr_setpshared.c
5110         (pthread_mutexattr_setpshared): Likewise.
5111         * nptl/pthread_mutexattr_setrobust.c
5112         (pthread_mutexattr_setrobust): Likewise.
5113         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5114         Likewise.
5115         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5116         Likewise.
5117         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5118         Likewise.
5119         * nptl/pthread_rwlockattr_getkind_np.c
5120         (pthread_rwlockattr_getkind_np): Likewise.
5121         * nptl/pthread_rwlockattr_getpshared.c
5122         (pthread_rwlockattr_getpshared): Likewise.
5123         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5124         Likewise.
5125         * nptl/pthread_rwlockattr_setkind_np.c
5126         (pthread_rwlockattr_setkind_np): Likewise.
5127         * nptl/pthread_rwlockattr_setpshared.c
5128         (pthread_rwlockattr_setpshared): Likewise.
5129         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5130         Likewise.
5131         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5132         Likewise.
5133         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5134         Likewise.
5135         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5136         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5137         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5138         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5139         * nptl/sem_close.c (sem_close): Likewise.
5140         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5141         * nptl/sem_init.c (__old_sem_init): Likewise.
5142         * nptl/sigaction.c (__sigaction): Likewise.
5143         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5144         * posix/_exit.c (_exit): Likewise.
5145         * posix/alarm.c (alarm): Likewise.
5146         * posix/confstr.c (confstr): Likewise.
5147         * posix/fpathconf.c (__fpathconf): Likewise.
5148         * posix/getgroups.c (__getgroups): Likewise.
5149         * posix/getpgid.c (__getpgid): Likewise.
5150         * posix/group_member.c (__group_member): Likewise.
5151         * posix/pathconf.c (__pathconf): Likewise.
5152         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5153         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5154         * posix/setgid.c (__setgid): Likewise.
5155         * posix/setpgid.c (__setpgid): Likewise.
5156         * posix/setuid.c (__setuid): Likewise.
5157         * posix/sleep.c (__sleep): Likewise.
5158         * posix/sysconf.c (__sysconf): Likewise.
5159         * posix/times.c (__times): Likewise.
5160         * posix/uname.c (__uname): Likewise.
5161         * posix/waitid.c (__waitid): Likewise.
5162         * pwd/getpw.c (__getpw): Likewise.
5163         * resolv/base64.c (b64_pton): Likewise.
5164         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5165         * resolv/gethnamaddr.c (Dprintf): Likewise.
5166         (gethostbyname): Likewise.
5167         (gethostbyname2): Likewise.
5168         (gethostbyaddr): Likewise.
5169         (_sethtent): Likewise.
5170         (_gethtbyname): Likewise.
5171         (_gethtbyname2): Likewise.
5172         (_gethtbyaddr): Likewise.
5173         (map_v4v6_address): Likewise.
5174         (map_v4v6_hostent): Likewise.
5175         (addrsort): Likewise.
5176         (ht_sethostent): Likewise.
5177         (ht_gethostbyname): Likewise.
5178         (ht_gethostbyaddr): Likewise.
5179         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5180         (inet_net_ntop_ipv4): Likewise.
5181         * resolv/inet_neta.c (inet_neta): Likewise.
5182         * resolv/inet_ntop.c (inet_ntop): Likewise.
5183         (inet_ntop4): Likewise.
5184         (inet_ntop6): Likewise.
5185         * resolv/inet_pton.c (__inet_pton): Likewise.
5186         (inet_pton4): Likewise.
5187         (inet_pton6): Likewise.
5188         * resolv/res_debug.c (loc_aton): Likewise.
5189         (loc_ntoa): Likewise.
5190         * resource/getpriority.c (__getpriority): Likewise.
5191         * resource/getrusage.c (__getrusage): Likewise.
5192         * resource/nice.c (nice): Likewise.
5193         * resource/setpriority.c (__setpriority): Likewise.
5194         * resource/setrlimit64.c (setrlimit64): Likewise.
5195         * resource/vlimit.c (vlimit): Likewise.
5196         * resource/vtimes.c (vtimes): Likewise.
5197         * rt/aio_error.c (aio_error): Likewise.
5198         * rt/aio_return.c (aio_return): Likewise.
5199         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5200         * signal/kill.c (__kill): Likewise.
5201         * signal/killpg.c (killpg): Likewise.
5202         * signal/raise.c (raise): Likewise.
5203         * signal/sigaction.c (__sigaction): Likewise.
5204         * signal/sigaddset.c (sigaddset): Likewise.
5205         * signal/sigaltstack.c (sigaltstack): Likewise.
5206         * signal/sigandset.c (sigandset): Likewise.
5207         * signal/sigblock.c (__sigblock): Likewise.
5208         * signal/sigdelset.c (sigdelset): Likewise.
5209         * signal/sigempty.c (sigemptyset): Likewise.
5210         * signal/sigfillset.c (sigfillset): Likewise.
5211         * signal/sighold.c (sighold): Likewise.
5212         * signal/sigignore.c (sigignore): Likewise.
5213         * signal/sigintr.c (siginterrupt): Likewise.
5214         * signal/sigisempty.c (sigisemptyset): Likewise.
5215         * signal/sigismem.c (sigismember): Likewise.
5216         * signal/signal.c (signal): Likewise.
5217         * signal/sigorset.c (sigorset): Likewise.
5218         * signal/sigpause.c (__sigpause): Likewise.
5219         * signal/sigpending.c (sigpending): Likewise.
5220         * signal/sigprocmask.c (__sigprocmask): Likewise.
5221         * signal/sigrelse.c (sigrelse): Likewise.
5222         * signal/sigreturn.c (__sigreturn): Likewise.
5223         * signal/sigset.c (sigset): Likewise.
5224         * signal/sigsetmask.c (__sigsetmask): Likewise.
5225         * signal/sigstack.c (sigstack): Likewise.
5226         * signal/sigsuspend.c (__sigsuspend): Likewise.
5227         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5228         * signal/sysv_signal.c (__sysv_signal): Likewise.
5229         * socket/accept.c (accept): Likewise.
5230         * socket/accept4.c (__libc_accept4): Likewise.
5231         * socket/bind.c (__bind): Likewise.
5232         * socket/connect.c (__connect): Likewise.
5233         * socket/getpeername.c (getpeername): Likewise.
5234         * socket/getsockname.c (__getsockname): Likewise.
5235         * socket/getsockopt.c (getsockopt): Likewise.
5236         * socket/listen.c (__listen): Likewise.
5237         * socket/recv.c (__recv): Likewise.
5238         * socket/recvmsg.c (__recvmsg): Likewise.
5239         * socket/send.c (__send): Likewise.
5240         * socket/sendmsg.c (__sendmsg): Likewise.
5241         * socket/shutdown.c (shutdown): Likewise.
5242         * socket/sockatmark.c (sockatmark): Likewise.
5243         * socket/socket.c (__socket): Likewise.
5244         * stdio-common/ctermid.c (ctermid): Likewise.
5245         * stdio-common/cuserid.c (cuserid): Likewise.
5246         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5247         * stdio-common/remove.c (remove): Likewise.
5248         * stdio-common/rename.c (rename): Likewise.
5249         * stdio-common/renameat.c (renameat): Likewise.
5250         * stdio-common/tempname.c (__gen_tempname): Likewise.
5251         * stdio-common/xbug.c (InitBuffer): Likewise.
5252         (AppendToBuffer): Likewise.
5253         (ReadFile): Likewise.
5254         * stdlib/a64l.c (a64l): Likewise.
5255         * stdlib/drand48_r.c (drand48_r): Likewise.
5256         * stdlib/getcontext.c (getcontext): Likewise.
5257         * stdlib/getenv.c (getenv): Likewise.
5258         * stdlib/l64a.c (l64a): Likewise.
5259         * stdlib/llabs.c (llabs): Likewise.
5260         * stdlib/lldiv.c (lldiv): Likewise.
5261         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5262         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5263         * stdlib/putenv.c (putenv): Likewise.
5264         * stdlib/random.c (__srandom): Likewise.
5265         (__initstate): Likewise.
5266         (__setstate): Likewise.
5267         * stdlib/random_r.c (__srandom_r): Likewise.
5268         (__setstate_r): Likewise.
5269         (__random_r): Likewise.
5270         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5271         * stdlib/setcontext.c (setcontext): Likewise.
5272         * stdlib/setenv.c (setenv): Likewise.
5273         (unsetenv): Likewise.
5274         * stdlib/srand48.c (srand48): Likewise.
5275         * stdlib/srand48_r.c (__srand48_r): Likewise.
5276         * stdlib/swapcontext.c (swapcontext): Likewise.
5277         * stdlib/system.c (__libc_system): Likewise.
5278         * stdlib/tst-strtod.c (expand): Likewise.
5279         * stdlib/tst-strtol.c (expand): Likewise.
5280         * stdlib/tst-strtoll.c (expand): Likewise.
5281         * streams/fattach.c (fattach): Likewise.
5282         * streams/fdetach.c (fdetach): Likewise.
5283         * streams/getmsg.c (getmsg): Likewise.
5284         * streams/isastream.c (isastream): Likewise.
5285         * string/ffs.c (__ffs): Likewise.
5286         * string/ffsll.c (ffsll): Likewise.
5287         * string/memcmp.c (memcmp_common_alignment): Likewise.
5288         (memcmp_not_common_alignment): Likewise.
5289         (MEMCMP): Likewise.
5290         * string/memcpy.c (memcpy): Likewise.
5291         * string/memmove.c (MEMMOVE): Likewise.
5292         * string/memset.c (memset): Likewise.
5293         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5294         * string/strchrnul.c (STRCHRNUL): Likewise.
5295         * string/strerror.c (strerror): Likewise.
5296         * string/strndup.c (__strndup): Likewise.
5297         * string/strverscmp.c (__strverscmp): Likewise.
5298         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5299         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5300         (clnttcp_freeres): Likewise.
5301         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5302         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5303         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5304         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5305         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5306         (xdr_callhdr): Likewise.
5307         * sunrpc/rpcinfo.c (udpping): Likewise.
5308         (tcpping): Likewise.
5309         (pstatus): Likewise.
5310         (pmapdump): Likewise.
5311         (brdcst): Likewise.
5312         (deletereg): Likewise.
5313         (getprognum): Likewise.
5314         (getvers): Likewise.
5315         (get_inet_address): Likewise.
5316         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5317         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5318         (svcudp_stat): Likewise.
5319         (svcudp_recv): Likewise.
5320         (svcudp_reply): Likewise.
5321         (svcudp_getargs): Likewise.
5322         (svcudp_freeargs): Likewise.
5323         (svcudp_destroy): Likewise.
5324         * sunrpc/xdr.c (xdr_bytes): Likewise.
5325         (xdr_netobj): Likewise.
5326         (xdr_string): Likewise.
5327         (xdr_wrapstring): Likewise.
5328         * sunrpc/xdr_float.c (xdr_float): Likewise.
5329         (xdr_double): Likewise.
5330         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5331         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5332         * sysvipc/ftok.c (ftok): Likewise.
5333         * sysvipc/msgctl.c (msgctl): Likewise.
5334         * sysvipc/msgget.c (msgget): Likewise.
5335         * sysvipc/msgrcv.c (msgrcv): Likewise.
5336         * sysvipc/msgsnd.c (msgsnd): Likewise.
5337         * sysvipc/semget.c (semget): Likewise.
5338         * sysvipc/semop.c (semop): Likewise.
5339         * sysvipc/shmat.c (shmat): Likewise.
5340         * sysvipc/shmctl.c (shmctl): Likewise.
5341         * sysvipc/shmdt.c (shmdt): Likewise.
5342         * sysvipc/shmget.c (shmget): Likewise.
5343         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5344         * termios/speed.c (cfgetospeed): Likewise.
5345         (cfgetispeed): Likewise.
5346         (cfsetospeed): Likewise.
5347         (cfsetispeed): Likewise.
5348         * termios/tcflow.c (tcflow): Likewise.
5349         * termios/tcflush.c (tcflush): Likewise.
5350         * termios/tcgetattr.c (__tcgetattr): Likewise.
5351         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5352         * termios/tcgetsid.c (tcgetsid): Likewise.
5353         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5354         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5355         * time/adjtime.c (__adjtime): Likewise.
5356         * time/dysize.c (dysize): Likewise.
5357         * time/ftime.c (ftime): Likewise.
5358         * time/getitimer.c (__getitimer): Likewise.
5359         * time/gettimeofday.c (__gettimeofday): Likewise.
5360         * time/gmtime.c (__gmtime_r): Likewise.
5361         (gmtime): Likewise.
5362         * time/localtime.c (__localtime_r): Likewise.
5363         (localtime): Likewise.
5364         * time/offtime.c (__offtime): Likewise.
5365         * time/settimeofday.c (__settimeofday): Likewise.
5366         * time/stime.c (stime): Likewise.
5367         * time/strftime_l.c (tm_diff): Likewise.
5368         (iso_week_days): Likewise.
5369         * time/strptime.c (strptime): Likewise.
5370         * time/time.c (time): Likewise.
5371         * time/timespec_get.c (timespec_get): Likewise.
5372         * time/tzset.c (tzset_internal): Likewise.
5373         (compute_change): Likewise.
5374         (__tz_compute): Likewise.
5375         * wcsmbs/btowc.c (__btowc): Likewise.
5376         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5377         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5378         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5379         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5380         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5381         * wcsmbs/wcscat.c (__wcscat): Likewise.
5382         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5383         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5384         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5385         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5386         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5387         * wcsmbs/wcslen.c (__wcslen): Likewise.
5388         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5389         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5390         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5391         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5392         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5393         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5394         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5395         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5396         * wcsmbs/wcstok.c (wcstok): Likewise.
5397         * wcsmbs/wctob.c (wctob): Likewise.
5398         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5399         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5400         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5401         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5402         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5403         * wcsmbs/wmemset.c (__wmemset): Likewise.
5404         * wctype/wcfuncs.c (__towlower): Likewise.
5405         (__towupper): Likewise.
5407         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5408         (lll_unlock_elision): Add adapt_count parameter.
5410 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5412         * sysdeps/nptl/configure.ac: Do not give errors based on the
5413         results of top-level configure tests.
5414         * sysdeps/nptl/configure: Regenerated.
5416         * configure.ac (libc_cv_Bgroup): Remove configure test.
5417         * configure: Regenerated.
5418         * config.make.in (have-Bgroup): Remove variable.
5420         * configure.ac (sizeof_long_double): Remove configure test.
5421         * configure: Regenerated.
5422         * config.make.in (sizeof-long-double): Remove variable.
5424         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5425         * configure: Regenerated.
5426         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5427         variable.
5428         (exceptions): Likewise.
5429         * sysdeps/arm/configure: Regenerated.
5430         * config.make.in (exceptions): Remove variable.
5431         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5432         $(exceptions).
5433         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5434         (CFLAGS-vdprintf_chk.c): Likewise.
5435         (CFLAGS-printf_chk.c): Likewise.
5436         (CFLAGS-fprintf_chk.c): Likewise.
5437         (CFLAGS-vprintf_chk.c): Likewise.
5438         (CFLAGS-vfprintf_chk.c): Likewise.
5439         (CFLAGS-gets_chk.c): Likewise.
5440         (CFLAGS-fgets_chk.c): Likewise.
5441         (CFLAGS-fgets_u_chk.c): Likewise.
5442         (CFLAGS-fread_chk.c): Likewise.
5443         (CFLAGS-fread_u_chk.c): Likewise.
5444         (CFLAGS-wprintf_chk.c): Likewise.
5445         (CFLAGS-fwprintf_chk.c): Likewise.
5446         (CFLAGS-vwprintf_chk.c): Likewise.
5447         (CFLAGS-vfwprintf_chk.c): Likewise.
5448         (CFLAGS-fgetws_chk.c): Likewise.
5449         (CFLAGS-fgetws_u_chk.c): Likewise.
5450         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5451         (CFLAGS-fputc.c): Likewise.
5452         (CFLAGS-fputwc.c): Likewise.
5453         (CFLAGS-freopen64.c): Likewise.
5454         (CFLAGS-freopen.c): Likewise.
5455         (CFLAGS-fseek.c): Likewise.
5456         (CFLAGS-fseeko64.c): Likewise.
5457         (CFLAGS-fseeko.c): Likewise.
5458         (CFLAGS-ftello64.c): Likewise.
5459         (CFLAGS-ftello.c): Likewise.
5460         (CFLAGS-fwide.c): Likewise.
5461         (CFLAGS-genops.c): Likewise.
5462         (CFLAGS-getc.c): Likewise.
5463         (CFLAGS-getchar.c): Likewise.
5464         (CFLAGS-getwc.c): Likewise.
5465         (CFLAGS-getwchar.c): Likewise.
5466         (CFLAGS-iofclose.c): Likewise.
5467         (CFLAGS-iofflush.c): Likewise.
5468         (CFLAGS-iofgetpos64.c): Likewise.
5469         (CFLAGS-iofgetpos.c): Likewise.
5470         (CFLAGS-iofgets.c): Likewise.
5471         (CFLAGS-iofgetws.c): Likewise.
5472         (CFLAGS-iofputs.c): Likewise.
5473         (CFLAGS-iofputws.c): Likewise.
5474         (CFLAGS-iofread.c): Likewise.
5475         (CFLAGS-iofsetpos64.c): Likewise.
5476         (CFLAGS-iofsetpos.c): Likewise.
5477         (CFLAGS-ioftell.c): Likewise.
5478         (CFLAGS-iofwrite.c): Likewise.
5479         (CFLAGS-iogetdelim.c): Likewise.
5480         (CFLAGS-iogetline.c): Likewise.
5481         (CFLAGS-iogets.c): Likewise.
5482         (CFLAGS-iogetwline.c): Likewise.
5483         (CFLAGS-ioputs.c): Likewise.
5484         (CFLAGS-ioseekoff.c): Likewise.
5485         (CFLAGS-ioseekpos.c): Likewise.
5486         (CFLAGS-iosetbuffer.c): Likewise.
5487         (CFLAGS-iosetvbuf.c): Likewise.
5488         (CFLAGS-ioungetc.c): Likewise.
5489         (CFLAGS-ioungetwc.c): Likewise.
5490         (CFLAGS-oldfileops.c): Likewise.
5491         (CFLAGS-oldiofclose.c): Likewise.
5492         (CFLAGS-oldiofgetpos64.c): Likewise.
5493         (CFLAGS-oldiofgetpos.c): Likewise.
5494         (CFLAGS-oldiofsetpos64.c): Likewise.
5495         (CFLAGS-oldiofsetpos.c): Likewise.
5496         (CFLAGS-peekc.c): Likewise.
5497         (CFLAGS-putc.c): Likewise.
5498         (CFLAGS-putchar.c): Likewise.
5499         (CFLAGS-putwc.c): Likewise.
5500         (CFLAGS-putwchar.c): Likewise.
5501         (CFLAGS-rewind.c): Likewise.
5502         (CFLAGS-wfileops.c): Likewise.
5503         (CFLAGS-wgenops.c): Likewise.
5504         (CFLAGS-oldiofopen.c): Likewise.
5505         (CFLAGS-iofopen.c): Likewise.
5506         (CFLAGS-iofopen64.c): Likewise.
5507         (CFLAGS-oldtmpfile.c): Likewise.
5508         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5509         (CFLAGS-fprintf.c): Likewise.
5510         (CFLAGS-printf.c): Likewise.
5511         (CFLAGS-vfwprintf.c): Likewise.
5512         (CFLAGS-vfscanf.c): Likewise.
5513         (CFLAGS-vfwscanf.c): Likewise.
5514         (CFLAGS-fscanf.c): Likewise.
5515         (CFLAGS-scanf.c): Likewise.
5516         (CFLAGS-isoc99_vfscanf.c): Likewise.
5517         (CFLAGS-isoc99_vscanf.c): Likewise.
5518         (CFLAGS-isoc99_fscanf.c): Likewise.
5519         (CFLAGS-isoc99_scanf.c): Likewise.
5520         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5521         (CFLAGS-isoc99_fwscanf.c): Likewise.
5522         (CFLAGS-isoc99_vwscanf.c): Likewise.
5523         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5525         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5526         after mkstemp64.
5527         * login/tst-utmp.c (do_prepare): Likewise.
5528         * rt/tst-aio.c (do_prepare): Likewise.
5529         * rt/tst-aio64.c (do_prepare): Likewise.
5531 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5533         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5534         (__lll_lock_elision): Remove adapt_count decrement...
5535         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5536         (__lll_trylock_elision): Likewise.
5537         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5538         (__lll_unlock_elision): ... to here. And utilize
5539         new adapt_count parameter.
5540         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5541         (__lll_unlock_elision): Update to include adapt_count
5542         parameter.
5543         (lll_unlock_elision): Pass pointer to adapt_count
5544         variable.
5546 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5548         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5549         Add elision adapt_count parameter to list of arguments.
5550         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5551         (lll_unlock_elision): Update with new parameter list
5552         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5553         (lll_unlock_elision): Likewise.
5554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5555         (lll_unlock_elision): Likewise.
5557 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5559         [BZ #19122]
5560         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5561         attribute_hidden.
5563         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5564         attribute_hidden.
5565         [IS_IN (rtld)] (__strdup): Likewise.
5566         [IS_IN (rtld)] (__strerror_r): Likewise.
5567         [IS_IN (rtld)] (__strsep_g): Likewise.
5568         [IS_IN (rtld)] (memchr): Likewise.
5569         [IS_IN (rtld)] (memcmp): Likewise.
5570         [IS_IN (rtld)] (memcpy): Likewise.
5571         [IS_IN (rtld)] (memmove): Likewise.
5572         [IS_IN (rtld)] (memset): Likewise.
5573         [IS_IN (rtld)] (rawmemchr): Likewise.
5574         [IS_IN (rtld)] (stpcpy): Likewise.
5575         [IS_IN (rtld)] (strchr): Likewise.
5576         [IS_IN (rtld)] (strcmp): Likewise.
5577         [IS_IN (rtld)] (strlen): Likewise.
5578         [IS_IN (rtld)] (strnlen): Likewise.
5579         [IS_IN (rtld)] (strsep): Likewise.
5581         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5582         attribute_hidden.
5583         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5585         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5586         attribute_hidden.
5587         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5589         * include/setjmp.h (__longjmp): Add attribute_hidden.
5590         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5592         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5593         Add attribute_hidden.
5595         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5596         [IS_IN (rtld)] (__open): Likewise.
5597         [IS_IN (rtld)] (__fcntl): Likewise.
5599         * include/dirent.h (__opendirat): Add attribute_hidden.
5600         (__getdents): Likewise.
5601         (__getdents64): Likewise.
5602         (__alloc_dir): Likewise.
5603         [IS_IN (rtld)] (__closedir): Likewise.
5604         [IS_IN (rtld)] (__fdopendir): Likewise.
5605         [IS_IN (rtld)] (__readdir): Likewise.
5606         [IS_IN (rtld)] (__readdir64): Likewise.
5607         [IS_IN (rtld)] (__rewinddir): Likewise.
5609         * include/dlfcn.h (_dl_catch_error): Moved to ...
5610         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5611         attribute_hidden.
5613         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5614         (_itoa_word): Likewise.
5616         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5617         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5618         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5619         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5620         (_dl_higher_prime_number): Likewise.
5621         (_dl_debug_printf_c): Likewise.
5622         (_dl_signal_cerror): Likewise.
5623         (_dl_receive_error): Likewise.
5624         (_dl_reloc_bad_type): Likewise.
5625         (_dl_resolve_conflicts): Likewise.
5626         (_dl_check_all_versions): Likewise.
5627         (_dl_check_map_versions): Likewise.
5628         (_dl_sort_fini): Likewise.
5629         (_dl_debug_initialize): Likewise.
5630         (_dl_init_paths): Likewise.
5631         (_dl_show_auxv): Likewise.
5632         (_dl_next_ld_env_entry): Likewise.
5633         (_dl_important_hwcaps): Likewise.
5634         (_dl_load_cache_lookup): Likewise.
5635         (_dl_update_slotinfo): Likewise.
5636         (_dl_show_scope): Likewise.
5638         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5639         attribute_hidden.
5640         (_wordcopy_fwd_dest_aligned): Likewise.
5641         (_wordcopy_bwd_aligned): Likewise.
5642         (_wordcopy_bwd_dest_aligned): Likewise.
5644         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5645         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5646         Likewise.
5647         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5648         Likewise.
5649         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5651 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5653         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5654         GCC 5 requirement.
5656 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5658         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5659         test.
5660         * sysdeps/i386/configure: Regenerated.
5661         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5662         code unconditional.
5664         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5665         test.
5666         (libc_cv_asm_popsection_directive): Likewise.
5667         * configure: Regenerated.
5668         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5669         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5670         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5671         (__make_section_unallocated): Make definition unconditional.
5672         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5673         Remove conditional definition.
5674         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5675         (__make_section_unallocated): Likewise.
5677         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5678         * configure: Regenerated.
5679         * config.make.in (static-libgcc): Remove variable.
5680         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5681         $(static-libgcc).
5682         (build-module-helper): Likewise.
5684         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5685         * configure: Regenerated.
5687 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5689         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5690         (struct char_buffer): New type.
5691         (char_buffer_start, char_buffer_size, char_buffer_error)
5692         (char_buffer_rewind, char_buffer_add): New functions.
5693         (ADDW): Remove macro, replaced by the char_buffer_add function.
5694         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5695         of extend_alloca.  Make control flow more explicit.
5697 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5699         [BZ #19137]
5700         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5701         Add -fomit-frame-pointer.
5702         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5704 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5706         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5707         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5708         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5709         only if !__GNUC_PREREQ (5,0).
5710         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5711         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5712         (INTERNAL_SYSCALL_NCS): Likewise.
5713         (LOADREGS_0): New macro for GCC 5.
5714         (ASMARGS_0): Likewise.
5715         (LOADREGS_1): Likewise.
5716         (ASMARGS_1): Likewise.
5717         (LOADREGS_2): Likewise.
5718         (ASMARGS_2): Likewise.
5719         (LOADREGS_3): Likewise.
5720         (ASMARGS_3): Likewise.
5721         (LOADREGS_4): Likewise.
5722         (ASMARGS_4): Likewise.
5723         (LOADREGS_5): Likewise.
5724         (ASMARGS_5): Likewise.
5725         (LOADREGS_6): Likewise.
5726         (ASMARGS_6): Likewise.
5728 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5730         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5731         -fomit-frame-pointer.
5732         (CFLAGS-mmap64.c): Likewise.
5733         (CFLAGS-semtimedop.c): Likewise.
5734         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5735         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5736         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5737         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5739 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5741         [BZ #18928]
5742         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5743         _dl_pointer_guard member.
5744         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5745         initializer.
5746         (security_init): Always set up pointer guard.
5747         (process_envvars): Do not process LD_POINTER_GUARD.
5749 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5751         [BZ #19134]
5752         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5753         (.LC2): Likewise.
5754         (.LC3): Likewise.
5755         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5757 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5759         [BZ #19129]
5760         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5761         r0 and r1.
5763 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5765         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5767 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5769         * include/stap-probe.h: Fix macro definition formatting.
5771 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5773         [BZ #19074]
5774         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5775         load and store num_ifs.
5777 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5779         [BZ #18822]
5780         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5781         (__sched_getaffinity_new): Add libc_hidden_proto and
5782         libc_hidden_def.
5784 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5786         [BZ #19007]
5787         * scripts/localplt.awk: Also allow GOT references.
5788         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5789         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5790         with "+ REL R_386_GLOB_DAT".
5791         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5792         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5794 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5796         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5797         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5798         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5799         Likewise.
5800         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5801         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5802         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5803         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5804         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5805         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5806         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5807         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5808         Likewise.
5809         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5811 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5813         [BZ #19125]
5814         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5815         <math_private.h> and <stdint.h>.
5816         (__llround): Avoid conversions to and from long long int, and
5817         subtractions, where those might raise spurious exceptions.
5818         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5819         <math_private.h> and <stdint.h>.
5820         (__llroundf): Avoid conversions to and from long long int, and
5821         subtractions, where those might raise spurious exceptions.
5823 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5825         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5826         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5827         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5828         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5829         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5830         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5831         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5832         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5833         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5834         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5835         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5836         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5837         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5838         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5839         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5840         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5841         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5842         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5843         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5844         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5845         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5846         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5847         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5848         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5849         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5850         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5851         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5852         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5853         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5854         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5855         (__xstat64_conv): Likewise.
5856         (__xstat32_conv): Likewise.
5858 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5860         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5861         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5862         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5863         <sysdeps/unix/sysv/linux/sysdep.h>.
5864         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5865         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5866         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5867         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5868         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5869         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5870         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5871         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5872         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5877         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5878         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5880         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5881         (sysdep-dl-routines): Add sysdep.
5882         [$(subdir) == nptl] (libpthread-routines): Likewise.
5883         [$(subdir) == rt] (librt-routines): Likewise.
5884         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5885         PIC when branching to SYSCALL_ERROR_LABEL.
5886         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5887         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5888         <sysdeps/unix/sysv/linux/sysdep.h>.
5889         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5890         (SYSCALL_ERROR_ERRNO): Removed.
5891         (SYSCALL_ERROR_HANDLER): Changed to empty.
5892         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5893         (__syscall_error): New prototype.
5894         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5895         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5897 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5899         [BZ #19124]
5900         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5901         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5902         _dl_runtime_resolve_avx.
5903         (_dl_runtime_profile_avx512): Make it a hidden alias of
5904         _dl_runtime_profile_avx.
5906 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5908         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5909         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5910         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5911         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5913         [BZ #16422]
5914         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5915         New configure test.
5916         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5917         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5918         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5919         <math_private.h> and <stdint.h>.
5920         (__llrint): Avoid conversions to long long int where those might
5921         raise spurious exceptions.
5922         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5923         <math_private.h> and <stdint.h>.
5924         (__llrintf): Avoid conversions to long long int where those might
5925         raise spurious exceptions.
5927 2015-10-12  Andreas Schwab  <schwab@suse.de>
5929         [BZ #18969]
5930         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5931         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5932         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5933         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5934         $(gen-locales).
5935         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5936         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5937         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5938         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5939         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5940         $(gen-locales).
5941         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5942         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5943         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5944         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5945         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5946         ($(objpfx)tst-ftell-active-handler.out)
5947         ($(objpfx)tst-ftell-append.out)
5948         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5949         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5950         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5951         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5952         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5953         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5954         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5955         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5956         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5957         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5958         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5959         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5960         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5961         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5962         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5963         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5964         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5965         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5966         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5967         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5968         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5969         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5970         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5971         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5972         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5973         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5974         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5975         $(gen-locales).
5976         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5977         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5978         $(gen-locales).
5979         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5980         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5981         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5982         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5983         $(gen-locales).
5984         * libio/tst_wprintf2.c (main): Use explicit locale.
5985         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5987 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5989         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5990         __msg_sig_post.
5991         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5993 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5995         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5996         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5998         * sysdeps/arm/libm-test-ulps: Regenerated.
6000         [BZ #15470]
6001         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6003         [BZ #16399]
6004         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6005         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6006         and <fix-fp-int-convert-overflow.h>.
6007         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6008         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6009         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6010         and <fix-fp-int-convert-overflow.h>.
6011         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6012         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6013         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6014         <fix-fp-int-convert-overflow.h>.
6015         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6016         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6017         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6018         <fix-fp-int-convert-overflow.h>.
6019         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6020         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6021         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6022         and <fix-fp-int-convert-overflow.h>.
6023         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6024         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6025         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6026         <limits.h> and <fix-fp-int-convert-overflow.h>.
6027         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6028         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6029         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6030         and <fix-fp-int-convert-overflow.h>.
6031         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6032         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6033         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6034         and <fix-fp-int-convert-overflow.h>.
6035         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6036         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6037         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6039 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6041         [BZ #18589]
6042         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6043         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6044         $(gen-locales).
6046 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6047             Phil Blundell <pb@pbcl.net>
6049         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6050         * nptl/tst-cancel26.c: New file.
6051         * nptl/tst-cancel27.c: Likewise.
6053 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6055         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6056         __ILP32__ isn't defined.
6057         (lrint): Likewise.
6058         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6059         (lrintf): Likewise.
6060         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6061         (lrintl): Likewise.
6062         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6063         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6064         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6066 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6068         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6069         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6071         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6072         file.
6073         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6074         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6076 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6078         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6079         configure test.
6080         * sysdeps/i386/configure: Regenerated.
6081         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6082         configure test.
6083         * sysdeps/x86_64/configure: Regenerated.
6084         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6085         Make code unconditional.
6087         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6088         test.
6089         * sysdeps/i386/configure: Regenerated.
6090         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6091         test.
6092         * sysdeps/x86_64/configure: Regenerated.
6093         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6094         Make code unconditional.
6095         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6096         Likewise.
6097         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6098         Likewise.
6099         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6100         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6101         code unconditional.
6102         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6103         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6104         code unconditional.
6105         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6106         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6107         code unconditional.
6108         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6109         code unconditional.
6110         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6111         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6112         code unconditional.
6113         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6114         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6115         code unconditional.
6116         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6117         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6118         code unconditional.
6119         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6120         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6121         code unconditional.
6122         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6123         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6125         [BZ #19095]
6126         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6127         mantissa to long int before shifting left.
6129 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6131         [BZ #19094]
6132         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6133         <limits.h>.
6134         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6135         when result overflows but exception would not result from cast.
6136         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6137         <limits.h>.
6138         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6139         when result overflows but exception would not result from cast.
6140         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6141         <limits.h>.
6142         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6143         when result overflows but exception would not result from cast.
6144         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6145         <limits.h>.
6146         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6147         when result overflows but exception would not result from cast.
6148         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6149         <limits.h>.
6150         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6151         when result overflows but exception would not result from cast.
6152         * math/libm-test.inc (lrint_test_data): Add more tests.
6153         (llrint_test_data): Likewise.
6155 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6157         [BZ #18872]
6158         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6159         Move out from under [$(run-built-tests) = yes] conditional.
6160         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6161         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6163 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6165         [BZ #18589]
6166         * string/Makefile (tests): Add bug-strcoll2.
6167         (LOCALES): Add cs_CZ.UTF-8.
6168         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6170         [BZ #18589]
6171         * string/bug-strcoll2.c: New file.
6172         * locale/categories.def: Revert commit
6173         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6174         * locale/langinfo.h: Likewise.
6175         * locale/localeinfo.h: Likewise.
6176         * locale/C-collate.c: Likewise.
6177         * locale/programs/ld-collate.c (collate_output): Likewise.
6178         * string/strcoll_l.c (STRDIFF): Likewise.
6179         (STRCOLL): Likewise.
6180         * wcsmbs/wcscoll_l.c: Likewise.
6182 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6184         * math/libm-test.inc (lround_test_data): Do not expect the absence
6185         of "inexact" for some tests with non-integer arguments.
6186         (llround_test_data): Likewise.
6188         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6189         test.
6190         (libc_cv_cc_sse2avx): Likewise.
6191         * sysdeps/i386/configure: Regenerated.
6192         * sysdeps/i386/i686/multiarch/Makefile
6193         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6194         [$(subdir) = math].
6195         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6196         code unconditional.
6197         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6198         Likewise.
6199         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6200         Likewise.
6201         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6202         Likewise.
6203         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6204         test.
6205         (libc_cv_cc_sse2avx): Likewise.
6206         * sysdeps/x86_64/configure: Regenerated.
6207         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6208         unconditional.
6209         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6210         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6211         unconditional.
6212         (_dl_runtime_profile)
6213         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6214         conditional code.
6215         * sysdeps/x86_64/fpu/multiarch/Makefile
6216         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6217         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6218         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6219         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6220         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6221         * sysdeps/x86_64/fpu/multiarch/e_log.c
6222         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6223         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6224         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6225         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6226         Likewise.
6227         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6228         Likewise.
6229         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6230         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6231         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6232         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6233         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6234         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6235         (HAVE_SSE2AVX_SUPPORT): Likewise.
6237 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6239         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6240         instead of #pragma optimize.
6242 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6244         [BZ #17195]
6245         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6246         as is similarly done in systrim and _int_free already.
6248 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6250         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6252 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6254         [BZ #19088]
6255         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6256         <limits.h>.
6257         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6258         overflows but exception would not result from cast.
6259         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6260         and <limits.h>.
6261         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6262         overflows but exception would not result from cast.
6263         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6264         <limits.h>.
6265         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6266         overflows but exception would not result from cast.
6267         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6268         <limits.h>.
6269         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6270         overflows but exception would not result from cast.
6271         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6272         <limits.h>.
6273         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6274         overflows but exception would not result from cast.
6275         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6276         <limits.h>.
6277         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6278         overflows but exception would not result from cast.
6279         * math/libm-test.inc (lround_test_data): Add more tests.
6280         (llround_test_data): Likewise.
6282 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6284         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6285         (CFLAGS-ialloc.c): Ditto.
6286         (CFLAGS-scheck.c): Ditto.
6288 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6290         [BZ #19086]
6291         * manual/filesys.texi (Storage Allocation): Fix argument order for
6292         posix_fallocate64.
6294 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #19085]
6297         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6298         exponent below 48 inside case for non-overflowing exponent.
6299         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6301 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6303         * iconvdata/cp737.h (from_idx): Add const.
6304         * iconvdata/cp775.h (from_idx): Likewise.
6306 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6308         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6309         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6310         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6312         [BZ #19079]
6313         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6314         file, conditioned on [!_LP64].
6315         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6316         [!_LP64] (__lround): Do not define as function or alias.
6317         [!_LP64] (lround): Likewise.
6318         [!_LP64] (__lroundl): Likewise.
6319         [!_LP64] (lroundl): Likewise.
6320         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6321         macro.
6322         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6323         Likewise.
6325 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6327         * math/libm-test.inc (lrint_test_data): Add more tests.
6328         (llrint_test_data): Likewise.
6329         (lround_test_data): Likewise.
6330         (llround_test_data): Likewise.
6332         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6333         (llrint_test_data): Add tests used for lrint.
6335         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6336         test.
6337         * sysdeps/i386/configure: Regenerated.
6338         * sysdeps/i386/i686/multiarch/Makefile
6339         [$(config-cflags-sse4) = yes]: Make code unconditional.
6340         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6341         Likewise.
6342         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6343         Likewise.
6344         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6345         test.
6346         * sysdeps/x86_64/configure: Regenerated.
6347         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6348         Make code unconditional.
6349         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6350         Likewise.
6351         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6352         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6354         * scripts/rpm2dynsym.sh: Remove file.
6356 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6358         * configure.ac (libc_cv_cxx_thread_local): Define.
6359         * configure: Regenerate.
6360         * config.make.in (have-cxx-thread_local): Define.
6361         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6362         (LDLIBS-tst-thread_local1): Define.
6363         (tests): Add tst-thread_local1.
6364         [have-cxx-thread_local != yes] (tests-unsupported): Add
6365         tst-thread_local1.
6366         * nptl/tst-thread_local1.cc: New file.
6368 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6370         [BZ #19078]
6371         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6372         (u_thres): Likewise.
6373         (__expl): Determine whether to call __kernel_standard_l based on
6374         value of result, not argument.
6376         * math/libm-test.inc (scalb_test_data): Add more expectations for
6377         the "inexact" exception.
6379         [BZ #19077]
6380         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6381         0.0L for argument 1.0L.
6383         [BZ #19076]
6384         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6385         constant 0.0L when computing infinite result.
6387 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6389         [BZ #10432]
6390         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6391         malloc_usable_size.
6393 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6395         [BZ #19018]
6396         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6397         Mangle function pointer before storing it.
6398         (__call_tls_dtors): Demangle function pointer before calling it.
6400 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6402         [BZ #19012]
6403         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6404         Clean up on failure.
6406 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #19071]
6409         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6410         long int variable to store possibly incremented high part of
6411         mantissa.
6412         * math/libm-test.inc (lround_test_data): Add tests used for
6413         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6414         for tests requiring 64-bit long.  Do not condition tests on
6415         [TEST_FLOAT] unnecessarily.
6416         (llround_test_data): Add tests used for lround.  Add another
6417         expectation for the "inexact" exception.  Do not condition tests
6418         on [TEST_FLOAT] unnecessarily.
6420         [BZ #887]
6421         [BZ #19049]
6422         [BZ #19050]
6423         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6424         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6425         <fix-int-fp-convert-zero.h>.
6426         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6427         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6428         <fix-int-fp-convert-zero.h>.
6429         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6430         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6431         <fix-int-fp-convert-zero.h>.
6432         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6433         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6434         <fix-int-fp-convert-zero.h>.
6435         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6436         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6437         <fix-int-fp-convert-zero.h>.
6438         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6439         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6440         <fix-int-fp-convert-zero.h>.
6441         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6442         * sysdeps/ieee754/flt-32/s_erff.c: Include
6443         <fix-int-fp-convert-zero.h>.
6444         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6445         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6446         <fix-int-fp-convert-zero.h>.
6447         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6449         <fix-int-fp-convert-zero.h>.
6450         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6452         <fix-int-fp-convert-zero.h>.
6453         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6454         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6455         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6456         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6457         file.
6458         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6460 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6462         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6464 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6466         [BZ #19059]
6467         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6468         overflowing computation.
6469         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6470         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6472         Likewise.
6473         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6474         Likewise.
6475         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6476         Likewise.
6477         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6478         Likewise.
6479         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6480         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6481         Likewise.
6482         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6483         Likewise.
6484         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6486         * nss/rewrite_field.c (__nss_rewrite_field): Use
6487         internal_function.
6488         * nss/valid_field.c (__nss_valid_field): Likewise.
6489         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6491 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6493         [BZ #18724]
6494         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6495         (__nss_invalid_field_characters, __nss_valid_field)
6496         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6497         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6498         tst-field.c: New file.
6499         * nss/Makefile (routines): Add valid_field, rewrite_field.
6500         (tests-static): Define unconditionally.
6501         (tests): Include tests-static.
6502         [build-static-nss] (tests-static): Use append.
6503         [build-static-nss] (tests): Remove modification.
6504         * nss/getent.c (print_group): Call putgrent.  Report error.
6505         (print_gshadow): Call putsgent.  Report error.
6506         (print_passwd): Call putpwent.  Report error.
6507         (print_shadow): Call putspent.  Report error.
6508         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6509         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6510         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6511         name, password, directory, shell fields for valid syntax.  Rewrite
6512         GECOS field to match syntax.
6513         * pwd/Makefile (tests): Add tst-putpwent.
6514         * pwd/tst-putpwent.c: New file.
6515         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6516         Check grName, grpasswd, gr_mem fields for valid syntax.
6517         Change loop variable i to size_t.
6518         * grp/Makefile (tests): Add tst-putgrent.
6519         * grp/tst-putgrent.c: New file.
6520         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6521         valid syntax.
6522         * shadow/Makefile (tests): Add tst-putspent.
6523         * shadow/tst-putspent.c: New file.
6524         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6525         sg_mem fields for valid syntax.
6526         * gshadow/Makefile (tests): Add tst-putsgent.
6527         * gshadow/tst-putsgent.c: New file.
6529 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6531         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6532         assembly instructions.
6534 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6536         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6537         prefix from operands.
6539 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #16347]
6542         [BZ #19046]
6543         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6544         <libc-internal.h>.
6545         (MAXLGM): Do not use diagnostic control macros.
6546         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6547         threshold for ldbl-128ibm.
6548         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6549         instead of multiplying by log then subtracting.
6550         * math/auto-libm-test-in: Add more tests of lgamma.
6551         * math/auto-libm-test-out: Regenerated.
6553         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6554         (TYPE_HEX_DIG): Likewise.
6555         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6556         precisions when printing floating-point numbers.
6557         (check_float_internal): Likewise.
6559 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6561         [BZ #16620]
6562         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6563         of log (10) rounded downward to 48 bits.
6564         (log10_low): Use corresponding low part of log (10).
6566         [BZ #19032]
6567         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6568         compute result as (x - x) / (x - x) not as 0 / 0.
6569         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6570         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6572         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6573         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6574         and expm1.
6575         * math/auto-libm-test-out: Regenerated.
6576         * math/libm-test.inc (acos_test_data): Add more tests.
6577         (asin_test_data): Likewise.
6578         (asinh_test_data): Likewise.
6579         (atan_test_data): Likewise.
6580         (atanh_test_data): Likewise.
6581         (atan2_test_data): Likewise.
6582         (cbrt_test_data): Likewise.
6583         (ceil_test_data): Likewise.
6584         (copysign_test_data): Likewise.
6585         (cos_test_data): Likewise.
6586         (cosh_test_data): Likewise.
6587         (erf_test_data): Likewise.
6588         (erfc_test_data): Likewise.
6589         (exp_test_data): Likewise.
6590         (exp10_test_data): Likewise.
6591         (exp2_test_data): Likewise.
6592         (expm1_test_data): Likewise.
6593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6595 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6597         [BZ #19006]
6598         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6599         to ...
6600         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6601         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6602         to ...
6603         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6604         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6605         to ...
6606         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6607         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6608         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6609         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6610         to ...
6611         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6612         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6613         Moved to ...
6614         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6615         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6616         Moved to ...
6617         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6618         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6619         to ...
6620         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6621         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6622         Moved to ...
6623         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6624         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6625         to ...
6626         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6627         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6628         Removed.
6629         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6630         Likewise.
6631         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6632         Likewise.
6633         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6634         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6635         Likewise.
6636         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6637         Likewise.
6638         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6639         Likewise.
6640         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6641         Likewise.
6642         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6643         Likewise.
6644         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6645         Likewise.
6646         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6647         Likewise.
6648         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6649         Likewise.
6650         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6651         Likewise.
6652         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6653         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6654         Likewise.
6655         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6656         Likewise.
6657         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6658         Likewise.
6659         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6660         Likewise.
6661         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6662         Likewise.
6663         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6664         Replace ../i486/pthread_cond_timedwait.S with
6665         ../pthread_cond_timedwait.S.
6667 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6669         * math/libm-test.inc (acos_test_data): Refine expectations for
6670         errno and "inexact" exceptions.
6671         (acosh_test_data): Likewise.
6672         (asin_test_data): Likewise.
6673         (asinh_test_data): Likewise.
6674         (atan_test_data): Likewise.
6675         (atanh_test_data): Likewise.
6676         (atan2_test_data): Likewise.
6677         (cbrt_test_data): Likewise.
6678         (ceil_test_data): Likewise.
6679         (copysign_test_data): Likewise.
6680         (cosh_test_data): Likewise.
6681         (erf_test_data): Likewise.
6682         (erfc_test_data): Likewise.
6683         (exp_test_data): Likewise.
6684         (exp10_test_data): Likewise.
6685         (exp2_test_data): Likewise.
6686         (expm1_test_data): Likewise.
6687         (fabs_test_data): Likewise.
6688         (floor_test_data): Likewise.
6689         (fma_test_data): Likewise.
6690         (fmax_test_data): Likewise.
6691         (fmin_test_data): Likewise.
6692         (fmod_test_data): Likewise.
6693         (fpclassify_test_data): Likewise.
6694         (frexp_test_data): Likewise.
6695         (hypot_test_data): Likewise.
6696         (ilogb_test_data): Likewise.
6697         (isgreater_test_data): Likewise.
6698         (isgreaterequal_test_data): Likewise.
6699         (isinf_test_data): Likewise.
6700         (isless_test_data): Likewise.
6701         (islessequal_test_data): Likewise.
6702         (islessgreater_test_data): Likewise.
6703         (isnan_test_data): Likewise.
6704         (isnormal_test_data): Likewise.
6705         (issignaling_test_data): Likewise.
6706         (isunordered_test_data): Likewise.
6707         (j0_test_data): Likewise.
6708         (j1_test_data): Likewise.
6709         (jn_test_data): Likewise.
6710         (lgamma_test_data): Likewise.
6711         (lrint_test_data): Likewise.
6712         (llrint_test_data): Likewise.
6713         (log_test_data): Likewise.
6714         (log10_test_data): Likewise.
6715         (log1p_test_data): Likewise.
6716         (log2_test_data): Likewise.
6717         (logb_test_data): Likewise.
6718         (lround_test_data): Likewise.
6719         (llround_test_data): Likewise.
6720         (modf_test_data): Likewise.
6721         (nearbyint_test_data): Likewise.
6722         (nextafter_test_data): Likewise.
6723         (nexttoward_test_data): Likewise.
6724         (pow_test_data): Likewise.
6725         (remainder_test_data): Likewise.
6726         (remquo_test_data): Likewise.
6727         (rint_test_data): Likewise.
6728         (round_test_data): Likewise.
6729         (signbit_test_data): Likewise.
6730         (sinh_test_data): Likewise.
6731         (sqrt_test_data): Likewise.
6732         (tanh_test_data): Likewise.
6733         (tgamma_test_data): Likewise.
6734         (trunc_test_data): Likewise.
6735         (y0_test_data): Likewise.
6736         (y1_test_data): Likewise.
6737         (yn_test_data): Likewise.
6738         (significand_test_data): Likewise.
6740 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6742         * manual/filesys.texi (Storage Allocation): Document that
6743         posix_fallocate emulation fails when fd is open with O_WRONLY.
6745 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6747         [BZ #19016]
6748         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6749         allow more cases with X^2 + Y^2 >= 0.5.
6750         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6751         normal element in sum instead of special-casing based on values of
6752         arguments.
6753         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6754         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6755         -1 as normal element in sum instead of special-casing based on
6756         values of arguments.
6757         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6758         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6759         (__x2y2m1): Update comment.
6760         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6761         as normal element in sum instead of special-casing based on values
6762         of arguments.
6763         * math/s_clog.c (__clog): Handle more cases using log1p without
6764         hypot.
6765         * math/s_clog10.c (__clog10): Likewise.
6766         * math/s_clog10f.c (__clog10f): Likewise.
6767         * math/s_clog10l.c (__clog10l): Likewise.
6768         * math/s_clogf.c (__clogf): Likewise.
6769         * math/s_clogl.c (__clogl): Likewise.
6770         * math/auto-libm-test-in: Add more tests of clog and clog10.
6771         * math/auto-libm-test-out: Regenerated.
6772         * sysdeps/i386/fpu/libm-test-ulps: Update.
6773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6775 2015-09-28  Martin Sebor  <msebor@redhat.com>
6777         [BZ #18969]
6778         * string/Makefile (LOCALES): Define.
6779         (gen-locales.mk): Include.
6780         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6781         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6782         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6783         on setlocale failure.
6785 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6787         [BZ #18985]
6788         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6789         (__strftime_internal): Likewise.
6790         * time/tst-strftime.c (do_bz18985): New test.
6791         (do_test): Call it.
6793 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6795         [BZ #18956]
6796         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6797         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6798         extracting high part.
6799         * math/auto-libm-test-in: Add another test of pow.
6800         * math/auto-libm-test-out: Regenerated.
6801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6803 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6805         [BZ #18825]
6806         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6807         New macro.
6808         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6809         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6810         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6811         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6812         DBL_NARROW_EVAL, reloading the PIC register as needed.
6813         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6814         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6815         FLT_NARROW_EVAL.  Use separate return path for case when first
6816         argument is NaN.
6817         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6818         DEFINE_LDBL_MIN.
6819         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6820         PIC register.
6821         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6822         math_check_force_underflow_nonneg.
6823         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6824         underflow for subnormal result.
6825         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6826         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6827         math_check_force_underflow_nonneg.
6828         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6829         math_check_force_underflow.
6830         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6831         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6832         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6833         DEFINE_LDBL_MIN.
6834         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6835         * math/auto-libm-test-in: Add more tests of pow.
6836         * math/auto-libm-test-out: Regenerated.
6838 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6840         * nss/bug17079.c (init_test_items): Add diagnostic for
6841         inconsistent entries.
6842         (test_buffer_size): Skip inconsistent entries.
6844 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6846         [BZ #13304]
6847         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6848         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6849         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6851         [BZ #13304]
6852         * sysdeps/microblaze/s_fma.c: New file.
6853         * sysdeps/microblaze/s_fmaf.c: Likewise.
6854         * sysdeps/microblaze/sfp-machine.h: Likewise.
6856 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6858         [BZ #17250]
6859         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6860         member.
6862 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6864         [BZ #18803]
6865         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6866         (MO): New macro.
6867         (__ieee754_hypot) [PIC]: Load PIC register.
6868         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6869         DBL_NARROW_EVAL.
6870         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6871         math_check_force_underflow_nonneg in case where result might be
6872         tiny.
6873         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6874         Likewise.
6875         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6876         Likewise.
6877         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6878         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6879         * math/auto-libm-test-in: Add more tests of hypot.
6880         * math/auto-libm-test-out: Regenerated.
6882 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6884         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6886 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6888         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6889         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6890         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6891         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6892         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6893         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6894         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6896         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6897         LOAD_PIC_REG.
6899         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6900         (FLT_CHECK_FORCE_UFLOW): Likewise.
6901         (DBL_CHECK_FORCE_UFLOW): Likewise.
6902         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6903         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6904         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6905         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6906         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6907         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6908         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6909         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6910         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6912         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6913         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6914         (flt_min): Replace with use of DEFINE_FLT_MIN.
6915         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6916         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6917         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6918         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6919         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6920         (flt_min): Replace with use of DEFINE_FLT_MIN.
6921         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6922         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6923         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6924         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6925         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6926         (flt_min): Replace with use of DEFINE_FLT_MIN.
6927         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6928         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6929         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6930         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6931         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6932         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6933         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6934         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6935         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6936         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6937         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6938         (flt_min): Replace with use of DEFINE_FLT_MIN.
6939         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6940         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6941         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6942         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6943         main computation.
6944         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6945         (flt_min): Replace with use of DEFINE_FLT_MIN.
6946         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6947         main computation.
6948         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6949         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6950         (MO): New macro.
6951         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6952         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6953         (flt_min): Replace with use of DEFINE_FLT_MIN.
6954         (MO): New macro.
6955         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6956         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6957         (__log1pl): Use MO.
6959         [BZ #19003]
6960         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6961         $(config-cflags-nofma).
6963 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6965         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6967 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6969         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6970         (TWO127): Likewise.
6972         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6973         (min_of_type): Likewise.
6974         (math_check_force_underflow): Likewise.
6975         (math_check_force_underflow_nonneg): Likewise.
6976         (math_check_force_underflow_complex): Likewise.
6977         * math/e_exp2l.c (__ieee754_exp2l): Use
6978         math_check_force_underflow_nonneg.
6979         * math/k_casinh.c (__kernel_casinh): Likewise.
6980         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6981         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6982         * math/s_catan.c (__catan): Use
6983         math_check_force_underflow_complex.
6984         * math/s_catanf.c (__catanf): Likewise.
6985         * math/s_catanh.c (__catanh): Likewise.
6986         * math/s_catanhf.c (__catanhf): Likewise.
6987         * math/s_catanhl.c (__catanhl): Likewise.
6988         * math/s_catanl.c (__catanl): Likewise.
6989         * math/s_ccosh.c (__ccosh): Likewise.
6990         * math/s_ccoshf.c (__ccoshf): Likewise.
6991         * math/s_ccoshl.c (__ccoshl): Likewise.
6992         * math/s_cexp.c (__cexp): Likewise.
6993         * math/s_cexpf.c (__cexpf): Likewise.
6994         * math/s_cexpl.c (__cexpl): Likewise.
6995         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6996         * math/s_clog10.c (__clog10): Likewise.
6997         * math/s_clog10f.c (__clog10f): Likewise.
6998         * math/s_clog10l.c (__clog10l): Likewise.
6999         * math/s_clogf.c (__clogf): Likewise.
7000         * math/s_clogl.c (__clogl): Likewise.
7001         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7002         * math/s_csinf.c (__csinf): Likewise.
7003         * math/s_csinh.c (__csinh): Likewise.
7004         * math/s_csinhf.c (__csinhf): Likewise.
7005         * math/s_csinhl.c (__csinhl): Likewise.
7006         * math/s_csinl.c (__csinl): Likewise.
7007         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7008         * math/s_csqrtf.c (__csqrtf): Likewise.
7009         * math/s_csqrtl.c (__csqrtl): Likewise.
7010         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7011         * math/s_ctanf.c (__ctanf): Likewise.
7012         * math/s_ctanh.c (__ctanh): Likewise.
7013         * math/s_ctanhf.c (__ctanhf): Likewise.
7014         * math/s_ctanhl.c (__ctanhl): Likewise.
7015         * math/s_ctanl.c (__ctanl): Likewise.
7016         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7017         instead of volatile.
7018         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7019         math_check_force_underflow.
7020         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7021         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7022         volatile when forcing underflow.
7023         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7024         math_check_force_underflow_nonneg.
7025         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7026         Likewise.
7027         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7028         math_check_force_underflow.
7029         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7030         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7031         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7032         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7033         math_check_force_underflow_nonneg.
7034         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7035         math_check_force_underflow.
7036         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7037         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7038         instead of volatile.
7039         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7040         math_check_force_underflow.
7041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7042         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7043         math_check_force_underflow_nonneg.
7044         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7045         math_check_force_underflow.
7046         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7047         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7048         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7049         math_check_force_underflow_nonneg.
7050         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7051         Likewise.
7052         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7053         math_check_force_underflow.
7054         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7055         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7056         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7057         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7058         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7059         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7060         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7061         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7062         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7063         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7064         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7065         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7066         Likewise.
7067         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7068         math_check_force_underflow_nonneg.
7069         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7070         Likewise.
7071         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7072         math_check_force_underflow.
7073         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7074         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7075         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7076         Likewise.
7077         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7078         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7079         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7080         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7081         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7082         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7084         instead of volatile.
7085         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7086         math_check_force_underflow.
7087         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7088         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7089         math_check_force_underflow.
7090         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7091         Likewise.
7092         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7093         Use math_check_force_underflow_nonneg.
7094         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7095         math_check_force_underflow.
7096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7097         Likewise.
7098         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7099         Likewise.
7100         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7101         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7102         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7105         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7106         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7107         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7108         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7109         math_check_force_underflow_nonneg.
7110         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7111         math_check_force_underflow.
7112         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7113         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7114         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7115         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7116         math_check_force_underflow_nonneg.
7117         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7118         math_check_force_underflow.
7119         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7121         instead of volatile.
7122         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7123         math_check_force_underflow.
7125         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7126         * stdlib/strtod_l.c: Include <math_private.h>.
7127         (overflow_value): Use math_narrow_eval.
7128         (underflow_value): Likewise.
7129         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7130         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7131         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7132         (__ieee754_gamma_r): Likewise.
7133         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7134         Likewise.
7135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7136         Likewise.
7137         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7138         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7139         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7140         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7141         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7142         (__ieee754_gammaf_r): Likewise.
7143         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7144         Likewise.
7145         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7146         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7147         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7148         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7149         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7150         volatile.
7151         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7152         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7153         math_narrow_eval.
7154         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7155         Likewise.
7156         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7157         Likewise.
7158         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7159         Likewise.
7160         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7161         volatile.
7162         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7163         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7164         math_narrow_eval.
7165         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7166         Likewise.
7167         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7168         Likewise.
7170 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7172         * nptl/Versions: Remove ignored symbols.
7174 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7176         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7177         * nss/Makefile (tests): Update.
7179 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7181         * nss/bug18287.c: New file.
7182         * nss/Makefile (tests): Add bug18287.
7184 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7186         * mach/Versions (__mach_host_self_): Add symbol.
7188 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7190         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7191         vm_page_size.
7193 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7195         Really fix sysdeps/i386/fpu/s_scalbn.S build
7197         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7198         (libc: GLIBC_2_22): Remove unused version set.
7200 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7202         * config.make.in (enable-timezone-tools): New variable.
7203         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7204         (enable_timezone_tools): Export to generated files.
7205         * configure: Regenerate.
7206         * INSTALL: Regenerate.
7207         * manual/install.texi (--disable-timezone-tools): Document new flag.
7208         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7209         ifeq ($(enable-timezone-tools),yes) check.
7211 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7213         * timezone/Makefile: Revert previous change.
7215         [BZ #18980]
7216         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7217         (DEFINE_DBL_MIN): Likewise.
7218         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7219         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7220         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7221         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7222         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7223         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7224         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7225         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7226         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7227         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7228         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7229         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7230         (flt_min): Replace with use of DEFINE_FLT_MIN.
7231         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7232         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7233         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7234         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7235         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7236         (flt_min): Replace with use of DEFINE_FLT_MIN.
7237         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7238         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7239         (flt_min): Replace with use of DEFINE_FLT_MIN.
7240         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7241         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7242         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7243         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7244         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7245         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7246         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7247         (__ieee754_pow): Use DBL_NARROW_EVAL.
7248         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7249         (__ieee754_powf): Use FLT_NARROW_EVAL.
7250         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7251         (__ieee754_expf_sse2): Convert double-precision result to single
7252         precision.
7253         * sysdeps/i386/fpu/libm-test-ulps: Update.
7255 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7257         * timezone/Makefile: Ignore unused variable errors due to private.h
7258         (time_t_min) and (time_t_max).
7259         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7260         Likewise.
7262 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7264         [BZ #18981]
7265         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7266         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7267         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7268         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7269         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7270         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7271         (__scalbn): Use DBL_NARROW_EVAL.
7272         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7273         (__scalbnf): Use FLT_NARROW_EVAL.
7275 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7277         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7278         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7279         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7280         * stdio-common/printf_fp.c (___printf_fp):
7281         Use signbit to get the sign. Use isinf macro to allow inlining.
7282         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7283         * stdio-common/printf_size.c (__printf_size): Likewise.
7285 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7287         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7289 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7291         [BZ #18980]
7292         * sysdeps/generic/math_private.h: Include <float.h>.
7293         (math_narrow_eval): New macro.
7294         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7295         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7296         math_narrow_eval on overflowing return value.
7297         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7298         Likewise.
7299         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7300         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7301         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7302         Likewise.
7303         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7305 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7307         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7308         * math/Makefile: Remove isinf_ns.c.
7309         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7310         * math/multc3.c (__multc3): Likewise.
7311         * math/s_casin.c (__casin): Likewise.
7312         * math/s_casinf.c (__casinf): Likewise.
7313         * math/s_casinl.c (__casinl): Likewise.
7314         * math/s_cproj.c (__cproj): Likewise.
7315         * math/s_cprojf.c (__cprojf): Likewise.
7316         * math/s_cprojl.c (__cprofl): Likewise.
7317         * math/s_ctan.c (__ctan): Likewise.
7318         * math/s_ctanf.c (__ctanf): Likewise.
7319         * math/s_ctanh.c (__ctanh): Likewise.
7320         * math/s_ctanhf.c (__ctanhf): Likewise.
7321         * math/s_ctanhl.c (__ctanhl): Likewise.
7322         * math/s_ctanl.c (__ctanl): Likewise.
7323         * math/w_fmod.c (__fmod): Likewise.
7324         * math/w_fmodf.c (__fmodf): Likewise.
7325         * math/w_fmodl.c (_fmodl): Likewise.
7326         * math/w_remainder.c (__remainder): Likewise.
7327         * math/w_remainderf.c (__remainderf): Likewise.
7328         * math/w_remainderl.c (__remainderl): Likewise.
7329         * math/w_scalb.c (__scalb): Likewise.
7330         * math/w_scalbf.c (__scalbf): Likewise.
7331         * math/w_scalbl.c (__scalbl): Likewise.
7332         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7333         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7334         with isinf.
7335         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7336         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7337         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7338         __isinf_nsf with isinf.
7339         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7340         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7341         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7342         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7343         with isinf.
7344         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7345         __isinf_nsl with isinf.
7346         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7347         with isinf.
7348         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7349         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7350         __isinf_nsl with isinf.
7351         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7352         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7353         with isinf.
7355 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7357         * resolv/base64.c (rcsid): Remove unused static.
7358         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7359         static.  (tqpi1): Likewise.
7360         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7361         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7362         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7363         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7365         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7366         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7367         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7368         Likewise.
7370 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7372         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7373         <nptl/pthreadP.h>.
7374         (_longjmp_unwind): Use __libc_ptf_call.
7375         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7377 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7379         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7380         * sysdeps/arm/__longjmp.S: Likewise.
7382 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7384         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7385         Use __builtin_signbit.
7386         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7387         Use __builtin_signbitf.
7388         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7389         Use __builtin_signbitl.
7390         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7391         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7393 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7395         [BZ #15367]
7396         [BZ #17441]
7398         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7399         * math/math.h (fpclassify): Use __builtin_fpclassify when
7400         available.  (signbit): Use __builtin_signbit(f/l).
7401         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7402         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7403         (isinf): Use __builtin_isinf_sign.
7405 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7407         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7408         * benchtests/bench-math-inlines.c: New benchmark.
7409         * benchtests/bench-util.h: New file.
7410         * benchtests/bench-util.c: New file.
7411         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7413 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7415         * elf/tst-dlmopen1.c: Define TEST_SO.
7416         (do_test): Use TEST_SO.
7418         * elf/dl-load.c: Include libc-internal.h.
7419         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7421 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7423         [BZ #17887]
7424         * time/strptime_l.c (__strptime_internal): Make %z accept
7425         [+-]HH:MM time zones.
7427 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7429         [BZ #17886]
7430         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7431         valid time zone.
7433 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7435         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7436         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7437         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7438         (__ASSUME_FDATASYNC): Delete.
7440 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7442         * conform/linknamespace.pl: Require weak undefined symbols to be
7443         in the standard namespace.
7444         (%strong_syms): Rename to %seen_syms.
7445         (%strong_seen): Rename to %seen_where.
7447 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7449         [BZ #18970]
7450         * misc/error.c (error): Replace pthread_setcancelstate with
7451         __pthread_setcancelstate.
7452         (error_at_line): Likewise.
7453         * posix/wordexp.c (parse_comm): Likewise.
7454         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7455         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7456         (__pthread_setcancelstate): This.
7457         (pthread_setcancelstate): Add an alias.
7458         * nptl/nptl-init.c (pthread_functions): Replace
7459         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7460         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7461         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7462         hidden_proto.
7463         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7464         it with hidden_def.
7465         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7466         (pthread_setcancelstate): Renamed to ...
7467         (__pthread_setcancelstate): This.
7468         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7469         __libc_ptf_call with __pthread_setcancelstate.
7471 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7472             Andreas Schwab  <schwab@suse.de>
7474         [BZ #17118]
7475         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7476         result when imaginary part of argument is infinite using sine and
7477         cosine.
7478         * math/s_ctanf.c (__ctanf): Likewise.
7479         * math/s_ctanl.c (__ctanl): Likewise.
7480         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7481         of result when real part of argument is infinite using sine and
7482         cosine.
7483         * math/s_ctanhf.c (__ctanhf): Likewise.
7484         * math/s_ctanhl.c (__ctanhl): Likewise.
7485         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7486         (ctanh_test_data): Add more tests of ctanh.
7488 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7490         [BZ #15384]
7491         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7492         bit-mask as in subtraction.
7493         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7494         Likewise.
7495         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7496         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7497         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7499         [BZ #18951]
7500         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7501         underflow exception for small results.
7502         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7503         Likewise.
7504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7505         Likewise.
7506         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7507         Likewise.
7508         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7509         Likewise.
7510         * math/auto-libm-test-in: Add more tests of tgamma.
7511         * math/auto-libm-test-out: Regenerated.
7513 2015-09-17  Andreas Schwab  <schwab@suse.de>
7515         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7517 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7519         [BZ #18977]
7520         * math/bits/mathcalls.h
7521         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7522         not declare.
7523         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7524         Likewise.
7525         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7526         Likewise.
7527         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7528         Likewise.
7529         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7530         Likewise.
7531         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7532         Likewise.
7533         * conform/data/math.h-data
7534         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7535         function.
7536         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7537         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7538         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7539         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7540         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7541         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7542         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7543         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7544         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7545         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7546         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7548         [BZ #6803]
7549         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7550         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7551         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7552         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7553         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7554         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7555         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7556         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7557         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7559         Likewise.
7560         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7561         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7562         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7563         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7564         long_double_symbol calls.
7565         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7566         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7567         strong alias of __ldexpl.
7568         (scalbnl): Define using long_double_symbol.
7569         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7570         Remove alias.
7571         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7572         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7573         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7574         (scalbln_test_data): Add more errno expectations.
7576 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7578         Cache the host port like we cache the task port.  This way we do not
7579         need to call the kernel just to get the port.  Furthermore, we no
7580         longer increase the reference count on every invocation of
7581         `mach_host_self'.
7583         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7584         Protect declarations against the macro expansion.
7585         * mach/mach_init.c (__mach_host_self_): New variable.
7586         (mach_init): Initialize `__mach_host_self_'.
7587         * mach/mach_init.h (__mach_host_self_): New declaration.
7588         (__mach_host_self, mach_host_self): New macros.
7589         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7590         Release reference.
7592 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7594         [BZ #4404]
7595         * po/de.po: Update from Translation Project.
7597         [BZ #16415]
7598         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7599         (__expm1l): Remove code to handle positive infinity and overflow.
7600         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7601         variable.
7602         (__expm1l): Remove code to handle positive infinity and overflow.
7604 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7605             Paul Pluzhnikov  <ppluzhnikov@google.com>
7607         [BZ #18872]
7608         * stdio-common/Makefile (tst-printf-bz18872): New test.
7609         (tst-printf-bz18872-mem.out): Likewise.
7610         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7611         * stdio-common/vfprintf.c: Fix memory leaks.
7613 2015-09-16  Andreas Schwab  <schwab@suse.de>
7615         [BZ #17244]
7616         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7617         Remove extra va_start/va_end calls.
7619         [BZ #17243]
7620         * posix/execl.c (execl): Add missing va_end.
7621         * posix/execle.c (execle): Likewise.
7622         * posix/execlp.c (execlp): Likewise.
7624 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7626         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7627         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7629 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7631         [BZ #18967]
7632         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7633         undefine around includes of <bits/mathcalls.h>.
7634         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7635         not declare function.
7636         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7637         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7638         (scalb): Likewise.
7639         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7640         not define macro.
7641         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7642         variable.
7643         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7644         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7645         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7647         [BZ #18857]
7648         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7649         return non-finite argument without doing ordered comparisons on
7650         it.
7652         [BZ #16296]
7653         * math/fenv.h (fegetround): Use __attribute_pure__.
7654         * include/fenv.h (__fegetround): Likewise.
7656         [BZ #18595]
7657         * math/s_ctan.c (__ctan): Force underflow exception for results
7658         whose real or imaginary part has small absolute value.
7659         * math/s_ctanf.c (__ctanf): Likewise.
7660         * math/s_ctanh.c (__ctanh): Likewise.
7661         * math/s_ctanhf.c (__ctanhf): Likewise.
7662         * math/s_ctanhl.c (__ctanhl): Likewise.
7663         * math/s_ctanl.c (__ctanl): Likewise.
7664         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7665         and ctanh.  Add more tests of ctan and ctanh.
7667         [BZ #15918]
7668         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7669         handling of cases where one argument is an infinity.
7671         [BZ #18875]
7672         [BZ #18966]
7673         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7674         (MO): New macro.
7675         (__ieee754_exp10): For small results, force underflow exception
7676         and remove excess range and precision from return value.
7677         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7678         (MO): New macro.
7679         (__ieee754_exp10f): For small results, force underflow exception
7680         and remove excess range and precision from return value.
7681         * math/auto-libm-test-in: Add more tests of exp10.
7682         * math/auto-libm-test-out: Regenerated.
7684 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7686         [BZ #18875]
7687         [BZ #18961]
7688         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7689         (MO): New macro.
7690         (__ieee754_exp): For small results, force underflow exception and
7691         remove excess range and precision from return value.
7692         (__exp_finite): Likewise.
7693         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7694         (MO): New macro.
7695         (__ieee754_expf): For small results, force underflow exception and
7696         remove excess range and precision from return value.
7697         (__expf_finite): Likewise.
7698         * math/auto-libm-test-in: Add more tests of exp.
7699         * math/auto-libm-test-out: Regenerated.
7701         [BZ #16521]
7702         [BZ #18875]
7703         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7704         small results.
7705         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7706         (MO): New macro.
7707         (__ieee754_exp2): For small results, force underflow exception and
7708         remove excess range and precision from return value.
7709         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7710         (MO): New macro.
7711         (__ieee754_exp2f): For small results, force underflow exception
7712         and remove excess range and precision from return value.
7713         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7714         (MO): New macro.
7715         (__ieee754_exp2l): Force underflow exception for small results.
7716         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7717         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7718         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7719         (MO): New macro.
7720         (__ieee754_exp2l): Force underflow exception for small results.
7721         * math/auto-libm-test-in: Add more tests or exp2.
7722         * math/auto-libm-test-out: Regenerated.
7724 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7726         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7728         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7729         /dev/null.
7731 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7733         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7734         io fs process)): Drop spurious backslash.
7736 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7738         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7739         Use sysinfo system call instead of parsing /proc/meminfo.
7740         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7741         Likewise.
7743 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7745         [BZ #16985]
7746         * programs/localedef.c (main): Display argv[remaining] when
7747         output_path is NULL.
7749 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7751         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7752         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7753         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7754         tanh.
7755         * math/auto-libm-test-out: Regenerated.
7756         * sysdeps/i386/fpu/libm-test-ulps: Update.
7757         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7758         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7761 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7763         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7764         Use 'override' keyword to freeze the value here, preventing
7765         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7767 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7769         [BZ #14912]
7770         * sysdeps/aarch64/bits/atomic.h: Move to ...
7771         * sysdeps/aarch64/atomic-machine.h: ...here.
7772         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7773         _AARCH64_ATOMIC_MACHINE_H.
7774         * sysdeps/alpha/bits/atomic.h: Move to ...
7775         * sysdeps/alpha/atomic-machine.h: ...here.
7776         * sysdeps/arm/bits/atomic.h: Move to ...
7777         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7778         * bits/atomic.h: Move to ...
7779         * sysdeps/generic/atomic-machine.h: ...here.
7780         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7781         * sysdeps/i386/bits/atomic.h: Move to ...
7782         * sysdeps/i386/atomic-machine.h: ...here.
7783         * sysdeps/ia64/bits/atomic.h: Move to ...
7784         * sysdeps/ia64/atomic-machine.h: ...here.
7785         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7786         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7787         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7788         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7789         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7790         * sysdeps/microblaze/bits/atomic.h: Move to ...
7791         * sysdeps/microblaze/atomic-machine.h: ...here.
7792         * sysdeps/mips/bits/atomic.h: Move to ...
7793         * sysdeps/mips/atomic-machine.h: ...here.
7794         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7795         * sysdeps/powerpc/bits/atomic.h: Move to ...
7796         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7797         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7798         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7799         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7800         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7801         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7802         <atomic-machine.h> instead of <bits/atomic.h>.
7803         * sysdeps/s390/bits/atomic.h: Move to ...
7804         * sysdeps/s390/atomic-machine.h: ...here.
7805         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7806         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7807         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7808         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7809         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7810         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7811         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7812         * sysdeps/tile/bits/atomic.h: Move to ...
7813         * sysdeps/tile/atomic-machine.h: ...here.
7814         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7815         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7816         <sysdeps/tile/atomic-machine.h> instead of
7817         <sysdeps/tile/bits/atomic.h>.
7818         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7819         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7820         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7821         <sysdeps/tile/atomic-machine.h> instead of
7822         <sysdeps/tile/bits/atomic.h>.
7823         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7824         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7825         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7826         <sysdeps/arm/atomic-machine.h> instead of
7827         <sysdeps/arm/bits/atomic.h>.
7828         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7829         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7830         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7831         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7832         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7833         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7834         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7835         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7836         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7837         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7838         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7839         * sysdeps/x86_64/bits/atomic.h: Move to ...
7840         * sysdeps/x86_64/atomic-machine.h: ...here.
7841         * include/atomic.h: Include <atomic-machine.h> instead of
7842         <bits/atomic.h>.
7844         * sysdeps/mips/mips32/libm-test-ulps: Update.
7845         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7847         [BZ #18952]
7848         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7849         not convert non-integer negative arguments to int to determine the
7850         value of signgam.
7851         * math/auto-libm-test-in: Add more tests of lgamma.
7852         * math/auto-libm-test-out: Regenerated.
7854         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7855         cosh, csqrt, erfc, expm1 and lgamma.
7856         * math/auto-libm-test-out: Regenerated.
7857         * sysdeps/i386/fpu/libm-test-ulps: Update.
7858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7860 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7862         [BZ #2542]
7863         [BZ #2543]
7864         [BZ #2558]
7865         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7866         __lgamma_neg for arguments from -28.0 to -2.0.
7867         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7868         __lgamma_negf for arguments from -15.0 to -2.0.
7869         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7870         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7871         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7872         Call __lgamma_negl for arguments from -33.0 to -2.0.
7873         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7874         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7875         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7876         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7877         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7878         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7879         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7880         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7881         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7882         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7883         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7884         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7885         (__lgamma_neg): Likewise.
7886         (__lgamma_negl): Likewise.
7887         (__lgamma_product): Likewise.
7888         (__lgamma_productl): Likewise.
7889         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7890         * math/auto-libm-test-in: Add more tests of lgamma.
7891         * math/auto-libm-test-out: Regenerated.
7892         * sysdeps/i386/fpu/libm-test-ulps: Update.
7893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7895 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7897         [BZ #18675]
7898         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7900 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7902         [BZ #14912]
7903         * bits/libc-lock.h: Move to ...
7904         * sysdeps/generic/libc-lock.h: ...here.
7905         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7906         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7907         * sysdeps/mach/hurd/libc-lock.h: ...here.
7908         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7909         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7910         * sysdeps/mach/bits/libc-lock.h: Move to ...
7911         * sysdeps/mach/libc-lock.h: ...here.
7912         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7913         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7914         * sysdeps/nptl/libc-lock.h: ...here.
7915         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7916         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7917         * sysdeps/nptl/libc-lockP.h: ...here.
7918         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7919         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7920         <bits/libc-lock.h>.
7921         * dirent/scandir-tail.c: Likewise.
7922         * dlfcn/dlerror.c: Likewise.
7923         * elf/dl-close.c: Likewise.
7924         * elf/dl-iteratephdr.c: Likewise.
7925         * elf/dl-lookup.c: Likewise.
7926         * elf/dl-open.c: Likewise.
7927         * elf/dl-support.c: Likewise.
7928         * elf/dl-writev.h: Likewise.
7929         * elf/rtld.c: Likewise.
7930         * grp/fgetgrent.c: Likewise.
7931         * gshadow/fgetsgent.c: Likewise.
7932         * gshadow/sgetsgent.c: Likewise.
7933         * iconv/gconv_conf.c: Likewise.
7934         * iconv/gconv_db.c: Likewise.
7935         * iconv/gconv_dl.c: Likewise.
7936         * iconv/gconv_int.h: Likewise.
7937         * iconv/gconv_trans.c: Likewise.
7938         * include/link.h: Likewise.
7939         * inet/getnameinfo.c: Likewise.
7940         * inet/getnetgrent.c: Likewise.
7941         * inet/getnetgrent_r.c: Likewise.
7942         * intl/bindtextdom.c: Likewise.
7943         * intl/dcigettext.c: Likewise.
7944         * intl/finddomain.c: Likewise.
7945         * intl/gettextP.h: Likewise.
7946         * intl/loadmsgcat.c: Likewise.
7947         * intl/localealias.c: Likewise.
7948         * intl/textdomain.c: Likewise.
7949         * libidn/idn-stub.c: Likewise.
7950         * libio/libioP.h: Likewise.
7951         * locale/duplocale.c: Likewise.
7952         * locale/freelocale.c: Likewise.
7953         * locale/newlocale.c: Likewise.
7954         * locale/setlocale.c: Likewise.
7955         * login/getutent_r.c: Likewise.
7956         * login/getutid_r.c: Likewise.
7957         * login/getutline_r.c: Likewise.
7958         * login/utmp-private.h: Likewise.
7959         * login/utmpname.c: Likewise.
7960         * malloc/mtrace.c: Likewise.
7961         * misc/efgcvt.c: Likewise.
7962         * misc/error.c: Likewise.
7963         * misc/fstab.c: Likewise.
7964         * misc/getpass.c: Likewise.
7965         * misc/mntent.c: Likewise.
7966         * misc/syslog.c: Likewise.
7967         * nis/nis_call.c: Likewise.
7968         * nis/nis_callback.c: Likewise.
7969         * nis/nss-default.c: Likewise.
7970         * nis/nss_compat/compat-grp.c: Likewise.
7971         * nis/nss_compat/compat-initgroups.c: Likewise.
7972         * nis/nss_compat/compat-pwd.c: Likewise.
7973         * nis/nss_compat/compat-spwd.c: Likewise.
7974         * nis/nss_nis/nis-alias.c: Likewise.
7975         * nis/nss_nis/nis-ethers.c: Likewise.
7976         * nis/nss_nis/nis-grp.c: Likewise.
7977         * nis/nss_nis/nis-hosts.c: Likewise.
7978         * nis/nss_nis/nis-network.c: Likewise.
7979         * nis/nss_nis/nis-proto.c: Likewise.
7980         * nis/nss_nis/nis-pwd.c: Likewise.
7981         * nis/nss_nis/nis-rpc.c: Likewise.
7982         * nis/nss_nis/nis-service.c: Likewise.
7983         * nis/nss_nis/nis-spwd.c: Likewise.
7984         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7985         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7986         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7987         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7988         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7989         * nis/nss_nisplus/nisplus-network.c: Likewise.
7990         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7991         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7992         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7993         * nis/nss_nisplus/nisplus-service.c: Likewise.
7994         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7995         * nis/ypclnt.c: Likewise.
7996         * nptl/libc_pthread_init.c: Likewise.
7997         * nss/getXXbyYY.c: Likewise.
7998         * nss/getXXent.c: Likewise.
7999         * nss/getXXent_r.c: Likewise.
8000         * nss/nss_db/db-XXX.c: Likewise.
8001         * nss/nss_db/db-netgrp.c: Likewise.
8002         * nss/nss_db/nss_db.h: Likewise.
8003         * nss/nss_files/files-XXX.c: Likewise.
8004         * nss/nss_files/files-alias.c: Likewise.
8005         * nss/nsswitch.c: Likewise.
8006         * posix/regex_internal.h: Likewise.
8007         * posix/wordexp.c: Likewise.
8008         * pwd/fgetpwent.c: Likewise.
8009         * resolv/res_hconf.c: Likewise.
8010         * resolv/res_libc.c: Likewise.
8011         * shadow/fgetspent.c: Likewise.
8012         * shadow/lckpwdf.c: Likewise.
8013         * shadow/sgetspent.c: Likewise.
8014         * socket/opensock.c: Likewise.
8015         * stdio-common/reg-modifier.c: Likewise.
8016         * stdio-common/reg-printf.c: Likewise.
8017         * stdio-common/reg-type.c: Likewise.
8018         * stdio-common/vfprintf.c: Likewise.
8019         * stdio-common/vfscanf.c: Likewise.
8020         * stdlib/abort.c: Likewise.
8021         * stdlib/cxa_atexit.c: Likewise.
8022         * stdlib/fmtmsg.c: Likewise.
8023         * stdlib/random.c: Likewise.
8024         * stdlib/setenv.c: Likewise.
8025         * string/strsignal.c: Likewise.
8026         * sunrpc/auth_none.c: Likewise.
8027         * sunrpc/bindrsvprt.c: Likewise.
8028         * sunrpc/create_xid.c: Likewise.
8029         * sunrpc/key_call.c: Likewise.
8030         * sunrpc/rpc_thread.c: Likewise.
8031         * sysdeps/arm/backtrace.c: Likewise.
8032         * sysdeps/generic/ldsodefs.h: Likewise.
8033         * sysdeps/generic/stdio-lock.h: Likewise.
8034         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8035         * sysdeps/i386/backtrace.c: Likewise.
8036         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8037         * sysdeps/m68k/backtrace.c: Likewise.
8038         * sysdeps/mach/hurd/cthreads.c: Likewise.
8039         * sysdeps/mach/hurd/dirstream.h: Likewise.
8040         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8041         * sysdeps/nptl/malloc-machine.h: Likewise.
8042         * sysdeps/nptl/stdio-lock.h: Likewise.
8043         * sysdeps/posix/dirstream.h: Likewise.
8044         * sysdeps/posix/getaddrinfo.c: Likewise.
8045         * sysdeps/posix/system.c: Likewise.
8046         * sysdeps/pthread/aio_suspend.c: Likewise.
8047         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8048         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8049         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8050         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8051         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8052         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8053         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8054         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8055         * sysdeps/unix/sysv/linux/system.c: Likewise.
8056         * sysdeps/x86_64/backtrace.c: Likewise.
8057         * time/alt_digit.c: Likewise.
8058         * time/era.c: Likewise.
8059         * time/tzset.c: Likewise.
8060         * wcsmbs/wcsmbsload.c: Likewise.
8061         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8062         instead of <bits/libc-lock.h> in comment.
8064 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8066         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8067         Only use .set mips2 if the current ISA is below mips2.
8068         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8069         Likewise.
8070         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8071         mips32r2 if the current ISA is below mips32r2.
8072         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8073         (TLS_IE): Updated to use the TLD_RDHWR macro.
8074         (TLS_LE): Likewise.
8075         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8076         __ASSEMBLER__ condition.
8078 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8080         Fix parallel build of before-compile targets.
8082         * sysdeps/mach/Makefile ($(patsubst
8083         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8084         mach-before-compile target.
8085         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8086         io fs process)): Move rule to dedicated hurd-before-compile target.
8088 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8090         Fix rules generating headers in hurd/ and mach/ when initial make call
8091         has subdir= explicitly set.
8093         * sysdeps/mach/Makefile ($(patsubst
8094         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8095         calling $(MAKE).
8096         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8097         io fs process)): Force subdir to hurd when calling $(MAKE).
8098         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8099         subdir to mach when calling $(MAKE).
8101 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8103         Check sysheaders when looking for Mach and Hurd headers
8105         * sysdeps/mach/configure.ac: Add sysheaders check.
8106         * sysdeps/mach/configure: Regenerate.
8107         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8108         * sysdeps/mach/hurd/configure: Regenerate.
8110 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8112         [BZ #18921]
8113         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8114         Fix inverted sense of test of 'o_directory_works' value.
8115         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8116         Bernhard Voelker <mail@bernhard-voelker.de>.
8118 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8120         [BZ #14912]
8121         * bits/linkmap.h: Move to ...
8122         * sysdeps/generic/linkmap.h: ...here.
8123         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8124         * sysdeps/aarch64/linkmap.h: ...here.
8125         * sysdeps/arm/bits/linkmap.h: Move to ...
8126         * sysdeps/arm/linkmap.h: ...here.
8127         * sysdeps/hppa/bits/linkmap.h: Move to ...
8128         * sysdeps/hppa/linkmap.h: ...here.
8129         * sysdeps/ia64/bits/linkmap.h: Move to ...
8130         * sysdeps/ia64/linkmap.h: ...here.
8131         * sysdeps/mips/bits/linkmap.h: Move to ...
8132         * sysdeps/mips/linkmap.h: ...here.
8133         * sysdeps/s390/bits/linkmap.h: Move to ...
8134         * sysdeps/s390/linkmap.h: ...here.
8135         * sysdeps/sh/bits/linkmap.h: Move to ...
8136         * sysdeps/sh/linkmap.h: ...here.
8137         * sysdeps/x86/bits/linkmap.h: Move to ...
8138         * sysdeps/x86/linkmap.h: ...here.
8139         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8141 2015-09-04  Andreas Schwab  <schwab@suse.de>
8143         [BZ #18635]
8144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8145         (__makecontext): Terminate FDE before return label.
8146         (__novec_makecontext): Likewise.
8148 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8150         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8151         first member of struct sv in syscall macro.
8153 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8155         [BZ #14912]
8156         * bits/stdio-lock.h: Move to ...
8157         * sysdeps/generic/stdio-lock.h: ...here.
8158         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8159         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8160         * sysdeps/nptl/stdio-lock.h: ...here.
8161         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8162         * include/libio.h: Include <stdio-lock.h> instead of
8163         <bits/stdio-lock.h>.
8164         * sysdeps/nptl/fork.c: Likewise.
8165         * sysdeps/pthread/flockfile.c: Likewise.
8166         * sysdeps/pthread/ftrylockfile.c: Likewise.
8167         * sysdeps/pthread/funlockfile.c: Likewise.
8169         [BZ #14912]
8170         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8171         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8172         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8173         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8174         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8175         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8176         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8178 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8180         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8181         (test-xfail-tst-protected1b): New variable.
8183 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8185         [BZ #14912]
8186         * bits/libc-tsd.h: Move to ...
8187         * sysdeps/generic/libc-tsd.h: ...here.
8188         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8189         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8190         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8191         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8192         * include/ctype.h: Include <libc-tsd.h> instead of
8193         <bits/libc-tsd.h>.
8194         * include/rpc/rpc.h: Likewise.
8195         * locale/localeinfo.h: Likewise.
8196         * sunrpc/rpc_thread.c: Likewise.
8197         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8198         * sysdeps/nptl/malloc-machine.h: Likewise.
8200         * Makefile (headers): Remove bits/libc-lock.h.
8201         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8203         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8204         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8205         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8206         <bits/stdio-lock.h>.
8207         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8208         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8210 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8212         [BZ #18757]
8213         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8214         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8215         BZ #18757.
8217 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8219         * malloc/mtrace.pl: Filter out NULL entries.
8221 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8223         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8224         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8225         macro.
8227         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8228         (TCP_CC_INFO): Likewise.
8229         (TCP_SAVE_SYN): Likewise.
8230         (TCP_SAVED_SYN): Likewise.
8232 2015-08-31  Brett Neumeier <brett@neumeier.us>
8234         [BZ #18870]
8235         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8237 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8239         [BZ #18873]
8240         Fix broken overflow check in posix_fallocate
8241         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8242         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8243         Fix parenthesization typo.
8245 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8247         [BZ #18887]
8248         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8249         tst-mntent-blank-passno.
8250         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8251         * misc/tst-mntent-blank-corrupt.c: New test.
8252         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8253         * misc/tst-mntent.c (do_test): ... here.
8255 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8257         [BZ #4404]
8258         * po/de.po: Fix SIGALRM typo.
8260 2015-08-28  James Perkins  <james@loowit.net>
8262         * time/tst-strptime2.c (tests): Replace short list of test
8263         strings for strptime %z specifier with code which exhaustively
8264         tests every combination of sign and 0 to 5 digits. Tests for
8265         rejection of invalid strings.
8267 2015-08-28  James Perkins  <james@loowit.net>
8269         [BZ #16141]
8270         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8271         calculation, removing incorrect decimal time rounding, so that
8272         all minute values result in a valid seconds value.
8273         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8274         offset range limits to UTC-99:59 through UTC+99:59 to parse
8275         current and historical use cases.
8276         * time/tst-strptime2.c (tests): Modify and add tests for the
8277         strptime %z input field descriptor, specifically conversion of
8278         minutes to seconds and validating an offset range of -9959 to
8279         +9959.
8281 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8282             Dmitry V. Levin  <ldv@altlinux.org>
8284         [BZ #18877]
8285         * posix/Makefile (tests): Add tst-mmap-offset.
8286         * posix/tst-mmap.c: New file.
8287         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8288         offset calculation for negative values.
8290 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8292         * sysdeps/i386/init-arch.h: New file.
8293         * sysdeps/i386/i586/init-arch.h: Likewise.
8294         * sysdeps/i386/i686/init-arch.h: Likewise.
8295         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8296         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8297         * sysdeps/x86/cpu-features.h (bit_I586): New.
8298         (bit_I686): Likewise.
8299         (bit_CX8): Likewise.
8300         (bit_CMOV): Likewise.
8301         (index_CX8): Likewise.
8302         (index_CMOV): Likewise.
8303         (index_I586): Likewise.
8304         (index_I686): Likewise.
8305         (reg_CX8): Likewise.
8306         (reg_CMOV): Likewise.
8307         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8308         available at compile-time.
8309         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8310         available at compile-time.
8311         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8312         (USE_I686): Likewise.
8314 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8316         * sysdeps/i386/bcopy.S: New file.
8317         * sysdeps/i386/bzero.S: Likewise.
8318         * sysdeps/i386/memcpy.S: Likewise.
8319         * sysdeps/i386/memmove.S: Likewise.
8320         * sysdeps/i386/mempcpy.S: Likewise.
8321         * sysdeps/i386/memset.S: Likewise.
8322         * sysdeps/i386/bzero.c: Removed.
8323         * sysdeps/i386/memset.c: Likewise.
8324         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8325         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8326         * sysdeps/i386/i586/memset_chk.S: Likewise.
8327         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8328         * sysdeps/i386/memcpy_chk.S: Here.
8329         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8330         * sysdeps/i386/memmove_chk.S: Here.
8331         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8332         * sysdeps/i386/mempcpy_chk.S: Likewise.
8333         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8334         * sysdeps/i386/memset_chk.S: Likewise.
8336 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8338         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8339         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8340         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8341         * soft-fp/fmadf4.c: Ditto.
8342         * soft-fp/fmatf4.c: Ditto.
8344 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8346         * sysdeps/i386/i586/Implies: Removed.
8347         * sysdeps/i386/i686/Implies: Likewise.
8349 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8351         * sysdeps/i386/i486/strlen.S: Moved to ...
8352         * sysdeps/i386/strlen.S: Here.
8354 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8356         * sysdeps/i386/i486/strcat.S: Moved to ...
8357         * sysdeps/i386/strcat.S: Here.
8359 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8361         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8362         * sysdeps/i386/pthread_spin_trylock.S: Here.
8363         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8364         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8366 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8368         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8369         * sysdeps/i386/string-inlines.c: Here.
8371 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8373         * sysdeps/i386/i486/htonl.S: Moved ...
8374         * sysdeps/i386/htonl.S: here.
8376 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8378         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8379         * sysdeps/i386/bits/atomic.h: Here.
8381 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8383         * sysdeps/i386/i486/Versions: Removed.
8385 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8387         [BZ #2898]
8388         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8389         Based on patch by Aurelien Jarno.
8391 2015-08-26  Stan Shebs  <stanshebs@google.com>
8393         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8394         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8396 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8398         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8399         * sysdeps/powerpc/dl-procinfo.c:
8400         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8401         feature so it shows when LD_SHOW_AUXV=1.
8403 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8405         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8406         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8407         definition.  ISA 2.07B no longer requires full sync.
8409 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8411         [BZ #18863]
8412         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8413         (si_call_addr): Define.
8414         (si_syscall): Define.
8415         (si_arch): Define.
8417 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8419         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8420         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8421         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8422         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8423         (__memset_zero_constant_len_parameter): New.
8424         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8425         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8426         (__memset_zero_constant_len_parameter): Don't define if
8427         __memset_chk or USE_AS_BZERO are defined.
8429         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8430         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8431         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8433         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8434         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8435         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8436         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8437         comments.
8438         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8439         -mno-mmx for $(all-rtld-routines).
8440         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8441         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8442         i386.
8444 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8446         * sysdeps/generic/unwind.h
8447         (_Unwind_Word): Use __mode__(__unwind_word__)
8448         instead of __mode__(__word__).
8449         (_Unwind_Sword): Likewise.
8451         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8452         (MAX_NEEDED_INPUT): New define.
8453         (MAX_NEEDED_OUTPUT): New define.
8455         * NEWS: New item for IBM z13 string optimizations.
8457         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8458         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8459         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8460         * sysdeps/s390/multiarch/Makefile
8461         (sysdep_routines): Add memrchr functions.
8462         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8463         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8465         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8466         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8467         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8468         * sysdeps/s390/multiarch/Makefile
8469         (sysdep_routines): Add wmemcmp functions.
8470         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8471         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8472         * benchtests/bench-wmemcmp.c: New File.
8473         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8475         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8476         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8477         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8478         * sysdeps/s390/multiarch/Makefile
8479         (sysdep_routines): Add wmemset functions.
8480         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8481         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8482         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8483         * string/test-memset.c: Add wmemset support.
8484         * wcsmbs/test-wmemset.c: New File.
8485         * wcsmbs/Makefile (strop-tests): Add wmemset.
8486         * benchtests/bench-memset.c: Add wmemset support.
8487         * benchtests/bench-wmemset.c: New File.
8488         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8490         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8491         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8492         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8493         * sysdeps/s390/multiarch/Makefile
8494         (sysdep_routines): Add memccpy functions.
8495         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8496         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8497         * string/memccpy.c: Use MEMCCPY if defined.
8499         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8500         * sysdeps/s390/multiarch/memchr.c: Likewise.
8501         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8502         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8503         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8504         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8505         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8506         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8507         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8508         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8509         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8510         and rawmemchr functions.
8511         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8512         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8513         and wmemchr.
8514         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8515         * string/test-memchr.c: Add wmemchr support.
8516         * wcsmbs/test-wmemchr.c: New File.
8517         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8518         * benchtests/bench-memchr.c: Add wmemchr support.
8519         * benchtests/bench-wmemchr.c: New File.
8520         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8522         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8523         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8524         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8525         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8526         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8527         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8528         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8529         wcscspn functions.
8530         * sysdeps/s390/multiarch/ifunc-impl-list.c
8531         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8532         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8533         * string/test-strcspn.c: Add wcscspn support.
8534         * wcsmbs/test-wcscspn.c: New File.
8535         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8536         * benchtests/bench-strcspn.c: Add wcscspn support.
8537         * benchtests/bench-wcscspn.c: New File.
8538         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8540         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8541         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8542         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8543         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8544         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8545         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8546         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8547         wcspbrk functions.
8548         * sysdeps/s390/multiarch/ifunc-impl-list.c
8549         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8550         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8551         * string/test-strpbrk.c: Add wcspbrk support.
8552         * wcsmbs/test-wcspbrk.c: New File.
8553         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8554         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8555         * benchtests/bench-wcspbrk.c: New File.
8556         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8558         * sysdeps/s390/multiarch/strspn-c.c: New File.
8559         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8560         * sysdeps/s390/multiarch/strspn.c: Likewise.
8561         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8562         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8563         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8564         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8565         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8566         wcsspn functions.
8567         * sysdeps/s390/multiarch/ifunc-impl-list.c
8568         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8569         * string/test-strspn.c: Add wcsspn support.
8570         * wcsmbs/test-wcsspn.c: New File.
8571         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8572         * benchtests/bench-strspn.c: Add wcsspn support.
8573         * benchtests/bench-wcsspn.c: New File.
8574         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8576         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8577         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8578         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8579         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8580         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8581         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8582         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8583         wcsrchr functions.
8584         * sysdeps/s390/multiarch/ifunc-impl-list.c
8585         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8586         * benchtests/bench-wcsrchr.c: New File.
8587         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8589         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8590         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8591         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8592         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8593         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8594         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8595         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8596         wcschrnul functions.
8597         * sysdeps/s390/multiarch/ifunc-impl-list.c
8598         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8599         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8600         * string/test-strchr.c: Add wcschrnul support.
8601         * wcsmbs/test-wcschrnul.c: New File.
8602         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8603         * benchtests/bench-strchr.c: Add wcschrnul support.
8604         * benchtests/bench-wcschrnul.c: New File.
8605         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8607         * sysdeps/s390/multiarch/strchr-c.c: New File.
8608         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8609         * sysdeps/s390/multiarch/strchr.c: Likewise.
8610         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8611         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8612         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8614         wcschr functions.
8615         * sysdeps/s390/multiarch/ifunc-impl-list.c
8616         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8617         * string/strchr.c (STRCHR): Define and use macro.
8618         * benchtests/bench-wcschr.c: New File.
8619         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8621         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8622         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8623         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8624         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8625         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8626         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8627         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8628         wcsncmp functions.
8629         * sysdeps/s390/multiarch/ifunc-impl-list.c
8630         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8631         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8632         * benchtests/bench-strncmp.c: Add wcsncmp support.
8633         * benchtests/bench-wcsncmp.c: New File.
8634         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8636         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8637         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8638         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8639         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8640         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8641         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8642         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8643         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8644         wcscmp functions.
8645         * sysdeps/s390/multiarch/ifunc-impl-list.c
8646         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8647         * string/strcmp.c (STRCMP): Define and use macro.
8648         * benchtests/bench-wcscmp.c: New File.
8649         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8650         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8651         instead of _HAVE_STRING_ARCH_memchr.
8653         * sysdeps/s390/multiarch/strncat-c.c: New File.
8654         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8655         * sysdeps/s390/multiarch/strncat.c: Likewise.
8656         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8657         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8658         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8659         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8660         wcsncat functions.
8661         * sysdeps/s390/multiarch/ifunc-impl-list.c
8662         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8663         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8664         * string/test-strncat.c: Add wcsncat support.
8665         * wcsmbs/test-wcsncat.c: New File.
8666         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8667         * benchtests/bench-strncat.c: Add wcsncat support.
8668         * benchtests/bench-wcsncat.c: New File.
8669         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8671         * sysdeps/s390/multiarch/strcat-c.c: New File.
8672         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8673         * sysdeps/s390/multiarch/strcat.c: Likewise.
8674         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8675         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8676         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8677         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8678         wcscat functions.
8679         * sysdeps/s390/multiarch/ifunc-impl-list.c
8680         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8681         * string/strcat.c (STRCAT): Define and use macro.
8682         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8683         * string/test-strcat.c: Add wcscat support.
8684         * wcsmbs/test-wcscat.c: New File.
8685         * wcsmbs/Makefile (strop-tests): Add wcscat.
8686         * benchtests/bench-strcat.c: Add wcscat support.
8687         * benchtests/bench-wcscat.c: New File.
8688         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8690         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8691         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8692         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8693         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8694         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8695         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8696         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8697         wcpncpy functions.
8698         * sysdeps/s390/multiarch/ifunc-impl-list.c
8699         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8700         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8701         * string/test-stpncpy.c: Add wcpncpy support.
8702         * wcsmbs/test-wcpncpy.c: New File.
8703         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8704         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8705         * benchtests/bench-wcpncpy.c: New File.
8706         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8708         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8709         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8710         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8711         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8712         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8713         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8714         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8716         wcsncpy functions.
8717         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8718         * sysdeps/s390/multiarch/ifunc-impl-list.c
8719         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8720         * string/test-strncpy.c: Add wcsncpy support.
8721         * wcsmbs/test-wcsncpy.c: New File.
8722         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8723         * benchtests/bench-strncpy.c: Add wcsncpy support.
8724         * benchtests/bench-wcsncpy.c: New File.
8725         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8727         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8728         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8729         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8730         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8731         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8732         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8733         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8734         wcpcpy functions.
8735         * string/stpcpy.c: Use STPCPY if defined.
8736         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8737         * sysdeps/s390/multiarch/ifunc-impl-list.c
8738         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8739         * string/test-stpcpy.c: Add wcpcpy support.
8740         * wcsmbs/test-wcpcpy.c: New File.
8741         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8742         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8743         * benchtests/bench-wcpcpy.c: New File.
8744         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8746         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8747         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8748         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8749         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8750         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8751         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8752         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8753         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8754         wcscpy functions.
8755         * sysdeps/s390/multiarch/ifunc-impl-list.c
8756         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8757         * benchtests/bench-wcscpy.c: New File.
8758         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8760         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8761         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8762         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8763         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8764         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8765         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8767         wcsnlen functions.
8768         * sysdeps/s390/multiarch/ifunc-impl-list.c
8769         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8770         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8771         * string/test-strnlen.c: Add wcsnlen support.
8772         * wcsmbs/test-wcsnlen.c: New File.
8773         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8774         * benchtests/bench-strnlen.c: Add wcsnlen support.
8775         * benchtests/bench-wcsnlen.c: New File.
8776         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8778         * sysdeps/s390/multiarch/Makefile: New File.
8779         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8780         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8781         * sysdeps/s390/multiarch/strlen.c: Likewise.
8782         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8783         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8784         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8785         * string/strlen.c (STRLEN): Define and use macro.
8786         * sysdeps/s390/multiarch/ifunc-impl-list.c
8787         (IFUNC_VX_IMPL): New macro function.
8788         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8789         * benchtests/Makefile (wcsmbs-bench): New variable.
8790         (string-bench-all): Added wcsmbs-bench.
8791         * benchtests/bench-wcslen.c: New File.
8793         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8794         s390_vx_libc_ifunc2): New macro function.
8796         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8797         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8798         assembler support.
8799         * sysdeps/s390/configure: Regenerated.
8801         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8802         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8804         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8805         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8806         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8808         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8809         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8810         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8811         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8812         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8813         (memcmp, bcmp): Use __memcmp_default as alias source.
8814         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8815         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8816         Rename to __memcmp_default.
8817         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8818         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8819         (memcpy): Use __memcpy_default as alias source.
8820         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8821         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8822         Rename to __memcpy_default.
8823         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8824         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8825         (memset): Use __memset_default as alias source.
8826         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8827         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8828         Rename to __memset_default.
8829         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8830         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8831         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8832         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8833         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8834         (memcmp, bcmp): Use __memcmp_default as alias source.
8835         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8836         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8837         Rename to __memcmp_default.
8838         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8839         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8840         (memcpy): Use __memcpy_default as alias source.
8841         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8842         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8843         Rename to __memcpy_default.
8844         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8845         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8846         (memset): Use __memset_default as alias source.
8847         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8848         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8849         Rename to __memset_default.
8850         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8851         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8853         [BZ #18610]
8854         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8855         __ieee_instruction_pointer to __unused.
8856         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8857         __ieee_instruction_pointer.
8858         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8859         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8860         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8861         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8862         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8863         Mark dxc-field as reserved.
8865 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8867         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8868         if the weak reference is not null.
8870 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8872         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8874         [BZ #11214]
8875         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8877 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8879         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8880         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8881         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8882         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8883         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8884         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8885         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8886         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8887         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8888         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8889         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8890         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8891         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8892         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8893         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8894         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8895         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8896         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8898 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8900         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8901         register other than r0 for tabort, it has special meaning.
8902         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
8903         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8904         transaction before starting syscall.
8906 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8908         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8910 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8912         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8914         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8915         * sysdeps/x86_64/rtld-memset.S: Likewise.
8916         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8917         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8918         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8919         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8921         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8923 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8925         * debug/strcpy_chk.c: Improve performance.
8926         * debug/stpcpy_chk.c: Likewise.
8927         * sysdeps/x86_64/strcpy_chk.S: Remove.
8928         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8930         [BZ #18240]
8931         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8933 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8935         [BZ #15128]
8936         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8937         ifuncmain8.
8938         (modules-names): Add ifuncmod8.
8939         ($(objpfx)ifuncmain8): New rule.
8940         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8941         <cpuid.h>.
8942         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8943         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8944         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8945         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8946         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8947         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8948         * sysdeps/x86_64/ifuncmain8.c: New file.
8949         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8950         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8951         Removed.
8952         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8953         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8954         Change rtld_savespace_sse to __glibc_unused2.
8955         (RTLD_CHECK_FOREIGN_CALL): Removed.
8956         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8957         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8958         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8960 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8962         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8964 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8966         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8967         Unconditionally set __fpcr to avoid uninialized warning.
8968         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8970 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8972         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8973         is corrupt.
8975         * malloc/arena.c (arena_get2): Drop unused argument.
8976         (arena_lock): Adjust.
8977         (arena_get_retry): Likewise.
8979 2015-08-24  Andreas Schwab  <schwab@suse.de>
8981         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8982         Don't define.
8983         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8984         (__ASSUME_IPC64): Don't undef.
8985         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8986         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8987         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8988         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8989         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8990         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8991         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8992         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8993         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8994         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8995         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8996         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8997         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8998         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8999         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9000         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9001         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9002         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9003         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9004         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9005         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9007 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9009         * manual/Makefile (install): Only build manual when perl is available.
9011 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9013         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9014         '#undef memcpy' by '#undef memchr'.
9016 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9018         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9019         memchr not point to the internal __GI_memchr implementation.
9021 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9023         * timezone/Makefile (CFLAGS-zdump.c): Remove
9024         -Wno-strict-prototypes.
9025         (CFLAGS-zic.c): Likewise.
9026         (CFLAGS-ialloc.c): Likewise.
9027         (CFLAGS-scheck.c): Likewise.
9029         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9030         -Wno-error=undef.
9032 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9034         * i386/i686/multiarch/strcasestr-c.c: Removed.
9035         * x86_64/multiarch/strcasestr.c: Likewise.
9036         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9037         Remove strcasestr.
9039 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9041         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9043         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9044         variables for high and low parts before possibly modifying them.
9046 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9048         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9049         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9050         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9051         of "multiarch/init-arch.h".
9052         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9053         * sysdeps/x86/init-arch.h: This.
9055 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9057         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9058         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9060 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9062         [BZ #17787]
9063         * manual/macros.texi: Add twoexp macro.
9064         * manual/filesys.texi: Fix exponents.
9065         * manual/llio.texi: Likewise.
9066         * manual/stdio.texi: Likewise.
9068 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9070         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9071         incorrect use.
9073 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9075         [BZ #18370]
9076         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9077         whose real or imaginary part has small absolute value.
9078         * math/s_csqrtf.c (__csqrtf): Likewise.
9079         * math/s_csqrtl.c (__csqrtl): Likewise.
9080         * math/auto-libm-test-in: Add more tests of csqrt.
9081         * math/auto-libm-test-out: Regenerated.
9082         * sysdeps/i386/fpu/libm-test-ulps: Update.
9084 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9086         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9087         __ppc_set_ppr_very_low): New functions.
9088         * manual/platform.texi: Add documentation about
9089         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9091 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9093         * string/stpncpy.c (stpncpy): Improve performance using
9094         __strnlen/memcpy/memset.
9096 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9098         [BZ #18796]
9099         * scripts/test-installation.pl: Don't add -lmvec to build options if
9100         libmvec wasn't built.
9102 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9104         [BZ #14341]
9105         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9106         case when there is a gap between DT_REL and DT_JMPREL sections.
9107         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9108         (LDFLAGS-tst-split-dynreloc): New.
9109         (tst-split-dynreloc-ENV): Likewise.
9110         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9111         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9113 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9115         [BZ #18822]
9116         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9117         attribute_hidden.
9118         (__xstat64_conv): Likewise.
9119         (__xstat32_conv): Likewise.
9121 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9123         [BZ #18822]
9124         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9125         Don't load %ebx when calling __setcontext.  Call __setcontext
9126         with HIDDEN_JUMPTARGET.
9127         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9128         libc_hidden_def.
9130 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9132         * sysdeps/i386/i686/Makefile
9133         [$(subdir) == string] (sysdep_routines): Moved to ...
9134         * sysdeps/i386/Makefile: Here.
9135         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9136         * sysdeps/i386/cacheinfo.c: Here.
9137         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9138         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9139         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9140         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9142 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9144         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9145         __i586__ is defined.
9146         (HAS_I686): Defined to 1 if __i686__ is defined.
9148 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9150         * elf/Makefile [$(have-z-execstack) = yes]
9151         (CPPFLAGS-tst-execstack.c): New variable.
9153         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9154         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9155         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9156         UTMPX || _HAVE_UT_TV].
9157         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9158         UTMPX || _HAVE_UT_TV - 0].
9160 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9162         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9163         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9164         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9166 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9168         * sysdeps/powerpc/dl-procinfo.c:
9169         (_dl_powerpc_cap_flags): Added missing strings for some
9170         hwcap features.
9171         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9173 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9175         Port the 0x7efe...feff pattern to GCC 6.
9176         See Steve Ellcey's bug report in:
9177         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9178         * string/memrchr.c (MEMRCHR):
9179         * string/rawmemchr.c (RAWMEMCHR):
9180         * string/strchr.c (strchr):
9181         * string/strchrnul.c (STRCHRNUL):
9182         Rewrite code to avoid issues with signed shift overflow.
9184 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9186         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9187         whether cpuid is available only if HAS_CPUID is 0.
9188         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9189         (HAS_I586): Likewise.
9190         (HAS_I686): Likewise.
9192 2015-08-18  Zack Weinberg  <zackw@panix.com>
9194         * misc/Versions (libc): Add GLIBC_2.23.
9196 2015-08-18  Alan Modra  <amodra@gmail.com>
9198         [BZ #18421]
9199         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9200         .Lp__global.
9201         (_start): Load %dp via .Lp__global.
9202         [!SHARED]: Use .section .rodata.
9204 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9206         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9207         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9209 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9211         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9212         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9214 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9216         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9217         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9219 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9221         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9222         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9224 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9226         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9227         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9229 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9231         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9232         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9234 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9236         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9238 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9240         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9241         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9242         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9243         (__ASSUME_LWS_CAS): Delete.
9245 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9247         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9248         * sysdeps/hppa/configure: Regenerated.
9249         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9250         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9251         * sysdeps/hppa/nptl/tls.h: Likewise.
9253 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9255         [BZ #18823]
9256         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9257         for scaling up small arguments.
9258         * math/s_csqrtf.c (__csqrtf): Likewise.
9259         * math/s_csqrtl.c (__csqrtl): Likewise.
9260         * math/auto-libm-test-in: Add more tests of csqrt.
9261         * math/auto-libm-test-out: Regenerated.
9263 2015-08-17  Andreas Schwab  <schwab@suse.de>
9265         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9266         version set GLIBC_2.19.
9268 2015-08-16  Zack Weinberg  <zackw@panix.com>
9270         [BZ #18681]
9271         * misc/regexp.h: This interface is no longer supported.
9272         Remove all contents, leaving only an #error directive.
9273         * misc/regexp.c (loc1, loc2, locs, step, advance):
9274         Demote to compatibility symbols.
9276 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9278         [BZ #18084]
9279         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9280         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9281         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9282         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9283         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9284         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9285         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9286         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9287         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9289 2015-08-15  Zack Weinberg  <zackw@panix.com>
9291         [BZ #18795]
9292         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9293         buffer length is known to be too large, not if it's known to be
9294         small enough.
9295         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9296         overflow at runtime, involving a length parameter, twice: once
9297         with a compile-time constant length parameter, once without.
9299 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9301         [BZ #18824]
9302         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9303         scaling x * y up instead of down.
9304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9306         * math/auto-libm-test-in: Add more tests of fma.
9307         * math/auto-libm-test-out: Regenerated.
9309 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9311         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9313 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9315         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9316         unnecessary movq.
9317         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9318         Likewise.
9320 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9322         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9323         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9324         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9325         and tgamma.
9326         * math/auto-libm-test-out: Regenerated.
9327         * sysdeps/i386/fpu/libm-test-ulps: Update.
9328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9330         [BZ #16520]
9331         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9332         (__tanh): Force underflow exception for arguments with small
9333         absolute value.
9334         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9335         (__tanhf): Force underflow exception for arguments with small
9336         absolute value.
9337         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9338         (__tanhl): Force underflow exception for arguments with small
9339         absolute value.
9340         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9341         (__tanhl): Force underflow exception for arguments with small
9342         absolute value.
9343         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9344         (__tanhl): Force underflow exception for arguments with small
9345         absolute value.
9346         * math/auto-libm-test-in: Add more tests of tanh.
9347         * math/auto-libm-test-out: Regenerated.
9348         * sysdeps/i386/fpu/libm-test-ulps: Update.
9350 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9352         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9353         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9355 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9357         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9358         <cpuid.h>.
9360 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9362         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9363         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9365 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9367         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9368         Remove $(objpfx)init-arch.o.
9369         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9370         init-arch.
9371         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9372         (INIT_ARCH_EXT): Defined as empty.
9373         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9374         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9375         __init_cpu_features call.  Replace HAS_XXX with
9376         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9378         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9379         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9380         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9381         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9382         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9383         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9384         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9385         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9386         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9387         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9388         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9389         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9390         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9391         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9393         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9394         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9395         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9396         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9397         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9398         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9399         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9400         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9401         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9402         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9403         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9404         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9406         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9407         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9408         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9409         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9411         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9413 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9415         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9416         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9417         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9418         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9419         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9420         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9421         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9422         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9423         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9424         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9425         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9426         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9427         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9428         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9429         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9430         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9431         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9432         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9433         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9434         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9435         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9436         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9437         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9438         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9439         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9440         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9441         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9442         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9443         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9444         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9445         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9446         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9447         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9448         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9449         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9450         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9451         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9452         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9453         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9454         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9455         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9456         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9457         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9459 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9461         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9462         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9463         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9464         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9465         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9466         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9467         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9468         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9469         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9470         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9471         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9472         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9473         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9474         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9475         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9476         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9477         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9478         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9479         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9480         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9482         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9483         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9484         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9485         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9486         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9487         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9488         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9489         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9490         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9491         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9492         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9493         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9494         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9495         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9496         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9497         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9498         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9499         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9500         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9501         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9502         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9503         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9505 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9507         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9508         (dl_platform_init): Call init_cpu_features.
9509         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9510         * sysdeps/i386/i686/cacheinfo.c
9511         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9512         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9513         * sysdeps/i386/i686/multiarch/Versions: Removed.
9514         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9515         Removed.
9516         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9517         * sysdeps/unix/sysv/linux/x86/Makefile
9518         (libpthread-sysdep_routines): Remove init-arch.
9519         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9520         <sysdeps/x86_64/dl-procinfo.c> instead of
9521         sysdeps/generic/dl-procinfo.c>.
9522         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9523         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9524         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9525         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9526         [$(subdir) == elf] (tests-static): Add
9527         tst-get-cpu-features-static.
9528         * sysdeps/x86/Versions: New file.
9529         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9530         * sysdeps/x86/cpu-features.c: Likewise.
9531         * sysdeps/x86/cpu-features.h: Likewise.
9532         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9533         * sysdeps/x86/libc-start.c: Likewise.
9534         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9535         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9536         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9537         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9538         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9539         Assume USE_MULTIARCH is defined and don't check it.
9540         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9541         (is_amd): Likewise.
9542         (max_cpuid): Likewise.
9543         (intel_check_word): Likewise.
9544         (__cache_sysconf): Don't call __init_cpu_features.
9545         (__x86_preferred_memory_instruction): Removed.
9546         (init_cacheinfo): Don't call __init_cpu_features. Replace
9547         __cpu_features with GLRO(dl_x86_cpu_features).
9548         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9549         (dl_platform_init): Call init_cpu_features.
9550         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9551         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9552         * sysdeps/x86_64/multiarch/Versions: Removed.
9553         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9554         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9555         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9556         Removed.
9557         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9559 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9561         [BZ #18820]
9562         * libio/Makefile (test-fmemopen-mem): New test.
9563         * libio/test-fmemopen.c (do_bz18820): New test.
9564         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9565         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9567 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9569         [BZ #16734]
9570         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9571         (FREE_BUF): Delete.
9572         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9573         * libio/genops.c (_IO_setb): Use malloc and free directly.
9574         (_IO_default_doallocate, _IO_default_finish): Likewise.
9575         ( _IO_unbuffer_all): Likewise.
9576         ( libc_freeres_fn): Likewise.
9577         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9578         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9579         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9580         (_IO_wdefault_doallocate): Likewise.
9582 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9584         [BZ #18086]
9585         * sysdeps/posix/nice.c (nice): Restore old errno.
9586         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9588 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9592 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9594         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9595         __bcopy and add a weak_alias to bcopy.
9596         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9597         for static build.
9599         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9600         cleanup macro usage.
9601         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9602         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9603         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9604         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9605         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9606         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9607         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9608         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9609         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9610         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9611         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9612         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9613         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9614         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9615         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9616         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9617         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9618         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9619         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9621         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9622         libc_hidden_def.
9623         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9625         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9626         (sysdep_routines): Add strstr-ppc64.
9627         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9629 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9631         [BZ #18778]
9632         * elf/Makefile (tests): Add Add tst-nodelete2.
9633         (modules-names): Add tst-nodelete2mod.
9634         (tst-nodelete2mod.so-no-z-defs): New.
9635         ($(objpfx)tst-nodelete2): Likewise.
9636         ($(objpfx)tst-nodelete2.out): Likewise.
9637         (LDFLAGS-tst-nodelete2): Likewise.
9638         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9639         out of loop through all loaded libraries.
9640         * elf/tst-nodelete2.c: New file.
9641         * elf/tst-nodelete2mod.c: Likewise.
9642         * elf/tst-znodelete-zlib.cc: Delete.
9644 2015-08-11  Andreas Schwab  <schwab@suse.de>
9646         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9647         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9648         (__openat64_nocancel): Likewise.
9650 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9652         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9653         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9654         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9655         * math/auto-libm-test-out: Regenerated.
9656         * sysdeps/i386/fpu/libm-test-ulps: Update.
9657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9659 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9661         [BZ #18790]
9662         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9663         threshold for returning +/- 1.
9664         * math/auto-libm-test-in: Add more tests of tanh.
9665         * math/auto-libm-test-out: Regenerated.
9666         * sysdeps/i386/fpu/libm-test-ulps: Update.
9668 2015-08-10  Andreas Schwab  <schwab@suse.de>
9670         [BZ #18781]
9671         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9672         MORE_OFLAGS to oflag.
9673         * io/test-lfs.c (do_test): Test openat64.
9675 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9677         [BZ #18789]
9678         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9679         smaller threshold for returning the argument.
9680         * math/auto-libm-test-in: Add more tests of sinh.
9681         * math/auto-libm-test-out: Regenerated.
9682         * sysdeps/i386/fpu/libm-test-ulps: Update.
9684 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9686         [BZ #18674]
9687         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9688         break.
9690 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9692         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9693         (generated): Don't add $(addprefix z.,$(tzfiles)).
9695 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9697         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9698         * scripts/sysd-rules.awk: Likewise.
9700 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9702         * iconvdata/tst-tables.sh: Change echo -n to printf.
9703         * nss/db-Makefile: Likewise.
9704         * posix/tst-getconf.sh: Likewise.
9705         * stdio-common/tst-unbputc.sh: Likewise.
9707 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9709         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9710         MADV_*_PAGES defines behind this feature check.
9712 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9714         [BZ #18480]
9715         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9716         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9717         Define.
9718         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9719         LOAD_REGS_5, LOAD_REGS_6): Update.
9720         (INTERNAL_SYSCALL): Update using new LOAD defines.
9721         (INTERNAL_SYSCALL_NCS): Likewise.
9722         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9724 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9726         [BZ #16734]
9727         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9729 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9731         [BZ #17905]
9732         * catgets/Makefile (tst-catgets-mem): New test.
9733         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9734         * catgets/open_catalog.c (__open_catalog): Likewise.
9735         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9737 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9739         [BZ #18787]
9740         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9741         clobber registers.
9742         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9743         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9744         Cast return to __typeof (oldval).
9746 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9748         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9749         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9750         and delete sys/syscall.h include.
9752 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9754         [BZ #16517]
9755         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9756         (tan): Force underflow exception for arguments with small absolute
9757         value.
9758         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9759         (__kernel_tanf): Force underflow exception for arguments with
9760         small absolute value.
9761         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9762         (__kernel_tanl): Force underflow exception for arguments with
9763         small absolute value.
9764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9765         (__kernel_tanl): Force underflow exception for arguments with
9766         small absolute value.
9767         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9768         (__kernel_tanl): Force underflow exception for arguments with
9769         small absolute value.
9770         * math/auto-libm-test-in: Add more tests of tan.
9771         * math/auto-libm-test-out: Regenerated.
9773 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9775         Fix sysdeps/i386/fpu/s_scalbn.S build
9777         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9779 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9781         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9783 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9785         Fix gcrt0.o compilation
9787         When static-start-installed-name is different from
9788         start-installed-name, we must not use the shared objects.
9790         * csu/Makefile
9791         (extra-objs): Add gmon-start.o when building shared library and
9792         $(static-start-installed-name) is different from
9793         $(start-installed-name).
9794         $(objpfx)g$(static-start-installed-name): When building shared
9795         library and $(static-start-installed-name) is different from
9796         $(static-start-installed-name), revert to non-shared rule,
9797         i.e. using $(objpfx)% and gmon-start.o.
9799 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9801         [BZ #16519]
9802         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9803         (__ieee754_sinh): Force underflow exception for arguments with
9804         small absolute value.
9805         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9806         (__ieee754_sinhf): Force underflow exception for arguments with
9807         small absolute value.
9808         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9809         (__ieee754_sinhl): Force underflow exception for arguments with
9810         small absolute value.
9811         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9812         (__ieee754_sinhl): Force underflow exception for arguments with
9813         small absolute value.
9814         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9815         (__ieee754_sinhl): Force underflow exception for arguments with
9816         small absolute value.
9817         * math/auto-libm-test-in: Add more tests of sinh.
9818         * math/auto-libm-test-out: Regenerated.
9819         * sysdeps/i386/fpu/libm-test-ulps: Update.
9821 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9823         * libio/oldfileops.c: Include unistd.h.
9825 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9827         * stdlib/isomac.c: Include ctype.h.
9829 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9831         * dirent/tst-seekdir.c (main): Converted to ...
9832         (do_test): ... this.
9833         (TEST_FUNCTION): New macro.
9834         Include test-skeleton.c.
9835         * elf/tst-dlmodcount.c (main): Converted to ...
9836         (do_test): ... this.
9837         (TEST_FUNCTION): New macro.
9838         Include test-skeleton.c.
9839         * elf/tst-order-main.c (main): Converted to ...
9840         (do_test): ... this.
9841         (TEST_FUNCTION): New macro.
9842         Include test-skeleton.c.
9843         * elf/tst-pie2.c (main): Converted to ...
9844         (do_test): ... this.
9845         (TEST_FUNCTION): New macro.
9846         Include test-skeleton.c.
9847         * inet/tst-ether_aton.c (main): Converted to ...
9848         (do_test): ... this.
9849         (TEST_FUNCTION): New macro.
9850         Include test-skeleton.c.
9851         * misc/tst-mntent.c (main): Converted to ...
9852         (do_test): ... this.
9853         (TEST_FUNCTION): New macro.
9854         Include test-skeleton.c.
9855         * misc/tst-tsearch.c (main): Converted to ...
9856         (do_test): ... this.
9857         (TEST_FUNCTION): New macro.
9858         Include test-skeleton.c.
9859         * posix/tst-regexloc.c (main): Converted to ...
9860         (do_test): ... this.
9861         (TEST_FUNCTION): New macro.
9862         Include test-skeleton.c.
9863         * resolv/tst-aton.c (main): Converted to ...
9864         (do_test): ... this.
9865         (TEST_FUNCTION): New macro.
9866         Include test-skeleton.c.
9867         * stdio-common/test-fwrite.c (main): Converted to ...
9868         (do_test): ... this.
9869         (TEST_FUNCTION): New macro.
9870         Include test-skeleton.c.
9871         * stdio-common/tst-ferror.c (main): Converted to ...
9872         (do_test): ... this.
9873         (TEST_FUNCTION): New macro.
9874         Include test-skeleton.c.
9875         * stdio-common/tst-printf.c (main): Converted to ...
9876         (do_test): ... this.
9877         (TEST_FUNCTION): New macro.
9878         Include test-skeleton.c.
9879         * stdio-common/tst-printfsz.c (main): Converted to ...
9880         (do_test): ... this.
9881         (TEST_FUNCTION): New macro.
9882         Include test-skeleton.c.
9883         * stdlib/tst-strtod.c (main): Converted to ...
9884         (do_test): ... this.
9885         (TEST_FUNCTION): New macro.
9886         Include test-skeleton.c.
9887         * string/tst-strlen.c (main): Converted to ...
9888         (do_test): ... this.
9889         (TEST_FUNCTION): New macro.
9890         Include test-skeleton.c.
9891         * string/tst-svc.c (main): Converted to ...
9892         (do_test): ... this.
9893         (TEST_FUNCTION): New macro.
9894         Include test-skeleton.c.
9895         * time/tst-strptime.c (main): Converted to ...
9896         (do_test): ... this.
9897         (TEST_FUNCTION): New macro.
9898         Include test-skeleton.c.
9899         * timezone/tst-timezone.c (main): Converted to ...
9900         (do_test): ... this.
9901         (TEST_FUNCTION): New macro.
9902         Include test-skeleton.c.
9904 2015-08-05  Zack Weinberg  <zackw@panix.com>
9906         * misc/regexp.h: Update comments.
9908 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9910         [BZ #18635]
9911         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9912         before return label.
9914 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9916         [BZ #18661]
9917         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9918         when calling __errno_location.
9919         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9920         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9922 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9924         [BZ #18661]
9925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9926         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9927         __gettimeofday.
9929 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9931         [BZ #18661]
9932         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9933         (__start_context): Don't use pop to restore %rdi so that stack
9934         is aligned to 16 bytes when calling __setcontext.
9936 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9938         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9939         only for libc.
9940         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9942 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9944         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9945         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9946         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9948 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9950         * string/memccpy.c (memccpy):
9951         Improve performance by using memchr/memcpy/__mempcpy.
9953 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9955         * string/strncpy.c (strncpy):
9956         Improve performance by using __strnlen/memcpy.
9958 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9960         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9961         Optimize to avoid an unnecessary FPCR read.
9963 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9965         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9966         Optimize to reduce FPCR/FPSR accesses.
9968 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9970         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9971         dead->data[category] != NULL.
9973 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9975         [BZ #18647]
9976         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9977         and |x| close to 1, use absolute value of x when computing log.
9978         * math/auto-libm-test-in: Add more tests of pow.
9979         * math/auto-libm-test-out: Regenerated.
9981 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9983         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9984         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9985         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9987 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9989         [BZ #18525]
9990         * locales/km_KH: Remove timezone definition.
9991         * locales/lo_LA: Likewise.
9992         * locales/my_MM: Likewise.
9993         * locales/nan_TW@latin: Likewise.
9994         * locales/th_TH: Likewise.
9995         * locales/uk_UA: Likewise.
9997 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9999         [BZ #18265]
10000         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10001         (wcsncat): Likewise.
10002         (wcscmp): Likewise.
10003         (wcsncmp): Likewise.
10005 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10007         * test-skeleton.c (usage): New function.
10008         (main): Call usage when opt is '?'.
10010 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10012         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10013         before first use.
10015 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10017         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10018         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10019         in there too.
10021 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10023         * version.h (RELEASE): Set to "development".
10024         (VERSION): Set to "2.22.90"
10026         * version.h (RELEASE): Set to "stable".
10027         (VERSION): Set to "2.22"
10028         * include/features.h (__GLIBC_MINOR__): Set to 22.
10030 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10032         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10033         Restructure macro to avoid "value computed is not used" warning.
10034         (atomic_compare_and_exchange_val_acq): Likewise.
10036 2015-08-04  Andreas Schwab  <schwab@suse.de>
10038         [BZ #18635]
10039         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10040         ret.
10041         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10043 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10045         * po/pl.po: Updated translation.
10046         * po/uk.po: Likewise.
10047         * po/fi.po: Likewise.
10048         * po/ko.po: Likewise.
10049         * po/ru.po: Likewise.
10050         * po/vi.po: Likewise.
10052 2015-07-31  Zack Weinberg  <zackw@panix.com>
10054         [BZ #18681]
10055         * regexp.h: Add unconditional #warning stating that this header
10056         will be removed soon.  Revise banner comment to match.
10057         (compile): Consistently use ERROR instead of RETURN to report
10058         errors (partial fix for bz#18681).
10059         * regexp.c: Don't include regexp.h. Remove some unnecessary
10060         declarations.
10062 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10064         * po/libc.pot: Regenerated.
10066 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10068         [BZ #18740]
10069         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10070         float-vlen4-arch-ext-cflags): Removed.
10071         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10072         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10074 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10076         [BZ #14113]
10077         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10078         aligned to __aligned__.
10079         (pthread_cond_t, pthread_rwlock_t): Likewise.
10081 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10083         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10085 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10087         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10088         (struct sigaction): Change sa_flags from a long to an int, and add
10089         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10091 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10093         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10094         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10095         sysdeps/generic/sysdep.h include.
10096         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10097         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10098         sysdeps/hppa/sysdep.h.
10099         (ENTRY, PSEUDO): Undefine before defining.
10101 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10103         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10104         from scratch to use INTERNAL_SYSCALL.
10106 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10108         [BZ #18078]
10109         * scripts/check-localplt.awk: Support alternate relocations.
10110         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10111         sections.
10112         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10113         malloc entries with + REL R_386_GLOB_DAT.
10114         * sysdeps/x86_64/localplt.data: New file.
10116 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10118         [BZ #18731]
10119         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10120         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10121         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10123 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10125         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10127 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10129         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10130         directly in terms of __sync_fetch_and_add and delete (int) cast.
10132 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10134         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10135         the -D_ASM_IA64_CURRENT_H flag.
10137 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10139         [BZ #18641]
10140         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10142 2015-07-27  Andreas Schwab  <schwab@suse.de>
10144         * conform/conformtest.pl (checknamespace): Filter out string
10145         literals while tokenizing.
10147 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10149         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10150         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10151         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10153 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10155         * nptl/tst-join7mod.c: Add #include <string.h>.
10157 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10159         * sysdeps/nios2/libm-test-ulps: Update.
10161 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10163         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10164         Fix order of arguments to the rt_sigprocmask syscall.
10165         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10166         Likewise.
10168 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10170         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10172 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10174         [BZ #18457]
10175         * nptl/Makefile (tests): New test case tst-join7.
10176         (modules-names): New test case module tst-join7mod.
10177         * nptl/tst-join7.c: New file.
10178         * nptl/tst-join7mod.c: New file.
10179         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10180         all translation units in libc.so, libpthread.so and rtld.
10182 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10186 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10188         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10189         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10190         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10191         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10192         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10193         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10196         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10197         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10198         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10199         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10200         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10201         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10203         implementation.
10205 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10207         [BZ #17711]
10208         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10209         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10210         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10211         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10212         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10213         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10215 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10217         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10218         instead of just saying load lock in the comments.
10220 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10222         * sysdeps/unix/Subdirs: Moved ...
10223         * sysdeps/posix/Subdirs: ... here.
10224         * login/pty.h (struct termios, struct winsize): Add forward decls.
10225         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10226         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10227         * sysdeps/arm/nacl/libc.abilist: Updated.
10228         * sysdeps/nacl/libutil.abilist: New file.
10230         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10231         (SIGWINCH): New macro.
10233         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10234         * sysdeps/arm/nacl/libc.abilist: Add it.
10236 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10238         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10240 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10242         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10243         Swap __glibc_reserved0 and sa_flags order.
10245 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10247         [BZ #18657]
10248         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10249         are pending TLS destructor calls.
10250         * include/link.h (struct link_map): Add concurrency note for
10251         L_TLS_DTOR_COUNT.
10252         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10253         Don't touch the link map flag.  Atomically increment
10254         l_tls_dtor_count.
10255         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10256         Avoid taking the load lock and don't touch the link map flag.
10257         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10258         * stdlib/Makefile (tests): Use it.
10259         * stdlib/tst-tls-atexit.c (do_test): dlopen
10260         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10261         to allow tst-tls-atexit-nodelete test case to use it.
10263 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10265         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10266         to bits/types.h.
10267         (msgqnum_t): New typedef.
10268         (msglen_t): Likewise.
10269         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10270         and msg_qbytes type to msglen_t.
10272 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10274         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10275         pad0 to __glibc_reserved0.
10276         (struct stat64): Likewise.
10278 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10280         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10281         Change sa_flags from a long to an int and add __glibc_reserved0 before
10282         it for padding.
10284 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10286         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10287         anonymous by deleting "siginfo" name.
10289 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10291         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10292         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10293         rather than __nacl_irt_filename.
10294         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10296         * NEWS: New item for arm-nacl port.
10297         * sysdeps/arm/nacl/libc.abilist: New file.
10298         * sysdeps/nacl/ld.abilist: New file.
10299         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10300         * sysdeps/nacl/libanl.abilist: New file.
10301         * sysdeps/nacl/libcrypt.abilist: New file.
10302         * sysdeps/nacl/libdl.abilist: New file.
10303         * sysdeps/nacl/libm.abilist: New file.
10304         * sysdeps/nacl/libpthread.abilist: New file.
10305         * sysdeps/nacl/libresolv.abilist: New file.
10306         * sysdeps/nacl/librt.abilist: New file.
10308 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10310         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10311         __startcontext to initialize the new context.
10312         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10313         up CFI directive to forbid further backtracing.
10315 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10317         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10318         reference.
10319         * charmaps/ANSI_X3.4-1968: Likewise.
10320         * charmaps/BS_4730: Likewise.
10321         * charmaps/BS_VIEWDATA: Likewise.
10322         * charmaps/CP1250: Likewise.
10323         * charmaps/CP1251: Likewise.
10324         * charmaps/CP1252: Likewise.
10325         * charmaps/CP1253: Likewise.
10326         * charmaps/CP1254: Likewise.
10327         * charmaps/CP1255: Likewise.
10328         * charmaps/CP1256: Likewise.
10329         * charmaps/CSN_369103: Likewise.
10330         * charmaps/EBCDIC-DK-NO: Likewise.
10331         * charmaps/GB_1988-80: Likewise.
10332         * charmaps/GREEK-CCITT: Likewise.
10333         * charmaps/GREEK7: Likewise.
10334         * charmaps/INIS-8: Likewise.
10335         * charmaps/ISIRI-3342: Likewise.
10336         * charmaps/ISO_2033-1983: Likewise.
10337         * charmaps/ISO_5427-EXT: Likewise.
10338         * locales/POSIX: Likewise.
10339         * locales/ar_SA: Likewise.
10340         * locales/be_BY: Likewise.
10341         * locales/be_BY@latin: Likewise.
10342         * locales/ca_ES: Likewise.
10343         * locales/cs_CZ: Likewise.
10344         * locales/da_DK: Likewise.
10345         * locales/de_BE: Likewise.
10346         * locales/de_CH: Likewise.
10347         * locales/de_LU: Likewise.
10348         * locales/en_AU: Likewise.
10349         * locales/en_BW: Likewise.
10350         * locales/en_CA: Likewise.
10351         * locales/en_DK: Likewise.
10352         * locales/en_GB: Likewise.
10353         * locales/en_IE: Likewise.
10354         * locales/en_NZ: Likewise.
10355         * locales/en_ZA: Likewise.
10356         * locales/en_ZW: Likewise.
10357         * locales/es_AR: Likewise.
10358         * locales/es_BO: Likewise.
10359         * locales/es_CL: Likewise.
10360         * locales/es_CO: Likewise.
10361         * locales/es_DO: Likewise.
10362         * locales/es_EC: Likewise.
10363         * locales/es_ES: Likewise.
10364         * locales/es_HN: Likewise.
10365         * locales/es_MX: Likewise.
10366         * locales/es_PA: Likewise.
10367         * locales/es_PE: Likewise.
10368         * locales/es_PY: Likewise.
10369         * locales/es_SV: Likewise.
10370         * locales/es_US: Likewise.
10371         * locales/es_UY: Likewise.
10372         * locales/es_VE: Likewise.
10373         * locales/et_EE: Likewise.
10374         * locales/fa_IR: Likewise.
10375         * locales/fo_FO: Likewise.
10376         * locales/fr_CA: Likewise.
10377         * locales/fr_CH: Likewise.
10378         * locales/gv_GB: Likewise.
10379         * locales/he_IL: Likewise.
10380         * locales/hr_HR: Likewise.
10381         * locales/id_ID: Likewise.
10382         * locales/is_IS: Likewise.
10383         * locales/it_CH: Likewise.
10384         * locales/iw_IL: Likewise.
10385         * locales/kl_GL: Likewise.
10386         * locales/ko_KR: Likewise.
10387         * locales/kw_GB: Likewise.
10388         * locales/lg_UG: Likewise.
10389         * locales/lt_LT: Likewise.
10390         * locales/lv_LV: Likewise.
10391         * locales/mi_NZ: Likewise.
10392         * locales/nhn_MX: Likewise.
10393         * locales/nl_BE: Likewise.
10394         * locales/pl_PL: Likewise.
10395         * locales/sk_SK: Likewise.
10396         * locales/sl_SI: Likewise.
10397         * locales/sv_FI: Likewise.
10398         * locales/tl_PH: Likewise.
10399         * locales/tr_TR: Likewise.
10400         * locales/vi_VN: Likewise.
10402 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10404         [BZ #17475]
10405         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10406         of tu_IN and bh_IN.
10408 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10410         [BZ #18694]
10411         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10412         bits/wordsize.h.
10413         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10415 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10417         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10418         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10419         (spawn_thread): New function.
10420         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10421         (do_test): ... here.  Use IS_LOADED to test for its
10422         availability.
10424 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10426         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10428 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10430         [BZ #18696]
10431         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10432         si_addr_bnd.
10433         (si_lower): New.
10434         (si_upper): Likewise.
10436 2015-07-16  David S. Miller  <davem@davemloft.net>
10438         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10440 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10442         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10443         buffer.
10444         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10445         fail output information.
10447 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10450         and strstr-ppc64..
10451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10452         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10453         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10454         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10455         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10457 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10459         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10460         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10461         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10462         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10464 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10466         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10467         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10468         rtld_hidden_proto.
10469         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10471 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10473         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10474         the test can fail.
10476         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10478         [BZ #18676]
10479         * elf/tst-nodelete-opened.c: New test case.
10480         * elf/tst-nodelete-opened-lib.c: New test case module.
10481         * elf/Makefile (tests, modules-names): Use them.
10482         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10483         early.
10485 2015-07-15  David S. Miller  <davem@davemloft.net>
10487         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10488         futex-intenal.h
10489         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10490         * sysdeps/sparc/sparc64/Makefile: Likewise.
10491         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10492         Remove space from macro define.
10493         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10495 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10497         [BZ #17475]
10498         * locale/iso-639.def: Update Bhili and Tulu language codes as
10499         per iso639-3.
10501 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10503         * elf/tst-leaks1.c (main): Converted to ...
10504         (do_test): ... this.
10505         (TEST_FUNCTION): New macro.
10506         Include test-skeleton.c.
10507         * localedata/tst-langinfo.c (main): Converted to ...
10508         (do_test): ... this.
10509         (TEST_FUNCTION): New macro.
10510         Include test-skeleton.c.
10511         * math/test-fpucw.c (main): Converted to ...
10512         (do_test): ... this.
10513         (TEST_FUNCTION): New macro.
10514         Include test-skeleton.c.
10515         * math/test-tgmath.c (main): Converted to ...
10516         (do_test): ... this.
10517         (TEST_FUNCTION): New macro.
10518         Include test-skeleton.c.
10519         * math/test-tgmath2.c (main): Converted to ...
10520         (do_test): ... this.
10521         (TEST_FUNCTION): New macro.
10522         Include test-skeleton.c.
10523         * setjmp/tst-setjmp.c (main): Converted to ...
10524         (do_test): ... this.
10525         (TEST_FUNCTION): New macro.
10526         Include test-skeleton.c.
10527         * stdio-common/tst-sscanf.c (main): Converted to ...
10528         (do_test): ... this.
10529         (TEST_FUNCTION): New macro.
10530         Include test-skeleton.c.
10531         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10532         (do_test): ... this.
10533         (TEST_FUNCTION): New macro.
10534         Include test-skeleton.c.
10536         * elf/tst-audit9.c (main): Converted to ...
10537         (do_test): ... this.
10538         (TEST_FUNCTION): New macro.
10539         Include test-skeleton.c.
10541 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10543         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10545 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10547         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10548         New variable.
10550 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10552         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10554 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10556         * sysdeps/generic/dl-fileid.h: New file.
10557         * sysdeps/posix/dl-fileid.h: New file.
10558         * sysdeps/nacl/dl-fileid.h: New file.
10559         * include/link.h: Include <dl-fileid.h>.
10560         (struct link_map): Replace l_dev and l_ino with l_file_id.
10561         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10562         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10563         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10565 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10567         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10569 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10571         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10572         Add iff $CXX is set.
10573         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10574         Likewise.
10575         (tst-nodelete-zmodiff): Likewise.
10576         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10578 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10580         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10582 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10584         * sysdeps/aarch64/fpu/math_private.h
10585         (define math_opt_barrier): Add AArch64 version.
10586         (math_force_eval): Likewise.
10588 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10590         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10592 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10594         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10595         %ld with %jd and cast to intmax_t.
10596         (do_test_length_zero): Likewise.
10598 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10600         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10602 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10604         * sysdeps/tile/libm-test-ulps: Regenerated.
10606         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10607         Comment out the whole function, not just its body.
10609 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10611         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10612         locks.
10614         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10616 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10618         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10619         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10621 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10623         * sysdeps/nptl/futex-internal.h: New file.
10624         * sysdeps/nacl/futex-internal.h: New file.
10625         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10626         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10627         error checking.
10628         (setxid_unmark_thread): Likewise.
10629         (__nptl_setxid): Likewise.
10630         (__wait_lookup_done): Likewise.
10631         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10632         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10633         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10634         * nptl/pthread_once.c (clear_once_control): Likewise.
10635         (__pthread_once_slow): Likewise.
10636         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10637         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10638         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10639         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10640         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10641         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10642         Likewise.
10643         (__pthread_rwlock_rdlock): Likewise.
10644         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10645         Likewise.
10646         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10647         Likewise.
10648         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10649         Likewise.
10650         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10651         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10652         Likewise.
10653         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10654         __ASSUME_PRIVATE_FUTEX check.
10655         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10656         Check that shared futexes are supported.
10657         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10658         wrappers with error checking.
10659         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10660         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10661         * nptl/pthread_barrierattr_setpshared.c
10662         (pthread_barrierattr_setpshared): Check that shared futexes are
10663         supported.
10664         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10665         Likewise.
10666         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10667         Likewise.
10668         * nptl/sem_init.c (futex_private_if_supported): Remove.
10669         (__new_sem_init): Adapt and check that shared futexes are supported.
10670         * nptl/sem_open.c (sem_open): Likewise.
10671         * nptl/sem_post.c (futex_wake): Remove.
10672         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10673         (do_futex_wait): Use futex wrappers with error checking.
10674         * nptl/sem_wait.c: Include lowlevellock.h.
10675         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10676         Use futex_supports_pshared.
10677         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10678         Use futex wrappers with error checking.
10679         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10680         Likewise.
10681         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10682         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10683         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10684         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10685         (futex_wake): Likewise.
10686         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10687         (do_futex_wait): Use futex wrappers with error checking.
10688         (__new_sem_wait_slow): Update EINTR handling.
10689         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10691 2015-07-09  Martin Sebor  <msebor@redhat.com>
10693         [BZ #18435]
10694         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10695         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10696         * nptl/Makefile (test-xfail-tst-once5): Define.
10698 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10700         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10701         * elf/dl-minimal.c: For readability, reorder some definitions and
10702         introduce more page breaks.  Include <stdio.h>.
10703         (__libc_fatal): New function.
10705         * include/unistd.h: Add rtld_hidden_proto for _exit.
10706         * posix/_exit.c: Add rtld_hidden_def.
10707         * sysdeps/mach/hurd/_exit.c: Likewise.
10708         * sysdeps/nacl/_exit.c: Likewise.
10709         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10710         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10712 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10715         bndmov encoding with zero displacement.
10717 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10718             H.J. Lu  <hongjiu.lu@intel.com>
10720         [BZ #18134]
10721         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10722         * sysdeps/i386/configure: Regenerated.
10723         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10724         (_dl_runtime_profile): Save and restore Intel MPX return bound
10725         registers when calling _dl_call_pltexit.  Add
10726         PRESERVE_BND_REGS_PREFIX before return.
10727         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10728         (LRV_BND1_OFFSET): Likewise.
10729         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10730         lrv_bnd1.
10731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10732         typo in bndmov encoding.
10733         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10734         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10735         branch instructions to preserve bounds.
10737 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10740         [GLIBC_2.22]: Add fmemopen.
10742 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10744         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10745         returns an error, also try to use host port from __mach_host_self for
10746         the __vm_wire call.
10747         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10749 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10751         [BZ #18400]
10752         [BZ #18648]
10753         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10754         Fix pr_uid and pr_gid members.
10755         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10756         definition to elf_greg_t.
10758 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10760         [BZ #18383]
10761         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10762         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10763         * sysdeps/arm/configure: Regenerated.
10764         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10765         (test-xfail-tst-tlsalign-static): Variable removed.
10767         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10768         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10769         rather than explicit 'ln -s'.
10771         * resolv/rpc/netdb.h: New file.
10772         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10774 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10776         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10777         length buffers.
10778         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10779         test-skeleton.c.
10781         [BZ #6544]
10782         [BZ #11216]
10783         [BZ #12836]
10784         [BZ #13151]
10785         [BZ #13152]
10786         [BZ #14292]
10787         * include/stdio.h (fmemopen): Remove hidden prototype.
10788         (__fmemopen): Add new hidden prototype.
10789         * libio/Makefile: Add oldfmemopen object.
10790         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10791         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10792         compliance.
10793         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10794         symbol compatibility.
10795         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10796         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10797         fmemopen.
10798         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10799         on append and read mode.
10800         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10801         fmemopen.
10802         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10803         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10804         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10805         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10806         Likewise.
10807         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10808         [GLIBC_2.22]: Likewise.
10809         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10810         Likewise.
10811         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10814         [GLIBC_2.22]: Likewise.
10815         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10816         [GLIBC_2.22]: Likewise.
10817         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10818         [GLIBC_2.22]: Likewise.
10819         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10820         [GLIBC_2.22]: Likewise.
10821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10822         [GLIBC_2.22]: Likewise.
10823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10824         [GLIBC_2.22]: Likewise.
10825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10826         [GLIBC_2.22]: Likewise.
10827         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10828         Likewise.
10829         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10830         Likewise.
10831         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10832         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10833         [GLIBC_2.22]: Likewise.
10834         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10835         [GLIBC_2.22]: Likewise.
10836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10837         [GLIBC_2.22]: Likewise.
10838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10839         [GLIBC_2.22]: Likewise.
10840         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10841         Likewise.
10842         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10843         Likewise.
10844         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10845         Likewise.
10846         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10847         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10849 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10851         [BZ #18643]
10852         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10853         IPV6_PATHMTU, and IPV6_DONTFRAG.
10855 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10857         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10858         and _IO_UNBUFFERED.
10859         * libio/oldfileops.c: Likewise.
10860         * libio/wfileops.c: Likewise.
10862 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10864         * nscd/selinux.c: Delete selinux/flask.h include.
10866 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10868         [BZ #18641]
10869         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10870         (putpwent): Likewise.
10871         (getpwnam): Likewise.
10872         (getpwent_r): Likewise.
10873         (getpwuid_r): Likewise.
10874         (getpwnam_r): Likewise.
10875         (fgetpwent_r): Likewise.
10877 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10879         [BZ #18557]
10880         * inet/rcmd.c (__validuser2_sa): Check user first to
10881         short-circuit host check.
10883 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10884             Mikhail Ilin  <m.ilin@samsung.com>
10886         [BZ #17833]
10887         * elf/Makefile (tests): Add tst-nodelete.
10888         (modules-names): Add tst-nodelete-uniquemod.
10889         (tst-nodelete-uniquemod.so-no-z-defs): New.
10890         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10891         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10892         ($(objpfx)tst-nodelete): Likewise.
10893         ($(objpfx)tst-nodelete.out): Likewise.
10894         (LDFLAGS-tst-nodelete): Likewise.
10895         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10896         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10897         implement forced object deletion.
10898         (_dl_close): Pass false to _dl_close_worker.
10899         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10900         * elf/tst-nodelete.cc: New file.
10901         * elf/tst-nodeletelib.cc: Likewise.
10902         * elf/tst-znodeletelib.cc: Likewise.
10903         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10905 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10907         [BZ #18508]
10908         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10909         Depend on $(libdl).
10910         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10911         is not called infinitely times.
10912         (backtrace_helper): New function.
10913         (trace_arg): New struct.
10914         (st1): Enlarge stack size.
10915         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10916         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10917         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10918         Likewise.
10920 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10922         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10924 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10926         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10927         Include sys/types.h instead of bits/types.h.
10928         Remove inclusion of bits/wordsize.h.
10930 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10932         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10933         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10934         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10935         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10936         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10937         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10939 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10941         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10942         link-defines.sym.
10943         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10944         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10945         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10946         and LR_SIZE.
10947         * sysdeps/i386/link-defines.sym: New file.
10949 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10951         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10952         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10953         ($(objpfx)tst-audit3): New rule.
10954         ($(objpfx)tst-audit3.out): Likewise.
10955         * sysdeps/i386/tst-audit3.c: New file.
10956         * sysdeps/i386/tst-audit3.h: Likewise.
10957         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10958         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10960 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10962         [BZ #18633]
10963         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10964         pointer in C code.
10965         (__strcat_c): Likewise.
10966         (__strcat_g): Likewise.
10968 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10970         [BZ #18592]
10971         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10973 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10975         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10976         New function.  (__ieee754_sqrtf): New function.
10977         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10978         New function.
10979         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10980         New function.
10982 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10984         * sysdeps/ieee754/support.c: Remove unused file.
10986 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10988         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10989         registers instead of d ones so the layout is kernel abi compatible.
10990         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10991         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10992         Likewise.
10994 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10996         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10998 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11000         [BZ #18619]
11001         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11002         and return argument in case of subnormal argument.
11004 2015-07-01  Martin Sebor  <msebor@redhat.com>
11006         [BZ #18435]
11007         * nptl/Makefile: Add tst-once5.cc.
11008         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11009         Remove macro redefinitions.
11010         * nptl/tst-once5.cc: New test.
11012 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11014         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11016         * sysdeps/arm/libm-test-ulps: Regenerated.
11018         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11019         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11021 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11023         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11024         lll_lock_wait_private and lll_futex_wake probes.
11026         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11027         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11028         Likewise.
11029         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11030         atomic_spin_nop.
11031         * sysdeps/x86_64/bits/atomic.h: Likewise.
11032         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11033         to atomic_spin_nop and move ...
11034         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11035         ... here and ...
11036         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11037         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11038         atomic_spin_nop instead of BUSY_WAIT_NOP.
11039         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11040         Likewise.
11041         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11042         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11043         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11044         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11045         instead of atomic_delay.
11047 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11049         [BZ #18613]
11050         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11051         X_ADJ not X when adjusting exponent.
11052         (__ieee754_gamma_r): Do intermediate computations in
11053         round-to-nearest then adjust overflowing and underflowing results
11054         as needed.
11055         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11056         of X_ADJ not X when adjusting exponent.
11057         (__ieee754_gammaf_r): Do intermediate computations in
11058         round-to-nearest then adjust overflowing and underflowing results
11059         as needed.
11060         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11061         log of X_ADJ not X when adjusting exponent.
11062         (__ieee754_gammal_r): Do intermediate computations in
11063         round-to-nearest then adjust overflowing and underflowing results
11064         as needed.  Use 1.0L not 1.0f as numerator of division.
11065         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11066         log of X_ADJ not X when adjusting exponent.
11067         (__ieee754_gammal_r): Do intermediate computations in
11068         round-to-nearest then adjust overflowing and underflowing results
11069         as needed.  Use 1.0L not 1.0f as numerator of division.
11070         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11071         of X_ADJ not X when adjusting exponent.
11072         (__ieee754_gammal_r): Do intermediate computations in
11073         round-to-nearest then adjust overflowing and underflowing results
11074         as needed.  Use 1.0L not 1.0f as numerator of division.
11075         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11076         to auto-libm-test-in.
11077         (tgamma_test): Use ALL_RM_TEST.
11078         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11079         tests of tgamma with spurious-overflow.
11080         * math/auto-libm-test-out: Regenerated.
11081         * math/gen-libm-have-vector-test.sh: Do not check for START.
11082         * sysdeps/i386/fpu/libm-test-ulps: Update.
11083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11085         [BZ #18612]
11086         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11087         arguments, just return 0.5 times the argument, with underflow
11088         forced as needed.
11089         * math/auto-libm-test-in: Add more tests of j1.
11090         * math/auto-libm-test-out: Regenerated.
11092         [BZ #16559]
11093         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11094         (__ieee754_j1): Force underflow exception for small results.
11095         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11096         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11097         (__ieee754_j1f): Force underflow exception for small results.
11098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11099         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11101         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11102         (__ieee754_j1l): Force underflow exception for small results.
11103         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11104         * math/auto-libm-test-in: Add more tests of j1 and jn.
11105         * math/auto-libm-test-out: Regenerated.
11107         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11108         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11109         (PF_MPLS): Likewise.
11110         (AF_IB): Likewise.
11111         (AF_MPLS): Likewise.
11112         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11113         value and macro.
11114         (MS_RMT_MASK): Include MS_LAZYTIME.
11116 2015-06-26  Mel Gorman  <mgorman@suse.de>
11118         [BZ #18502]
11119         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11120         already minimal.
11122 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11124         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11125         (DT_MIPS_NUM): Update.
11126         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11127         DT_MIPS_RLD_MAP_REL.
11129 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11131         [BZ #16559]
11132         [BZ #18602]
11133         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11134         round-to-nearest internally then recompute results that
11135         underflowed to zero in the original rounding mode.
11136         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11137         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11138         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11139         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11140         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11141         * sysdeps/i386/fpu/libm-test-ulps: Update.
11142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11144 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11146         * NEWS: Fixed description of link with vector math library.
11148 2015-06-25  Andreas Schwab  <schwab@suse.de>
11150         [BZ #18549]
11151         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11152         * libio/test-fmemopen.c (do_test): Add test for it.
11154 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11156         [BZ #17841]
11157         * Makeconfig (no-pie-ldflag): New.
11158         (+link): Set to $(+link-pie) if default to PIE.
11159         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11160         * config.make.in (build-pie-default): New.
11161         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11162         is default.  AC_SUBST.
11163         * configure: Regenerated.
11164         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11166 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11168         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11169         to 'unsigned int'.
11171         * resolv/gai_misc.h (struct waitlist): Change type of field
11172         counterp to 'volatile unsigned int *'.
11173         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11174         FUTEXADDR and OLDVAL.
11175         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11176         Give local variable TOTAL type 'volatile unsigned int'.
11177         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11178         * resolv/gai_suspend.c (gai_suspend):
11179         Give local variable CNTR type 'unsigned int'.
11181         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11182         counterp to 'volatile unsigned int *'.
11183         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11184         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11185         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11186         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11187         Give local variable TOTAL type 'volatile unsigned int'.
11188         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11190 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11192         [BZ #18383]
11193         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11194         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11195         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11196         comment for i386/x86-64.
11197         (test-xfail-tst-tlsalign-extern-static): Removed.
11199 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11201         * math/test-double.h: New file.
11202         * math/test-float.h: Likewise.
11203         * math/test-ldouble.h: Likewise.
11204         * math/test-math-inline.h: Likewise.
11205         * math/test-math-no-inline.h: Likewise.
11206         * math/test-math-scalar.h: Likewise.
11207         * math/test-math-vector.h: Likewise.
11208         * math/test-vec-loop.h: Remove file.  Contents moved into
11209         test-math-vector.h.
11210         * math/libm-test.inc (MATHCONST): Do not document macro.
11211         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11212         and test-math-scalar.h.
11213         (FUNC): Remove macro.
11214         (FUNC_TEST): Likewise.
11215         (FLOAT): Likewise.
11216         (MATHCONST): Likewise.
11217         (PRINTF_EXPR): Likewise.
11218         (PRINTF_XEXPR): Likewise.
11219         (PRINTF_NEXPR): Likewise.
11220         (TEST_DOUBLE): Likewise.
11221         (TEST_MATHVEC): Likewise.
11222         (__NO_MATH_INLINES): Likewise.
11223         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11224         and test-math-scalar.h.
11225         (FUNC): Remove macro.
11226         (FUNC_TEST): Likewise.
11227         (FLOAT): Likewise.
11228         (MATHCONST): Likewise.
11229         (PRINTF_EXPR): Likewise.
11230         (PRINTF_XEXPR): Likewise.
11231         (PRINTF_NEXPR): Likewise.
11232         (TEST_FLOAT): Likewise.
11233         (TEST_MATHVEC): Likewise.
11234         (__NO_MATH_INLINES): Likewise.
11235         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11236         and test-math-scalar.h.
11237         (FUNC): Remove macro.
11238         (FUNC_TEST): Likewise.
11239         (FLOAT): Likewise.
11240         (MATHCONST): Likewise.
11241         (PRINTF_EXPR): Likewise.
11242         (PRINTF_XEXPR): Likewise.
11243         (PRINTF_NEXPR): Likewise.
11244         (TEST_DOUBLE): Likewise.
11245         (TEST_MATHVEC): Likewise.
11246         (TEST_INLINE): Likewise.
11247         (__NO_MATH_INLINES): Likewise.
11248         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11249         test-math-scalar.h.
11250         (FUNC): Remove macro.
11251         (FUNC_TEST): Likewise.
11252         (FLOAT): Likewise.
11253         (MATHCONST): Likewise.
11254         (PRINTF_EXPR): Likewise.
11255         (PRINTF_XEXPR): Likewise.
11256         (PRINTF_NEXPR): Likewise.
11257         (TEST_FLOAT): Likewise.
11258         (TEST_MATHVEC): Likewise.
11259         (TEST_INLINE): Likewise.
11260         (__NO_MATH_INLINES): Likewise.
11261         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11262         and test-math-scalar.h.
11263         (FUNC): Remove macro.
11264         (FUNC_TEST): Likewise.
11265         (FLOAT): Likewise.
11266         (MATHCONST): Likewise.
11267         (PRINTF_EXPR): Likewise.
11268         (PRINTF_XEXPR): Likewise.
11269         (PRINTF_NEXPR): Likewise.
11270         (TEST_LDOUBLE): Likewise.
11271         (TEST_MATHVEC): Likewise.
11272         (TEST_INLINE): Likewise.
11273         (__NO_MATH_INLINES): Likewise.
11274         * math/test-ldouble.c: Include test-ldouble.h,
11275         test-math-no-inline.h and test-math-scalar.h.
11276         (FUNC): Remove macro.
11277         (FUNC_TEST): Likewise.
11278         (FLOAT): Likewise.
11279         (MATHCONST): Likewise.
11280         (PRINTF_EXPR): Likewise.
11281         (PRINTF_XEXPR): Likewise.
11282         (PRINTF_NEXPR): Likewise.
11283         (TEST_LDOUBLE): Likewise.
11284         (TEST_MATHVEC): Likewise.
11285         (__NO_MATH_INLINES): Likewise.
11286         * math/test-double-vlen2.h: Include test-double.h,
11287         test-math-no-inline.h and test-math-vector.h.
11288         (FLOAT): Remove macro.
11289         (FUNC): Likewise.
11290         (MATHCONST): Likewise.
11291         (PRINTF_EXPR): Likewise.
11292         (PRINTF_XEXPR): Likewise.
11293         (PRINTF_NEXPR): Likewise.
11294         (TEST_DOUBLE): Likewise.
11295         (TEST_MATHVEC): Likewise.
11296         (__NO_MATH_INLINES): Likewise.
11297         (CNCT): Likewise.
11298         (CONCAT): Likewise.
11299         (WRAPPER_NAME): Likewise.
11300         (WRAPPER_DECL): Likewise.
11301         (WRAPPER_DECL_ff): Likewise.
11302         (WRAPPER_DECL_fFF): Likewise.
11303         (VECTOR_WRAPPER): Likewise.
11304         (VECTOR_WRAPPER_ff): Likewise.
11305         (VECTOR_WRAPPER_fFF): Likewise.
11306         (VEC_LEN): New macro.
11307         * math/test-double-vlen4.h: Include test-double.h,
11308         test-math-no-inline.h and test-math-vector.h.
11309         (FLOAT): Remove macro.
11310         (FUNC): Likewise.
11311         (MATHCONST): Likewise.
11312         (PRINTF_EXPR): Likewise.
11313         (PRINTF_XEXPR): Likewise.
11314         (PRINTF_NEXPR): Likewise.
11315         (TEST_DOUBLE): Likewise.
11316         (TEST_MATHVEC): Likewise.
11317         (__NO_MATH_INLINES): Likewise.
11318         (CNCT): Likewise.
11319         (CONCAT): Likewise.
11320         (WRAPPER_NAME): Likewise.
11321         (WRAPPER_DECL): Likewise.
11322         (WRAPPER_DECL_ff): Likewise.
11323         (WRAPPER_DECL_fFF): Likewise.
11324         (VECTOR_WRAPPER): Likewise.
11325         (VECTOR_WRAPPER_ff): Likewise.
11326         (VECTOR_WRAPPER_fFF): Likewise.
11327         (VEC_LEN): New macro.
11328         * math/test-double-vlen8.h: Include test-double.h,
11329         test-math-no-inline.h and test-math-vector.h.
11330         (FLOAT): Remove macro.
11331         (FUNC): Likewise.
11332         (MATHCONST): Likewise.
11333         (PRINTF_EXPR): Likewise.
11334         (PRINTF_XEXPR): Likewise.
11335         (PRINTF_NEXPR): Likewise.
11336         (TEST_DOUBLE): Likewise.
11337         (TEST_MATHVEC): Likewise.
11338         (__NO_MATH_INLINES): Likewise.
11339         (CNCT): Likewise.
11340         (CONCAT): Likewise.
11341         (WRAPPER_NAME): Likewise.
11342         (WRAPPER_DECL): Likewise.
11343         (WRAPPER_DECL_ff): Likewise.
11344         (WRAPPER_DECL_fFF): Likewise.
11345         (VECTOR_WRAPPER): Likewise.
11346         (VECTOR_WRAPPER_ff): Likewise.
11347         (VECTOR_WRAPPER_fFF): Likewise.
11348         (VEC_LEN): New macro.
11349         * math/test-float-vlen4.h: Include test-float.h,
11350         test-math-no-inline.h and test-math-vector.h.
11351         (FLOAT): Remove macro.
11352         (FUNC): Likewise.
11353         (MATHCONST): Likewise.
11354         (PRINTF_EXPR): Likewise.
11355         (PRINTF_XEXPR): Likewise.
11356         (PRINTF_NEXPR): Likewise.
11357         (TEST_FLOAT): Likewise.
11358         (TEST_MATHVEC): Likewise.
11359         (__NO_MATH_INLINES): Likewise.
11360         (CNCT): Likewise.
11361         (CONCAT): Likewise.
11362         (WRAPPER_NAME): Likewise.
11363         (WRAPPER_DECL): Likewise.
11364         (WRAPPER_DECL_ff): Likewise.
11365         (WRAPPER_DECL_fFF): Likewise.
11366         (VECTOR_WRAPPER): Likewise.
11367         (VECTOR_WRAPPER_ff): Likewise.
11368         (VECTOR_WRAPPER_fFF): Likewise.
11369         (VEC_LEN): New macro.
11370         * math/test-float-vlen8.h: Include test-float.h,
11371         test-math-no-inline.h and test-math-vector.h.
11372         (FLOAT): Remove macro.
11373         (FUNC): Likewise.
11374         (MATHCONST): Likewise.
11375         (PRINTF_EXPR): Likewise.
11376         (PRINTF_XEXPR): Likewise.
11377         (PRINTF_NEXPR): Likewise.
11378         (TEST_FLOAT): Likewise.
11379         (TEST_MATHVEC): Likewise.
11380         (__NO_MATH_INLINES): Likewise.
11381         (CNCT): Likewise.
11382         (CONCAT): Likewise.
11383         (WRAPPER_NAME): Likewise.
11384         (WRAPPER_DECL): Likewise.
11385         (WRAPPER_DECL_ff): Likewise.
11386         (WRAPPER_DECL_fFF): Likewise.
11387         (VECTOR_WRAPPER): Likewise.
11388         (VECTOR_WRAPPER_ff): Likewise.
11389         (VECTOR_WRAPPER_fFF): Likewise.
11390         (VEC_LEN): New macro.
11391         * math/test-float-vlen16.h: Include test-float.h,
11392         test-math-no-inline.h and test-math-vector.h.
11393         (FLOAT): Remove macro.
11394         (FUNC): Likewise.
11395         (MATHCONST): Likewise.
11396         (PRINTF_EXPR): Likewise.
11397         (PRINTF_XEXPR): Likewise.
11398         (PRINTF_NEXPR): Likewise.
11399         (TEST_FLOAT): Likewise.
11400         (TEST_MATHVEC): Likewise.
11401         (__NO_MATH_INLINES): Likewise.
11402         (CNCT): Likewise.
11403         (CONCAT): Likewise.
11404         (WRAPPER_NAME): Likewise.
11405         (WRAPPER_DECL): Likewise.
11406         (WRAPPER_DECL_ff): Likewise.
11407         (WRAPPER_DECL_fFF): Likewise.
11408         (VECTOR_WRAPPER): Likewise.
11409         (VECTOR_WRAPPER_ff): Likewise.
11410         (VECTOR_WRAPPER_fFF): Likewise.
11411         (VEC_LEN): New macro.
11412         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11413         test-vec-loop.h.
11414         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11416         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11417         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11418         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11419         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11420         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11422 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11424         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11425         (__getlogin_r): ... this.
11427 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11429         [BZ #18594]
11430         * math/s_ccosh.c (__ccosh): Compare with least normal value
11431         instead of comparing class with FP_SUBNORMAL.
11432         * math/s_ccoshf.c (__ccoshf): Likewise.
11433         * math/s_ccoshl.c (__ccoshl): Likewise.
11434         * math/s_cexp.c (__cexp): Likewise.
11435         * math/s_cexpf.c (__cexpf): Likewise.
11436         * math/s_cexpl.c (__cexpl): Likewise.
11437         * math/s_csin.c (__csin): Likewise.
11438         * math/s_csinf.c (__csinf): Likewise.
11439         * math/s_csinh.c (__csinh): Likewise.
11440         * math/s_csinhf.c (__csinhf): Likewise.
11441         * math/s_csinhl.c (__csinhl): Likewise.
11442         * math/s_csinl.c (__csinl): Likewise.
11443         * math/s_ctan.c (__ctan): Likewise.
11444         * math/s_ctanf.c (__ctanf): Likewise.
11445         * math/s_ctanh.c (__ctanh): Likewise.
11446         * math/s_ctanhf.c (__ctanhf): Likewise.
11447         * math/s_ctanhl.c (__ctanhl): Likewise.
11448         * math/s_ctanl.c (__ctanl): Likewise.
11449         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11450         csin, csinh, ctan and ctanh.
11451         * math/auto-libm-test-out: Regenerated.
11452         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11453         * sysdeps/i386/fpu/libm-test-ulps: Update.
11454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11456 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11458         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11459         return value is wrong, print the expected value too.
11461 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11463         [BZ #18585]
11464         * elf/readlib.c (is_gdb_python_file): New.
11465         (process_file): Don't issue errors on filenames with -gdb.py
11466         suffix.
11468 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11470         * math/auto-libm-test-in: Add more tests of csin and csinh.
11471         * math/auto-libm-test-out: Regenerated.
11472         * math/libm-test.inc (csin_test_data): Remove tests moved to
11473         auto-libm-test-in.
11474         (csinh_test_data): Likewise.
11476         [BZ #18593]
11477         * math/s_csin.c (__csin): Negate before rather than after possibly
11478         overflowing multiplication.
11479         * math/s_csinf.c (__csinf): Likewise.
11480         * math/s_csinh.c (__csinh): Likewise.
11481         * math/s_csinhf.c (__csinhf): Likewise.
11482         * math/s_csinhl.c (__csinhl): Likewise.
11483         * math/s_csinl.c (__csinl): Likewise.
11484         * math/auto-libm-test-in: Add some tests of csin and csinh.
11485         * math/auto-libm-test-out: Regenerated.
11486         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11487         (csinh_test_data): Likewise.
11488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11490         [BZ #18586]
11491         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11492         underflow exception for small results.
11494 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11496         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11497         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11498         variable and included header.
11499         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11501         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11502         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11503         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11504         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11505         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11506         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11507         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11508         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11509         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11510         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11511         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11512         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11513         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11514         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11516 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11518         [BZ #16526]
11519         [BZ #16538]
11520         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11521         (__sin): Force underflow exception for arguments with small
11522         absolute value.
11523         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11524         (__kernel_sinf): Force underflow exception for arguments with
11525         small absolute value.
11526         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11527         (__kernel_sincosl): Force underflow exception for arguments with
11528         small absolute value.
11529         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11530         (__kernel_sinl): Force underflow exception for arguments with
11531         small absolute value.
11532         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11533         (__kernel_sincosl): Force underflow exception for arguments with
11534         small absolute value.
11535         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11536         (__kernel_sinl): Force underflow exception for arguments with
11537         small absolute value.
11538         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11539         (__kernel_sinl): Force underflow exception for arguments with
11540         small absolute value.
11541         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11542         (__kernel_sinf): Force underflow exception for arguments with
11543         small absolute value.
11544         * math/auto-libm-test-in: Add more tests of sin and sincos.
11545         * math/auto-libm-test-out: Regenerated.
11547         [BZ #18245]
11548         [BZ #18583]
11549         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11550         (__kernel_standard_l): Use feholdexcept and fesetenv around
11551         conversion to double instead of special-casing overflow and
11552         underflow.
11553         * math/libm-test.inc (fmod_test_data): Add more tests.
11554         (remainder_test_data): Likewise.
11555         (sqrt_test_data): Likewise.
11557 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11559         [BZ #17403]
11560         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11561         atomic_read_barrier, atomic_write_barrier): Define.
11562         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11563         atomic_read_barrier, atomic_write_barrier): Define.
11565 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11567         * math/Makefile [$(PERL) != no]
11568         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11569         dependency on libm-test.stmp below the inclusion of Rules.
11571 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11573         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11574         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11575         and included header.
11576         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11578         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11579         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11580         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11581         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11582         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11583         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11584         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11585         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11586         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11587         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11588         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11589         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11590         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11591         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11592         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11593         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11594         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11596 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11598         [BZ #18371]
11599         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11600         intermediate but not final result might underflow.
11601         * math/s_csqrtf.c (__csqrtf): Likewise.
11602         * math/s_csqrtl.c (__csqrtl): Likewise.
11603         * math/auto-libm-test-in: Add more tests of csqrt.
11604         * math/auto-libm-test-out: Regenerated.
11605         * sysdeps/i386/fpu/libm-test-ulps: Update.
11607         [BZ #18219]
11608         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11609         threshold on absolute value of exponent for which scaling is used.
11610         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11611         * math/auto-libm-test-in: Add more tests of exp2.
11612         * math/auto-libm-test-out: Regenerated.
11614 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11616         [BZ #17977]
11617         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11618         when initializing interface list, based on the bug analysis
11619         and the patch proposed by Eric Newton.
11620         * resolv/tst-res_hconf_reorder.c: New test.
11621         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11622         tst-res_hconf_reorder.
11623         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11624         and $(shared-thread-library).
11625         (tst-res_hconf_reorder-ENV): New variable.
11627         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11628         in comment.
11630 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11632         [BZ #16353]
11633         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11634         (__expm1): Force underflow exception for arguments with small
11635         absolute value.
11636         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11637         (__expm1f): Force underflow exception for arguments with small
11638         absolute value.
11639         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11640         (__expm1): Force underflow exception for arguments with small
11641         absolute value.
11642         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11643         (__expm1f): Force underflow exception for arguments with small
11644         absolute value.
11645         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11646         Check for small arguments before calling __expm1.
11647         * math/auto-libm-test-in: Do not mark underflow exceptions as
11648         possibly missing for bug 16353.
11649         * math/auto-libm-test-out: Regenerated.
11651 2015-06-22  Andreas Schwab  <schwab@suse.de>
11653         [BZ #18513]
11654         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11655         PTR queries.
11657 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11659         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11661         * string/strcoll_l.c: Remove unused struct element idxnow.
11663 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11665         [BZ #18569]
11666         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11667         underflow and return argument in case of subnormal argument.
11668         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11669         Likewise.
11670         * math/auto-libm-test-in: Add more tests of expm1.
11671         * math/auto-libm-test-out: Regenerated.
11673         [BZ #16361]
11674         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11675         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11676         tiny results.
11677         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11678         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11679         tiny results.
11680         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11681         mark underflow exceptions as possibly missing for bug 16361.
11682         * math/auto-libm-test-out: Regenerated.
11684 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11686         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11687         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11688         Remove variable.
11689         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11690         (test-xfail-XOPEN2K8/utmpx.h/conform).
11692         * conform/conformtest.pl ($xerrors): New variable.
11693         (note_error): New function.
11694         (compiletest): New argument $xfail.  Use not_error.
11695         (runtest): Likewise.
11696         (top level): Handle xfail- lines.  Update calls to compiletest and
11697         runtest.  Handle xfail- and optional- in headers listed with
11698         allow-header.
11699         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11700         (O_EXEC): Likewise.
11701         (O_SEARCH): Likewise.
11702         * conform/data/stropts.h-data (ioctl): Likewise.
11703         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11704         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11705         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11706         (msghdr.msg_controllen): Likewise.
11707         (cmsghdr.cmsg_len): Likewise.
11708         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11709         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11710         variable.
11711         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11712         (test-xfail-XPG4/stropts.h/conform): Likewise.
11713         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11714         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11715         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11716         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11717         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11718         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11719         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11720         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11721         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11722         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11723         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11724         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11725         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11726         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11727         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11728         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11729         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11730         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11731         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11733 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11735         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11736         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11737         definitions for proper unfolding of __MATHDECL_VEC.
11739 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11741         * benchtests/bench-strcoll.c:
11742         Include string.h.
11743         (main): Remove unused variable res.
11745 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11747         * timezone/Makefile (%/UTC %/Universal):
11748         Generate test-result files for UTC and Universal.
11750 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11752         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11754 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11756         [BZ #16350]
11757         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11758         for arguments with small absolute value.
11759         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11760         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11761         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11762         (__asinh): Force underflow exception for arguments with small
11763         absolute value.
11764         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11765         (__asinhf): Force underflow exception for arguments with small
11766         absolute value.
11767         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11768         (__asinhl): Force underflow exception for arguments with small
11769         absolute value.
11770         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11771         (__asinhl): Force underflow exception for arguments with small
11772         absolute value.
11773         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11774         (__asinhl): Force underflow exception for arguments with small
11775         absolute value.
11776         * math/auto-libm-test-in: Do not mark underflow exceptions as
11777         possibly missing for bug 16350.
11778         * math/auto-libm-test-out: Regenerated.
11780         * include/bits/ipc.h: Remove file.
11781         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11782         variable.
11783         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11784         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11785         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11786         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11787         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11788         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11789         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11790         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11791         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11793         * math/auto-libm-test-in: Remove spurious underflow allowance for
11794         tests of cexp.
11795         * math/auto-libm-test-out: Regenerated.
11797         [BZ #18558]
11798         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11799         unconditional definition.
11800         (MCAST_BLOCK_SOURCE): Likewise.
11801         (MCAST_UNBLOCK_SOURCE): Likewise.
11802         (MCAST_LEAVE_GROUP): Likewise.
11803         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11804         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11805         (MCAST_MSFILTER): Likewise.
11806         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11807         Remove variable.
11808         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11809         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11810         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11811         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11812         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11814 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11816         * NEWS: Mention addition of x86_64 vector sincosf.
11817         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11818         * math/test-float-vlen4.h: Likewise.
11819         * math/test-float-vlen8.h: Likewise.
11820         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11821         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11822         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11823         * sysdeps/x86_64/fpu/Versions: New versions added.
11824         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11825         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11826         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11827         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11828         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11829         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11830         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11831         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11832         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11833         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11834         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11835         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11836         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11837         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11838         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11839         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11840         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11841         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11842         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11843         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11845         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11846         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11847         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11849         * NEWS: Mention addition of x86_64 vector sincos.
11850         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11851         * math/math.h (__MATHDECL_VEC): New macro.
11852         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11853         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11854         declaration under condition.
11855         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11856         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11857         TEST_VEC_LOOP change.
11858         * math/test-double-vlen4.h: Likewise.
11859         * math/test-double-vlen8.h: Likewise.
11860         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11861         * math/test-float-vlen4.h: Likewise.
11862         * math/test-float-vlen8.h: Likewise.
11863         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11864         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11865         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11866         * sysdeps/x86_64/fpu/Versions: New versions added.
11867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11868         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11869         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11870         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11871         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11872         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11874         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11875         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11876         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11877         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11878         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11879         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11880         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11881         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11882         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11883         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11884         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11885         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11886         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11887         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11888         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11889         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11890         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11892         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11893         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11894         redirections for powf.
11895         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11896         * sysdeps/x86_64/fpu/Versions: New versions added.
11897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11898         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11899         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11900         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11901         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11902         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11903         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11904         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11905         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11906         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11907         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11908         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11909         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11910         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11911         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11912         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11913         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11914         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11915         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11916         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11918         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11919         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11920         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11921         * math/test-float-vlen16.h: Fixed 2 argument macro.
11922         * math/test-float-vlen4.h: Likewise.
11923         * math/test-float-vlen8.h: Likewise.
11924         * NEWS: Mention addition of x86_64 vector powf.
11926 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11928         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11929         and redefine.
11930         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11931         and redefine.
11932         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11933         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11934         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11936         [BZ #18553]
11937         * resource/getpriority.c (getpriority): Rename to __getpriority
11938         and define as weak alias of __getpriority.
11939         * resource/setpriority.c (setpriority): Rename to __setpriority
11940         and define as weak alias of __setpriority.
11941         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11942         __getpriority and define as weak alias of __getpriority.
11943         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11944         __setpriority and define as weak alias of __setpriority.
11945         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11946         strong name.
11947         (setpriority): Use __setpriority as strong name.
11948         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11949         __getpriority and define as weak alias of __getpriority.
11950         * include/sys/resource.h (__getpriority): Declare.  Use
11951         libc_hidden_proto.
11952         (__setpriority): Likewise.
11953         (getpriority): Don't use libc_hidden_proto.
11954         (setpriority): Likewise.
11955         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11956         getpriority.  Call __setpriority instead of setpriority.
11957         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11958         Remove variable.
11960         [BZ #18547]
11961         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11962         as weak alias of __getttynam.  Use prototype function definition.
11963         Call __setttyent, __getttyent and __endttyent instead of
11964         setttyent, getttyent and endttyent.
11965         (getttyent): Rename to __getttyent and define as weak alias of
11966         __getttyent.  Call __setttyent instead of setttyent.  Call
11967         __fgets_unlocked instead of fgets_unlocked.
11968         (setttyent): Rename to __setttyent and define as weak alias of
11969         __setttyent.
11970         (endttyent): Rename to __endttyent and define as weak alias of
11971         __endttyent.
11972         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11973         (__setttyent): Likewise.
11974         (__endttyent): Likewise.
11975         (getttyent): Don't use libc_hidden_proto.
11976         (setttyent): Likewise.
11977         (endttyent): Likewise.
11978         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11979         __endttyent instead of setttyent, getttyent and endttyent.
11980         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11981         Remove variable.
11983         [BZ #18546]
11984         * socket/recv.c (__recv): Use libc_hidden_def.
11985         * socket/socket.c (__socket): Likewise.
11986         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11987         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11988         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11989         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11990         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11991         libc_hidden_def.
11992         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11993         libc_hidden_weak.
11994         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11995         Use libc_hidden_proto.
11996         (__recv): Likewise.
11997         * socket/Versions (libc): Export __recv and __socket at version
11998         GLIBC_PRIVATE.
11999         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12000         instead of recv.
12001         (init_mq_netlink): Call __socket instead of socket.
12002         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12003         Remove variable.
12005         [BZ #18545]
12006         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12007         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12008         hidden_weak.
12009         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12010         define as alias of __mq_timedsend.  Use hidden_weak.
12011         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12012         __mq_timedsend as strong name.
12013         (mq_timedreceive): Use __mq_timedreceive as strong name.
12014         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12015         (__mq_timedreceive): Likewise.
12016         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12017         __mq_timedreceive instead of mq_timedreceive.
12018         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12019         instead of mq_timedsend.
12020         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12021         Remove variable.
12023         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12024         hidden_def and hidden_weak instead of libc_hidden_def and
12025         libc_hidden_weak.
12026         (top level): Refer to hidden_def in comment.
12027         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12028         macro.  Use it instead of libc_hidden_def.
12029         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12030         specify __GI_* name explicitly.
12031         (mq_timedreceive): Likewise.
12032         (mq_setattr): Likewise.
12034         [BZ #18544]
12035         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12036         __pthread_barrier_init and define as weak alias of
12037         __pthread_barrier_init.
12038         * sysdeps/sparc/nptl/pthread_barrier_init.c
12039         (pthread_barrier_init): Likewise.
12040         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12041         __pthread_barrier_wait and define as weak alias of
12042         __pthread_barrier_wait.
12043         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12044         (pthread_barrier_wait): Likewise.
12045         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12046         (pthread_barrier_wait): Likewise.
12047         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12048         (pthread_barrier_wait): Likewise.
12049         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12050         (pthread_barrier_wait): Likewise.
12051         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12052         __pthread_barrier_wait at version GLIBC_PRIVATE.
12053         * include/pthread.h (__pthread_barrier_init): Declare.
12054         (__pthread_barrier_wait): Likewise.
12055         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12056         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12057         (helper_thread): Likewise.
12058         (init_mq_netlink): Call __pthread_barrier_init instead of
12059         pthread_barrier_init.
12061         [BZ #18542]
12062         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12063         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12064         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12065         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12066         vswscanf.
12067         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12068         Remove variable.
12070         [BZ #18540]
12071         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12072         strong alias of _IO_fflush.  Use libc_hidden_def.
12073         * libio/iofflush_u.c (fflush_unlocked): Rename to
12074         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12075         Use libc_hidden_weak.
12076         * include/stdio.h (__fflush_unlocked): Declare.  Use
12077         libc_hidden_proto.
12078         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12079         fflush_unlocked.
12080         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12081         Remove variable.
12083         [BZ #18539]
12084         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12085         define as weak alias of __addseverity.
12086         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12087         Remove variable.
12088         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12089         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12090         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12092         [BZ #18536]
12093         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12094         (__tfind): Likewise.
12095         (__tdelete): Likewise.
12096         (__twalk): Likewise.
12097         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12098         __twalk to GLIBC_PRIVATE.
12099         * include/search.h (__tsearch): Use libc_hidden_proto.
12100         (__tfind): Likewise.
12101         (__tdelete): Likewise.
12102         (__twalk): Likewise.
12103         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12104         Call __tdelete instead of tdelete.
12105         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12106         tfind.  Call __tsearch instead of tsearch.
12107         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12108         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12109         Remove variable.
12110         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12112         [BZ #18534]
12113         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12114         (dprintf): Define as a weak alias of __dprintf, not a strong
12115         alias.
12116         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12117         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12118         dprintf.
12119         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12120         Remove variable.
12121         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12122         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12124         [BZ #18533]
12125         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12126         not a strong alias.
12127         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12128         Remove variable.
12130         [BZ #18532]
12131         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12132         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12133         (in6addr_loopback): Rename to __in6addr_loopback and define as
12134         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12135         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12136         libc_hidden_proto.
12137         (__in6addr_any): Likewise.
12138         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12139         in6addr_any.
12140         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12141         variable.
12142         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12144 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12146         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12147         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12149         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12150         redirections for pow.
12151         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12152         * sysdeps/x86_64/fpu/Versions: New versions added.
12153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12154         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12155         build of SSE, AVX2 and AVX512 IFUNC versions.
12156         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12157         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12158         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12161         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12162         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12163         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12164         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12165         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12166         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12167         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12168         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12169         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12170         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12171         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12172         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12173         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12174         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12175         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12176         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12177         * NEWS: Mention addition of x86_64 vector pow.
12179         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12180         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12181         redirections for expf.
12182         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12183         * sysdeps/x86_64/fpu/Versions: New versions added.
12184         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12185         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12186         build of SSE, AVX2 and AVX512 IFUNC versions.
12187         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12188         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12189         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12190         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12191         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12192         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12193         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12194         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12195         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12196         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12197         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12198         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12199         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12200         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12201         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12202         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12203         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12204         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12205         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12206         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12207         * NEWS: Mention addition of x86_64 vector expf.
12209         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12210         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12211         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12212         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12213         redirections for exp.
12214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12215         * sysdeps/x86_64/fpu/Versions: New versions added.
12216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12217         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12218         build of SSE, AVX2 and AVX512 IFUNC versions.
12219         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12220         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12221         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12222         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12223         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12224         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12225         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12226         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12227         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12228         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12229         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12230         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12231         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12232         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12233         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12234         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12235         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12236         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12237         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12238         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12239         * NEWS: Mention addition of x86_64 vector exp.
12241         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12242         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12243         redirections for logf.
12244         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12245         * sysdeps/x86_64/fpu/Versions: New versions added.
12246         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12247         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12248         build of SSE, AVX2 and AVX512 IFUNC versions.
12249         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12250         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12251         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12253         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12254         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12255         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12256         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12257         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12258         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12259         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12260         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12261         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12262         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12263         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12264         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12265         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12266         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12267         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12268         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12269         * NEWS: Mention addition of x86_64 vector logf.
12271         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12272         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12273         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12274         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12275         redirections for log.
12276         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12277         * sysdeps/x86_64/fpu/Versions: New versions added.
12278         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12279         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12280         build of SSE, AVX2 and AVX512 IFUNC versions.
12281         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12282         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12283         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12284         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12285         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12286         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12287         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12288         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12289         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12290         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12291         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12292         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12293         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12294         test.
12295         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12296         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12297         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12298         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12299         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12300         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12301         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12302         * NEWS: Mention addition of x86_64 vector log.
12304 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12306         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12307         cfi_adjust_cfa_offset argument.
12308         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12309         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12311         [BZ #18034]
12312         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12313         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12314         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12315         ordering using ldar.
12316         (_dl_tlsdesc_dynamic): Likewise.
12317         (_dl_tlsdesc_return_lazy): Likewise.
12318         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12319         relaxed atomics instead of volatile and synchronize with release store.
12320         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12321         volatile.
12322         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12324 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12326         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12327         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12328         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12329         * sysdeps/x86_64/fpu/Versions: New versions added.
12330         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12331         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12332         build of SSE, AVX2 and AVX512 IFUNC versions.
12333         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12334         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12335         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12336         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12337         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12338         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12339         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12340         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12341         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12342         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12343         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12344         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12345         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12346         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12347         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12348         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12349         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12350         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12351         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12352         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12353         * NEWS: Mention addition of x86_64 vector sinf.
12355 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12357         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12358         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12359         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12360         Remove variable.
12361         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12362         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12364 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12366         [BZ #18530]
12367         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12368         strong alias of _IO_fputs.  Use libc_hidden_def.
12369         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12370         and define as weak alias of __fputs_unlocked.  Use
12371         libc_hidden_weak.
12372         * include/stdio.h (__fputs_unlocked): Declare.  Use
12373         libc_hidden_proto.
12374         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12375         fputs_unlocked.
12377         [BZ #18529]
12378         * resolv/netdb.h [__USE_POSIX]: Change condition to
12379         [__USE_XOPEN2K].
12380         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12381         not expect.
12382         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12383         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12384         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12385         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12386         [XPG4 || UNIX98] (AI_ALL): Likewise.
12387         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12388         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12389         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12390         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12391         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12392         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12393         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12394         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12395         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12396         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12397         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12398         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12399         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12400         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12401         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12402         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12403         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12404         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12405         [XPG4 || UNIX98] (gai_strerror): Likewise.
12406         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12407         [XPG4 || UNIX98] (getnameinfo): Likewise.
12409         [BZ #18528]
12410         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12411         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12412         __USE_XOPEN2K8].
12413         (getgrent): Likewise.
12414         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12415         expect.
12416         [XPG3 || POSIX2008] (endgrent): Likewise.
12417         [XPG3] (setgrent): Likewise.
12418         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12419         variable.
12420         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12422         [BZ #18527]
12423         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12424         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12425         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12426         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12427         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12428         * include/unistd.h (__getlogin_r): Declare.  Use
12429         libc_hidden_proto.
12430         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12431         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12432         variable.
12433         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12434         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12435         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12437 2015-06-12  Martin Sebor  <msebor@redhat.com>
12439         [BZ #18512]
12440         * Makerules (check-install-supported): New target.
12441         (install): Add check-install-supported as a dependency.
12442         * manual/install.texi (Installing the C Library): Document
12443         that overriding prefix and exec_prefix is not supported.
12444         Mention DESTDIR.
12445         * INSTALL: Regenerate from the above.
12447 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12449         [BZ #18519]
12450         * posix/Versions (libc): Export __libc_pread at version
12451         GLIBC_PRIVATE.
12452         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12453         instead of pread.
12454         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12455         variable.
12457         [BZ #18522]
12458         * misc/efgcvt_r.c
12459         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12460         (cvt_symbol): Use weak_alias instead of strong_alias.
12461         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12462         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12463         Remove variable.
12464         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12465         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12467         [BZ #18520]
12468         * inet/herrno.c (h_errno): Rename to __h_errno.
12469         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12470         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12471         to __h_errno instead of h_errno.
12472         * nptl/herrno.c (h_errno): Rename to __h_errno.
12473         (__h_errno_location): Refer to __h_errno not h_errno.
12474         * resolv/Versions (h_errno): Rename to __h_errno.
12475         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12476         Remove variable.
12477         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12479 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12481         * configure.ac: More strict check for AVX512 assembler support.
12482         * configure: Regenerated.
12484         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12485         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12486         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12487         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12489         * sysdeps/x86_64/fpu/Versions: New versions added.
12490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12492         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12493         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12496         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12497         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12498         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12499         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12500         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12501         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12502         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12503         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12504         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12505         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12506         test.
12507         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12508         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12509         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12510         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12511         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12512         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12513         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12514         * NEWS: Mention addition of x86_64 vector sin.
12516 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12518         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12519         comment.
12521 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12523         [BZ #18479]
12524         * nptl/pt-interp.c: New file.
12525         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12526         Add pt-interp.
12527         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12528         $(common-objpfx)runtime-linker.h.
12530 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12532         * Makeconfig (+interp): Remove unused variable.
12533         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12534         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12535         $(elf-objpfx)runtime-linker.h.
12536         ($(elf-objpfx)runtime-linker.h): Rename to
12537         $(common-objpfx)runtime-linker.h and move ...
12538         * Makerules [$(build-shared) = yes]: ... here.
12539         * elf/interp.c: Include <runtime-linker.h> instead of
12540         <elf/runtime-linker.h>.
12542 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12544         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12545         (__gettimeofday_syscall): Remove vsyscall fallback.
12546         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12547         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12548         Add syscall fallback function.
12549         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12550         if vDSO is not present.
12551         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12552         fallback function.
12553         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12554         present.
12555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12556         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12558 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12560         [BZ #18497]
12561         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12562         of wcscmp.
12563         (wcscmp): Define as weak alias of WCSCMP.
12564         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12565         wcscoll.
12566         (USE_HIDDEN_DEF): Define.
12567         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12568         __wcscoll.  Don't use libc_hidden_weak.
12569         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12570         wcscmp.
12571         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12572         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12573         __GI_wcscmp.
12574         (weak_alias): Undefine and redefine.
12575         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12576         __wcscmp and define as weak alias of __wcscmp.
12577         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12578         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12579         (__wcscoll): Likewise.
12580         (wcscmp): Don't use libc_hidden_proto.
12581         (wcscoll): Likewise.
12582         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12583         wcscoll.
12584         * posix/regexec.c (check_node_accept_bytes): Likewise.
12585         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12586         variable.
12587         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12588         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12590         [BZ #18507]
12591         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12592         __fstatvfs and define as weak alias of __fstatvfs.  Use
12593         libc_hidden_weak.
12594         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12595         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12596         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12597         Define as alias of __fstatvfs, not fstatvfs.
12598         (fstatvfs64): Likewise.
12599         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12600         Define as alias of __statvfs, not statvfs.
12601         (statvfs64): Likewise.
12602         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12603         Remove variable.
12605 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12608         (HAVE_GETCPU_VSYSCALL): Define.
12609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12610         (HAVE_GETCPU_VSYSCALL): Likewise.
12611         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12612         * sysdeps/unix/sysv/linux/sched_getcpu.c
12613         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12614         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12615         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12616         prototype.
12617         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12618         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12619         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12621         Define.
12622         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12623         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12624         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12625         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12627 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12629         * sysdeps/x86_64/fpu/Makefile: New file.
12630         * sysdeps/x86_64/fpu/Versions: New file.
12631         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12632         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12633         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12634         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12635         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12636         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12637         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12638         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12639         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12640         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12641         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12642         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12643         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12644         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12645         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12647         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12648         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12649         * sysdeps/x86_64/configure: Regenerated.
12650         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12652         * manual/install.texi (Configuring and compiling): Document
12653         --disable-mathvec.
12654         * INSTALL: Regenerated.
12655         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12657         * math/Makefile: Added rules for vector tests.
12658         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12659         declaration under condition.
12660         * math/test-double-vlen2.h: New file.
12661         * math/test-double-vlen4.h: New file.
12662         * math/test-double-vlen8.h: New file.
12663         * math/test-vec-loop.h: Added initialization macro.
12664         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12666         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12667         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12668         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12669         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12670         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12671         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12672         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12673         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12674         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12676         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12677         * sysdeps/x86_64/fpu/Versions: New versions added.
12678         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12679         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12681         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12682         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12683         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12684         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12685         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12686         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12687         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12688         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12689         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12690         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12691         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12692         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12693         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12694         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12695         * NEWS: Mention addition of x86_64 vector cosf.
12697         * math/Makefile: Added CFLAGS for new tests.
12698         * math/test-float-vlen16.h: New file.
12699         * math/test-float-vlen4.h: New file.
12700         * math/test-float-vlen8.h: New file.
12701         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12702         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12703         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12704         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12705         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12706         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12707         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12708         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12709         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12710         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12711         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12713 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12715         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12716         * locale/programs/ld-ctype.c: Likewise.
12718 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12720         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12721         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12722         bit_ZMM16_31_state): New macro.
12723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12724         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12726 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12728         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12730 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12732         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12734 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12736         [BZ #18498]
12737         * libio/memstream.c (open_memstream): Rename to __open_memstream
12738         and define as weak alias of __open_memstream.
12739         * include/stdio.h (__open_memstream): Declare.  Use
12740         libc_hidden_proto.
12741         (open_memstream): Don't use libc_hidden_proto.
12742         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12743         open_memstream.
12744         * posix/getopt.c (_getopt_internal_r): Likewise.
12745         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12746         variable.
12747         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12748         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12749         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12751         [BZ #18496]
12752         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12753         instead of wcrtomb.
12755         [BZ #18483]
12756         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12757         [__USE_XOPEN2K8].  Remove redundant #endif.
12758         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12759         Remove redundant #if.
12760         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12761         Remove variable.
12762         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12763         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12765         [BZ #18495]
12766         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12767         (__iswlower): Likewise.
12768         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12769         (__iswlower): Likewise.
12770         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12771         instead of towlower.
12772         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12773         instead of iswlower.  Call __towupper instead of towupper.
12774         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12775         instead of iswalnum.
12777 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12779         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12780         errors to stderr.
12782 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12784         [BZ #15661]
12785         [BZ #17322]
12786         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12787         Check for overflow properly.  Check for O_APPEND.  Ignore large
12788         file system block sizes.  Add comments about problems.
12789         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12790         * manual/filesys.texi (Storage Allocation): New node.
12792 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12794         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12795         cancellable syscalls.
12796         (SYS_ify): Add guard to no redefine it.
12797         (INLINE_SYSCALL): Likewise.
12798         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12799         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12800         SYSCALL_CANCEL instead.
12801         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12802         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12803         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12804         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12805         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12806         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12807         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12808         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12809         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12810         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12811         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12812         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12813         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12814         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12815         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12816         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12817         Likewise.
12818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12819         (__libc_pread64): Likewise.
12820         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12821         (__libc_preadv): Likewise.
12822         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12823         (__libc_readv64): Likewise.
12824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12825         (__libc_pwrite): Likewise.
12826         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12827         (__libc_pwrite64): Likewise.
12828         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12829         (__libc_pwritev): Likewise.
12830         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12831         (__libc_pwritev64): Likewise.
12832         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12833         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12834         (sync_file_range): Likewise.
12835         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12836         Likewise.
12837         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12838         Likewise.
12839         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12840         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12841         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12842         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12843         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12844         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12845         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12846         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12848         Likewise.
12849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12850         (__libc_read64): Likewise.
12851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12852         Likewise.
12853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12854         Likewise.
12855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12856         Likewise.
12857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12858         Likewise.
12859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12860         (__libc_pread64): Likewise.
12861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12862         Likewise.
12863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12864         (__libc_pwrite64): Likewise.
12865         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12866         (sync_file_range): Likewise.
12867         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12868         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12869         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12870         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12871         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12872         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12873         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12874         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12875         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12876         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12877         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12878         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12879         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12880         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12881         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12882         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12883         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12884         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12885         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12886         Likewise.
12887         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12888         Likewise.
12889         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12890         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12891         Likewise.
12892         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12893         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12894         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12895         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12896         Likewise.
12897         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12898         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12899         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12900         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12901         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12903 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12905         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12906         Include dl-vdso.
12907         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12908         Use VDSO routines for gettimeofday, clock_gettime if
12909         available.
12910         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12911         Declare VDSO symbols.
12912         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12913         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12914         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12915         * sysdeps/unix/sysv/linux/arm/Versions: Add
12916         __vdso_clock_gettime.
12918 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12920         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12921         be an inline implementation regardless of library is built within.
12922         (open_not_cancel_2): Likewise.
12923         (__read_nocancel): Likewise.
12924         (__write_nocancel): Likewise.
12925         (openat_not_cancel): Likewise.
12926         (openat_not_cancel_3): Likewise.
12927         (openat64_not_cancel): Likewise.
12928         (openat64_not_cancel_3): Likewise.
12929         (__close_nocancel): Likewise.
12930         (pause_not_cancel): Likewise.
12931         (nanosleep_not_cancel): Likewise.
12932         (sigsuspend_not_cancel): Likewise.
12934 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12936         [BZ #14958]
12937         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12938         wake-up.
12939         (__pthread_rwlock_rdlock_slow): Likewise.
12940         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12941         Likewise.
12942         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12943         Likewise.
12944         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12945         * nptl/tst-rwlock16.c: New file.
12946         * nptl/Makefile (tests): Add new test.
12948 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12950         [BZ #18324]
12951         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12952         missing wake-up of readers.
12953         * nptl/tst-rwlock15.c: New file.
12954         * nptl/Makefile (tests): Add new test.
12956 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12958         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12959         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12960         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12961         and __nacl_supply_interface_rtld.
12962         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12963         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12964         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12965         Add __nacl_supply_interface_rtld.
12966         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12968 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12970         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12971         isfinite.
12972         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12973         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12975 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12977         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12978         __signbit* with standard C99 macros.
12979         * math/e_exp10l.c: Likewise.
12980         * math/e_exp2l.c: Likewise.
12981         * math/e_scalb.c: Likewise.
12982         * math/e_scalbf.c: Likewise.
12983         * math/e_scalbl.c: Likewise.
12984         * math/s_ldexp.c: Likewise.
12985         * math/s_ldexpf.c: Likewise.
12986         * math/s_ldexpl.c: Likewise.
12987         * math/w_atan2.c: Likewise.
12988         * math/w_atan2f.c: Likewise.
12989         * math/w_atan2l.c: Likewise.
12990         * math/w_cosh.c: Likewise.
12991         * math/w_coshf.c: Likewise.
12992         * math/w_coshl.c: Likewise.
12993         * math/w_exp10.c: Likewise.
12994         * math/w_exp10f.c: Likewise.
12995         * math/w_exp10l.c: Likewise.
12996         * math/w_exp2.c: Likewise.
12997         * math/w_exp2f.c: Likewise.
12998         * math/w_exp2l.c: Likewise.
12999         * math/w_fmod.c: Likewise.
13000         * math/w_fmodf.c: Likewise.
13001         * math/w_fmodl.c: Likewise.
13002         * math/w_hypot.c: Likewise.
13003         * math/w_hypotf.c: Likewise.
13004         * math/w_hypotl.c: Likewise.
13005         * math/w_jnl.c: Likewise.
13006         * math/w_lgamma.c: Likewise.
13007         * math/w_lgamma_r.c: Likewise.
13008         * math/w_lgammaf.c: Likewise.
13009         * math/w_lgammaf_r.c: Likewise.
13010         * math/w_lgammal.c: Likewise.
13011         * math/w_lgammal_r.c: Likewise.
13012         * math/w_pow.c: Likewise.
13013         * math/w_powf.c: Likewise.
13014         * math/w_powl.c: Likewise.
13015         * math/w_remainder.c: Likewise.
13016         * math/w_remainderf.c: Likewise.
13017         * math/w_remainderl.c: Likewise.
13018         * math/w_scalb.c: Likewise.
13019         * math/w_scalbf.c: Likewise.
13020         * math/w_scalbl.c: Likewise.
13021         * math/w_scalbln.c: Likewise.
13022         * math/w_scalblnf.c: Likewise.
13023         * math/w_scalblnl.c: Likewise.
13024         * math/w_sinh.c: Likewise.
13025         * math/w_sinhf.c: Likewise.
13026         * math/w_sinhl.c: Likewise.
13027         * math/w_tgamma.c: Likewise.
13028         * math/w_tgammaf.c: Likewise.
13029         * math/w_tgammal.c: Likewise.
13030         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13031         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13032         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13033         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13034         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13035         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13036         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13037         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13038         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13039         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13040         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13041         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13042         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13043         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13044         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13045         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13046         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13047         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13048         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13051         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13052         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13053         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13054         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13055         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13056         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13057         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13058         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13059         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13060         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13061         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13062         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13063         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13064         * stdio-common/printf_fp.c: Likewise.
13065         * stdio-common/printf_fphex.c: Likewise.
13066         * stdio-common/printf_size.c: Likewise.
13068 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13070         [BZ #18470]
13071         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13072         strnlen.
13073         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13074         Remove variable.
13075         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13076         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13077         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13078         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13079         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13080         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13081         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13082         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13083         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13084         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13086         [BZ #18468]
13087         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13088         weak alias of __wmemchr.  Use libc_hidden_weak.
13089         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13090         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13091         instead of wmemchr.
13093 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13095         [BZ #18383]
13096         * elf/tst-tlsalign-extern.c: New file.
13097         * elf/tst-tlsalign-extern-static.c: New file.
13098         * elf/tst-tlsalign-vars.c: New file.
13099         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13100         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13101         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13102         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13103         (test-xfail-tst-tlsalign-extern-static): New variable.
13105 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13107         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13108         Use variable name _sc_err instead of err.
13109         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13110         instead of ret.
13111         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13112         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13113         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13114         (INLINE_SYSCALL): Likewise.
13116         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13117         * include/string.h (__strnlen): Use libc_hidden_proto.
13118         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13119         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13120         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13121         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13122         (libc_hidden_def): Undefine and redefine.
13123         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13124         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13125         __GI_strnlen.
13126         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13127         libc_hidden_def.
13128         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13130         [BZ #18469]
13131         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13132         weak alias of __towlower.  Use libc_hidden_weak.
13133         (towupper): Rename to __towupper and define as weak alias of
13134         __towupper.  Use libc_hidden_weak.
13135         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13136         (__towupper): Likewise.
13137         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13138         __towlower instead of towlower.
13140 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13142         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13143         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13145 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13147         * sysdeps/aarch64/libm-test-ulps: Update.
13149 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13151         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13152         Define.
13153         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13155         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13156         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13157         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13158         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13159         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13161 2015-06-01  Martin Sebor  <msebor@redhat.com>
13163         [BZ #18116]
13164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13165         (__setcontext): Use extended four-operand version of mtsf whenever
13166         possible.
13167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13168         (__novec_swapcontext): Likewise.
13170 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13172         * benchtests/scripts/compare_bench.py: New file.
13173         * benchtests/scripts/import_bench.py (mean): New function.
13174         (split_list): Likewise.
13175         (do_for_all_timings): Likewise.
13176         (compress_timings): Likewise.
13178         * benchtests/scripts/import_bench.py: New file.
13179         * benchtests/scripts/validate_benchout.py: Import import_bench
13180         instead of jsonschema.
13181         (validate_bench): Remove function.
13182         (main): Use import_bench.
13184 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13186         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13187         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13189 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13193 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13195         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13196         set THREAD_SELF->tid to a magic value and futex-wake it.
13197         Pass its address to the thread_exit system call.
13198         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13199         bit is clear.
13200         * sysdeps/nacl/lowlevellock.h: New file.
13201         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13203         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13204         Add TIMEOUT to current time, don't subtract it.
13206 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13208         [BZ #2981]
13209         [BZ #18422]
13210         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13211         ($(objpfx)tst-audit2.out): Also depend on
13212         $(objpfx)tst-auditmod9b.so.
13213         * elf/tst-audit2.c: Include <dlfcn.h>.
13214         (calloc_called): New.
13215         (calloc): Allow to be called more than once.
13216         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13218 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13220         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13221         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13223 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13225         * stdlib/monetary.h: Fix comment.
13227 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13229         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13230         Avoid using variables in #defines that might cause shadowing.
13231         (INTERNAL_VSYSCALL_CALL): Likewise.
13233 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13235         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13237         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13238         * nptl/lll_timedlock_wait.c: ... to this new file.
13239         * nptl/Makefile (libpthread-routines): Add it.
13240         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13241         * nptl/lll_timedwait_tid.c: ... to this new file.
13242         * nptl/Makefile (libpthread-routines): Add it.
13243         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13244         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13245         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13246         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13247         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13248         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13249         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13250         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13251         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13252         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13254 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13256         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13257         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13258         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13259         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13260         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13261         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13262         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13264         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13265         * sysdeps/unix/sysv/linux/tile/sysdep.h
13266         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13267         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13268         using vDSO syscall macro.
13270 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13272         [BZ #17293]
13273         * uk_UA: Fix sorting order for Ukrainian locale
13275 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13277         * stdlib/monetary.h: Fix comment.
13279 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13281         [BZ #18234]
13282         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13283         st_mtim and st_ctim members.
13284         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13285         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13286         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13287         (struct stat64): Likewise.
13288         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13289         (struct stat64): Likewise.
13290         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13291         (struct stat64): Likewise.
13293 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13295         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13296         Define and include sysdep-vdso.h.
13297         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13298         Likewise.
13299         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13300         Likewise.
13301         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13302         Define with VDSO_SYMBOL and use PTR_MANGLE.
13303         (__vdso_clock_gettime): Likewise.
13304         (__vdso_clock_getres): Likewise.
13305         (_libc_vdso_platform_setup): Likewise.
13306         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13307         Likewise.
13308         (_libc_vdso_platform_setup): Likewise.
13309         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13310         Likewise.
13311         (__vdso_clock_gettime): Likewise.
13312         (__vdso_clock_getres): Likewise.
13313         (__vdso_get_tbfreq): Likewise.
13314         (__vdso_getcpu): Likewise.
13315         (__vdso_time): Likewise.
13316         (__vdso_sigtramp_rt64): Likewise.
13317         (__vdso_signtramp32): Likewise.
13318         (__vdso_sigtramp_rt32): Likewise.
13319         (_libc_vdso_platform_setup): Likewise.
13320         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13321         Likewise.
13322         (__vdso_clock_gettime): Likewise.
13323         (__vdso_clock_getres): Likewise.
13324         (_libc_vdso_platform_setup): Likewise.
13325         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13326         Likewise.
13327         (__vdso_clock_gettime): Likewise.
13328         (_libc_vdso_platform_setup): Likewise.
13329         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13330         Likewise.
13331         (__vdso_getcpu): Likewise.
13332         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13333         Use VDSO_SYMBOL macro to define.
13334         (__vdso_clock_gettime): Likewise.
13335         (__vdso_clock_getres): Likewise.
13336         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13337         Likewise.
13338         (__vdso_clock_gettime): Likewise.
13339         (__vdso_clock_getres): Likewise.
13340         (__vdso_get_tbfreq): Likewise.
13341         (__vdso_getcpu): Likewise.
13342         (__vdso_time): Likewise.
13343         (__vdso_sigtramp_rt64): Likewise.
13344         (__vdso_signtramp32): Likewise.
13345         (__vdso_sigtramp_rt32): Likewise.
13346         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13347         Likewise.
13348         (__vdso_clock_gettime): Likewise.
13349         (__vdso_clock_getres): Likewise.
13350         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13351         Likewise.
13352         (__vdso_clock_gettime): Likewise.
13353         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13354         Likewise.
13355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13356         macro.
13357         (INTERNAL_VSYSCALL): Likewise.
13358         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13359         Remove macro.
13360         (INTERNAL_VSYSCALL): Likewise.
13361         (INTERNAL_VSYSCALL_NCS): Likewise.
13362         (INTERNAL_VSYSCALL_CALL): New macro.
13363         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13364         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13365         Likewise.
13366         (INTERNAL_VSYSCALL): Likewise.
13367         (INTERNAL_VSYSCALL_NCS): Likewise.
13368         (INTERNAL_VSYSCALL_CALL): New macro.
13369         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13371         (INLINE_VSYSCALL): Remove macro.
13372         (INTERNAL_VSYSCALL): Remove macro.
13373         (INTERNAL_VSYSCALL_NCS): Remove macro.
13374         (INTERNAL_VSYSCALL_CALL): New macro.
13375         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13376         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13377         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13378         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13379         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13381         (INLINE_VSYSCALL): Remove macro.
13382         (INTERNAL_VSYSCALL): Likewise.
13383         (INTERNAL_VSYSCALL_NCS): Likewise.
13384         (INTERNAL_VSYSCALL_CALL): New macro.
13385         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13386         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13387         PTR_DEMANGLE on vDSO pointer.
13388         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13389         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13390         macro.
13391         (INTERNAL_SYSCALL): Likewise.
13392         (INTERNAL_VSYSCALL_NCS): Remove macro.
13393         (INTERNAL_VSYSCALL_CALL): New macro.
13394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13395         Remove macro.
13396         (INTERNAL_VSYSCALL): Likewise.
13397         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13398         sysdep-vdso.h instead of libc-vdso.h.
13399         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13400         definition.
13401         (INLINE_VSYSCALL): Likewise.
13402         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13403         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13404         definition.
13405         (INLINE_VSYSCALL): Likewise.
13406         (INTERNAL_VSYSCALL): Likewise.
13407         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13408         * sysdeps/unix/sysv/linux/timespec_get.c
13409         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13410         (timespec_get): Use ANSI prototype.
13411         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13412         and definition for Linux.
13414 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13416         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13417         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13419 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13421         [BZ #2981]
13422         [BZ #18410]
13423         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13424         for missing DT_PLTRELSZ.
13426 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13428         Remove obsolete aliases that broke 'locale -a'
13429         [BZ #18412]
13430         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13431         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13432         breaking some applications that use 'locale -a' output.
13433         Change the encoding of this file from Latin-1 to ASCII to avoid
13434         other potential problems with people grepping this file.
13436 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13438         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13439         -fasynchronous-unwind-tables.
13440         (CFLAGS-sendto.c): Likewise.
13441         (CFLAGS-sendmsg.c): Likewise.
13442         (CFLAGS-connect.c): Likewise.
13443         (CFLAGS-recvmsg.c): Likewise.
13444         (CFLAGS-recvfrom.c): Likewise.
13445         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13446         (SOCKETCALL): New macro: non-cancellable socketcall.
13447         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13448         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13449         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13450         * sysdeps/unix/sysv/linux/accept.c: New file.
13451         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13452         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13453         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13454         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13455         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13456         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13457         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13458         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13459         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13460         * sysdeps/unix/sysv/linux/send.c: Likewise.
13461         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13462         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13463         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13464         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13465         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13466         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13467         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13468         prototype.
13469         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13470         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13471         instead of __internal_xxx function.
13472         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13473         prototype.
13474         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13475         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13476         instead of __internal_xxx function.
13477         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13478         prototype.
13479         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13480         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13481         instead of __internal_xxx function.
13482         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13483         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13484         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13485         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13486         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13487         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13488         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13489         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13490         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13491         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13492         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13493         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13494         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13495         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13496         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13497         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13498         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13499         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13500         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13501         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13504         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13505         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13506         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13507         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13508         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13509         * sysdeps/unix/sysv/linux/send.S: Likewise.
13510         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13511         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13512         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13513         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13514         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13515         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13516         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13517         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13518         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13519         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13520         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13521         socketcall is implemented in GLIBC.
13523 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13525         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13526         (__fma): Ignore uninitialized warnings around packing.
13527         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13528         (__fmaf): Ignore uninitialized warnings around packing.
13529         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13530         (__fmal): Ignore uninitialized warnings around packing.
13532         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13533         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13534         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13535         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13537         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13538         switch statement into default case.
13539         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13541         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13542         a conditional in forcing "inexact".
13543         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13544         Likewise.
13546 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13548         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13549         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13550         for each INTERNAL_SYSCALL use.
13552 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13554         [BZ #438]
13555         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13556         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13557         variable.
13559         [BZ #18444]
13560         * string/basename.c (basename): Rename to __basename and define as
13561         weak alias of __basename.  Use libc_hidden_weak.
13562         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13563         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13564         __basename instead of basename.
13565         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13566         Remove variable.
13567         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13569 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13571         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13572         (_IO_JUMPS_FILE_plus): New.
13573         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13574         _IO_CAST_FIELD_ACCESS.
13575         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13576         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13577         * libio/freopen.c (freopen): Likewise.
13578         * libio/freopen64.c (freopen64): Likewise.
13579         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13580         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13581         * libio/iofwide.c (_IO_fwide): Likewise.
13582         * libio/memstream.c (open_memstream): Likewise.
13583         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13584         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13585         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13587 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13589         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13590         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13591         NADJ.
13592         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13593         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13594         NADJ.
13595         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13596         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13597         NADJ.
13599         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13600         (p == 4) case.
13602         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13603         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13604         Remove variable.
13605         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13606         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13607         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13609 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13611         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13612         Adjust jump table label generation macros.
13614 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13616         * stdio-common/vfprintf.c (vfprintf): Move local variables
13617         args_malloced, specs, specs_malloced, and the code after
13618         do_positional to the printf_positional function.
13619         (printf_positional): New function.
13621 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13623         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13624         function.
13625         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13626         STEP4_TABLE, process_arg): Move macro definitions
13627         out of the vfprintf function.  (Cosmetic change only.)
13629 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13631         * benchtests/Makefile (stdio-common-bench): Define.
13632         (benchset): Add stdio-common-bench.
13633         * sprintf-inputs: New file.
13634         * sprintf-source.c: New file.
13636 2015-05-21  Andreas Schwab  <schwab@suse.de>
13638         [BZ #13028]
13639         [BZ #17053]
13640         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13641         of struct __res_state.
13642         * resolv/res_send.c (__libc_res_nsend): Likewise.
13643         (get_nsaddr): New function.
13644         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13645         statp directly.
13647 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13649         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13650         -D_POSIX_C_SOURCE=199506L.
13652         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13654         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13655         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13656         Do not mention otherwise.
13657         [POSIX] (_XOPEN_VERSION): Do not expect.
13658         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13659         [POSIX] (_POSIX2_C_BIND): Likewise.
13660         [POSIX] (_POSIX2_VERSION): Likewise.
13661         [POSIX] (_XOPEN_XPG2): Likewise.
13662         [POSIX] (_XOPEN_XPG3): Likewise.
13663         [POSIX] (_XOPEN_XPG4): Likewise.
13664         [POSIX] (_XOPEN_UNIX): Likewise.
13665         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13666         [POSIX] (_POSIX_BARRIERS): Likewise.
13667         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13668         [POSIX] (_POSIX_CPUTIME): Likewise.
13669         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13670         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13671         [POSIX] (_POSIX_SHELL): Likewise.
13672         [POSIX] (_POSIX_SPAWN): Likewise.
13673         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13674         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13675         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13676         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13677         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13678         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13679         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13680         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13681         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13682         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13683         [POSIX] (_POSIX2_PBS): Likewise.
13684         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13685         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13686         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13687         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13688         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13689         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13690         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13691         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13692         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13693         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13694         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13695         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13696         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13697         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13698         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13699         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13700         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13701         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13702         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13703         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13704         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13705         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13706         [POSIX] (_SC_2_C_BIND): Likewise.
13707         [POSIX] (_SC_2_C_VERSION): Likewise.
13708         [POSIX] (_SC_2_PBS): Likewise.
13709         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13710         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13711         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13712         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13713         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13714         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13715         [POSIX] (_SC_BARRIERS): Likewise.
13716         [POSIX] (_SC_BASE): Likewise.
13717         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13718         [POSIX] (_SC_DEVICE_IO): Likewise.
13719         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13720         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13721         [POSIX] (_SC_FD_MGMT): Likewise.
13722         [POSIX] (_SC_FIFO): Likewise.
13723         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13724         [POSIX] (_SC_FILE_LOCKING): Likewise.
13725         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13726         [POSIX] (_SC_IOV_MAX): Likewise.
13727         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13728         [POSIX] (_SC_NETWORKING): Likewise.
13729         [POSIX] (_SC_PAGE_SIZE): Likewise.
13730         [POSIX] (_SC_PASS_MAX): Likewise.
13731         [POSIX] (_SC_PIPE): Likewise.
13732         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13733         [POSIX] (_SC_REGEXP): Likewise.
13734         [POSIX] (_SC_SHELL): Likewise.
13735         [POSIX] (_SC_SIGNALS): Likewise.
13736         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13737         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13738         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13739         [POSIX] (_SC_USER_GROUPS): Likewise.
13740         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13741         [POSIX] (_SC_STREAMS): Likewise.
13742         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13743         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13744         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13745         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13746         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13747         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13748         [POSIX] (_PC_FILESIZEBITS): Likewise.
13749         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13750         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13751         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13752         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13753         [POSIX] (uid_t): Likewise.
13754         [POSIX] (gid_t): Likewise.
13755         [POSIX] (off_t): Likewise.
13756         [POSIX] (pid_t): Likewise.
13757         [POSIX] (cuserid): Allow.
13758         (_SC_2_CHAR_TERM): Require constant.
13759         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13760         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13761         variable.
13763 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13765         * sysdeps/nacl/pthread-pids.h: New file.
13766         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13767         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13769         * nptl/pthread-pids.h: New file.
13770         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13771         * nptl/nptl-init.c: Include <pthread-pids.h>.
13772         (__pthread_initialize_minimal_internal):
13773         Call __pthread_initialize_pids instead of set_tid_address syscall.
13775         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13776         * sysdeps/posix/usleep.c: ... here.
13778 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13780         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13781         call_pselect6 object.
13782         [$(subdir) = io]: Remove call_sync_file_range object.
13783         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13784         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13785         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13786         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13788 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13790         * math/s_cproj.c: Add include "math_private.h".
13791         * math/s_cprojf.c: Likewise.
13792         * math/s_cprojl.c: Likewise.
13794 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13796         [BZ #18244]
13797         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13798         high mantissa bit when testing whether P is a NaN.
13799         * math/libm-test.inc (remainder_test_data): Add more tests.
13800         (remquo_test_data): Likewise.
13802         [BZ #18049]
13803         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13804         below -32, return the argument, with underflow if subnormal.
13805         * math/auto-libm-test-in: Add more tests of atanh.
13806         * math/auto-libm-test-out: Regenerated.
13808 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13810         [BZ #18434]
13811         * nptl/tst-sem15.c: New file.
13812         * nptl/Makefile (tests): Add it.
13813         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13814         s/<</>>/ to fix typo in EOVERFLOW check.
13815         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13817 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13819         * manual/strings.texi (envz_remove): Fix typo in safety
13820         annotations.
13822 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13823             Steve Ellcey  <sellcey@imgtec.com>
13825         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13826         in order to avoid strict alias warnings.
13827         (iruserok_af): Ditto for ra.
13829 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13831         [BZ #17581]
13832         * malloc/hooks.c
13833         (magicbyte): Convert to a function and avoid returning 0x01.
13834         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13835         (mem2chunk_check): Fix unsigned comparisons to zero.
13836         Hoist defs of sz and magic.
13838 2015-05-19  Richard Henderson  <rth@redhat.com>
13840         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13842         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13844 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13846         [BZ #16159]
13847         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13848         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13849         (reused_arena): Find a non-corrupt arena.
13850         (heap_trim): Pass arena to unlink.
13851         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13852         malloc_printerr.
13853         (top_check): Likewise.
13854         (free_check): Likewise.
13855         (realloc_check): Likewise.
13856         * malloc/malloc.c (malloc_printerr): Add arena argument.
13857         (unlink): Likewise.
13858         (munmap_chunk): Adjust.
13859         (ARENA_CORRUPTION_BIT): New macro.
13860         (arena_is_corrupt): Likewise.
13861         (set_arena_corrupt): Likewise.
13862         (sysmalloc): Use mmap if there are no usable arenas.
13863         (_int_malloc): Likewise.
13864         (__libc_malloc): Don't fail if arena_get returns NULL.
13865         (_mid_memalign): Likewise.
13866         (__libc_calloc): Likewise.
13867         (__libc_realloc): Adjust for additional argument to
13868         malloc_printerr.
13869         (_int_free): Likewise.
13870         (malloc_consolidate): Likewise.
13871         (_int_realloc): Likewise.
13872         (_int_memalign): Don't touch corrupt arenas.
13873         * malloc/tst-malloc-backtrace.c: New test case.
13875         * Makefile (summarize-tests): Fix return value on success.
13877         * manual/string.texi (Envz Functions): Add envz_remove.
13879 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13881         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13882         (invalid_name): New function, broken out of ...
13883         (__opendirat): ... here.  Call it.
13884         (need_isdir_precheck): New function, broken out of ...
13885         (__opendirat): ... here.  Call it.
13886         Use __fxstatat64, not __xstatat64.
13887         (opendir_oflags): New function, broken out of ...
13888         (__opendirat): ... here.  Call it.
13889         (opendir_tail): New function, broken out of ...
13890         (__opendirat): ... here.  Call it.
13891         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13892         opendir_tail, rather than punting to __opendirat.
13893         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13895 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13897         * .gitignore: Ignore generated *.pyc.
13899 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13901         * include/stdio.h: Define __need_wint_t.
13902         * test-skeleton.c: Avoid `for' loop initial declaration.
13903         * nptl/tst-initializers1.c: Use test-skeleton.c.
13905 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13907         [BZ #18418]
13908         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13910 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13912         [BZ #16352]
13913         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13914         (__ieee754_atanh): Force underflow exception for results with
13915         small absolute value.
13916         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13917         (__ieee754_atanhf): Force underflow exception for results with
13918         small absolute value.
13919         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13920         (__ieee754_atanh): Force underflow exception for results with
13921         small absolute value.
13922         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13923         (__ieee754_atanhf): Force underflow exception for results with
13924         small absolute value.
13925         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13926         (__ieee754_atanhl): Force underflow exception for results with
13927         small absolute value.
13928         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13929         (__ieee754_atanhl): Force underflow exception for results with
13930         small absolute value.
13931         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13932         (__ieee754_atanhl): Force underflow exception for results with
13933         small absolute value.
13934         * math/auto-libm-test-in: Do not allow missing underflow
13935         exceptions from atanh.
13936         * math/auto-libm-test-out: Regenerated.
13938         [BZ #18221]
13939         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13940         2**-28 as threshold for returning x or +/- 1/x.
13941         * math/auto-libm-test-in: Add more tests of tan.
13942         * math/auto-libm-test-out: Regenerated.
13944         [BZ #18220]
13945         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13946         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13947         * math/auto-libm-test-in: Add another test of lgamma.
13948         * math/auto-libm-test-out: Regenerated.
13950 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13952         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13953         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13954         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13955         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13956         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13957         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13958         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13959         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13961         (log1): Use fabs.  (my_log2): Use fabs.
13962         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13963         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13965         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13966         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13967         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13968         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13969         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13970         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13971         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13972         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13974 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13976         [BZ #18217]
13977         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13978         as threshold for returning 1 - x.
13979         * math/auto-libm-test-in: Add more tests of erfc.
13980         * math/auto-libm-test-out: Regenerated.
13982 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13984         [BZ #18196]
13985         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13986         threshold for large arguments.
13987         * math/auto-libm-test-in: Add another test of atan.
13988         * math/auto-libm-test-out: Regenerated.
13990         [BZ #16339]
13991         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13992         (__log1p): Force underflow exception for results with small
13993         absolute value.
13994         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13995         (__log1pf): Force underflow exception for results with small
13996         absolute value.
13997         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13998         (__log1p): Force underflow exception for results with small
13999         absolute value.
14000         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14001         (__log1pf): Force underflow exception for results with small
14002         absolute value.
14003         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14004         (__log1pl): Force underflow exception for results with small
14005         absolute value.
14006         * math/auto-libm-test-in: Do not allow missing underflow
14007         exceptions from log1p.
14008         * math/auto-libm-test-out: Regenerated.
14010 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14011             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14013         [BZ #16704]
14014         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14016 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14018         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14019         (libmvec): New variable.
14020         * configure.ac: Added option for mathvec build.
14021         * configure: Regenerated.
14022         * mathvec/Depend: New file.
14023         * mathvec/Makefile: New file.
14024         * shlib-versions: Added libmvec.
14025         * math/Makefile: Added rule for libm.so installation.
14027         * bits/math-vector.h: New file.
14028         * bits/libm-simd-decl-stubs.h: New header.
14029         * math/Makefile (headers): Added new header
14030         libm-simd-decl-stubs.h.
14031         * math/math.h (__MATHCALL_VEC): New macro.
14033         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14034         for conditions in testing functions.
14035         * math/Makefile: Added call of libm-have-vector-test.sh.
14036         * math/libm-test.inc (HAVE_VECTOR): New macros.
14038         * math/libm-test.inc: START refactored.
14039         * math/test-double.c (TEST_MATHVEC): Add define.
14040         * math/test-float.c: Likewise.
14041         * math/test-idouble.c: Likewise.
14042         * math/test-ifloat.c: Likewise.
14043         * math/test-ildoubl.c: Likewise.
14044         * math/test-ldouble.c: Likewise.
14045         * sysdeps/generic/math-tests-arch.h
14046         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14047         architecture check.
14049         * math/test-double.c (FUNC_TEST): New macro.
14050         * math/test-float.c: Likewise.
14051         * math/test-idouble.c: Likewise.
14052         * math/test-ifloat.c: Likewise.
14053         * math/test-ildoubl.c: Likewise.
14054         * math/test-ldouble.c: Likewise.
14055         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14057 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14059         * sysdeps/nacl/fdopendir.c: New file.
14061         * dirent/scandir-tail.c: New file.
14062         * dirent/scandir64-tail.c: New file.
14063         * dirent/Makefile (routines): Add them.
14064         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14065         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14066         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14067         [!SCANDIR] (SCANDIR_TAIL): New macro.
14068         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14069         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14070         (SCANDIRAT): Macro removed.
14071         (SCANDIR_TAIL): New macro.
14072         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14073         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14074         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14075         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14076         (READDIR): Macro removed.
14077         (SCANDIR_TAIL): New macro.
14078         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14079         (SCANDIR_TAIL): New macro.
14081         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14082         * dirent/scandir-cancel.c: ... to this new file.
14083         * dirent/Makefile (routines): Add it.
14084         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14085         * sysdeps/unix/sysv/linux/i386/scandir64.c
14086         (SKIP_SCANDIR_CANCEL): Macro removed.
14087         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14089         * dirent/tst-scandir.c: New file.
14090         * dirent/tst-scandir64.c: New file.
14091         * dirent/Makefile (tests): Add them.
14093 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14095         [BZ #18409]
14096         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14098 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14100         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14101         list.
14103 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14105         * benchtests/bench-strcoll.c: New benchmark.
14106         * benchtests/Makefile: Generate locales and run benchmark.
14107         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14108         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14109         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14110         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14111         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14112         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14113         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14114         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14115         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14116         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14117         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14118         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14119         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14120         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14121         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14122         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14123         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14124         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14125         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14126         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14127         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14128         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14129         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14130         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14132 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14134         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14135         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14137 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14139         * posix/uname-values.h: New file.
14140         * posix/uname.c: Include that instead of <config-name.h>.
14141         * sysdeps/nacl/uname-values.h: New file.
14142         * sysdeps/arm/nacl/uname-values.h: New file.
14144 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14146         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14147         splitting into fields.
14149 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14151         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14152         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14153         * locale/localeinfo.h: Add enum collation_encoding_type.
14154         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14155         * programs/ld-collate.c (collate_output): Add encoding type info.
14156         * string/strcoll_l.c (STRDIFF): New function.
14157         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14158         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14160 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14162         [BZ #18397]
14163         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14164         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14165         <fpu_control.h> instead of <math/fpu_control.c>.
14166         * sysdeps/mips/mips32/fpu/Makefile: New file.
14168 2015-05-11  Andreas Schwab  <schwab@suse.de>
14170         [BZ #18007]
14171         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14172         nss_endgrent.
14173         (_nss_compat_endgrent): Call nss_endgrent.
14174         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14175         nss_endpwent.
14176         (_nss_compat_endpwent): Call nss_endpwent.
14177         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14178         needent, call nss_setspent only if non-zero.
14179         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14180         (internal_endspent): Don't call nss_endspent.
14181         (_nss_compat_endspent): Call nss_endspent.
14182         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14183         Remove.  All uses removed.
14184         (internal_setent): Remove parameter stayopen, add parameter
14185         stream.  Use it instead of global variable.
14186         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14187         (internal_endent, internal_getent): Add parameter stream.  Use it
14188         instead of global variable.
14189         (CONCAT(_nss_files_end,ENTNAME))
14190         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14191         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14192         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14193         uses removed.
14194         (internal_setent, internal_endent): Add parameter stream.  Use it
14195         instead of global variable.
14196         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14197         stream.
14198         (get_next_alias): Add parameter stream.
14199         (_nss_files_getaliasent_r): Pass global stream.
14200         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14201         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14202         (_nss_files_gethostbyname4_r): Pass local stream to
14203         internal_setent, internal_getent and internal_endent.  Remove
14204         locking.
14206 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14208         * tst-strfmon1.c (tests): Update expected currency symbol.
14210 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14212         * sysdeps/nacl/gethostname.c: New file.
14214 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14216         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14217         and sinh.
14218         * math/auto-libm-test-out: Regenerated.
14219         * sysdeps/i386/fpu/libm-test-ulps: Update.
14220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14222 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14224         [BZ #18125]
14225         * stdlib/tst-setcontext3.c: New file.
14226         * stdlib/tst-setcontext3.sh: New file.
14227         * stdlib/Makefile (tests): Add tst-setcontext3.
14228         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14229         to verify test program created output file.
14230         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14231         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14232         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14233         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14235 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14237         [BZ #18383]
14238         * elf/tst-tlsalign.c: New file.
14239         * elf/tst-tlsalign-static.c: New file.
14240         * elf/tst-tlsalign-lib.c: New file.
14241         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14242         (tests-static): Add tst-tlsalign-static.
14243         (modules-names): Add tst-tlsalign-lib.
14244         (test-xfail-tst-tlsalign): New variable.
14245         (test-xfail-tst-tlsalign-static): New variable.
14247         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14248         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14250 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14252         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14253         csqrt, erfc, sin and sincos.
14254         * math/auto-libm-test-out: Regenerated.
14255         * sysdeps/i386/fpu/libm-test-ulps: Update.
14256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14258 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14260         * sysdeps/aarch64/libm-test-ulps: Update.
14262 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14264         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14265         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14266         * math/auto-libm-test-out: Regenerated.
14267         * sysdeps/i386/fpu/libm-test-ulps: Update.
14268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14270 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14272         [BZ #18265]
14273         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14274         (wcsncpy): Likewise.
14276 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14278         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14279         Assume __ASSUME_FALLOCATE is always true.
14280         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14281         (__posix_fallocate64_l64): Likweise.
14282         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14283         (posix_fallocate): Likewise.
14284         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14285         (__posix_fallocate64_l64): Likewise.
14286         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14287         [!__ASSUME_FALLOCATE]: Add comment.
14289 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14291         * sysdeps/unix/sysv/linux/i386/Makefile
14292         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14293         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14294         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14295         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14296         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14297         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14298         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14300 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14302         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14303         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14304         tgamma.
14305         * math/auto-libm-test-out: Regenerated.
14306         * sysdeps/i386/fpu/libm-test-ulps: Update.
14307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14309 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14311         * math/auto-libm-test-in: Add more tests of tgamma.
14312         * math/auto-libm-test-out: Regenerated.
14313         * sysdeps/i386/fpu/libm-test-ulps: Update.
14314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14316         * math/auto-libm-test-in: Add more tests of tanh.
14317         * math/auto-libm-test-out: Regenerated.
14318         * sysdeps/i386/fpu/libm-test-ulps: Update.
14319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14321         * math/auto-libm-test-in: Add more tests of tan.
14322         * math/auto-libm-test-out: Regenerated.
14323         * sysdeps/i386/fpu/libm-test-ulps: Update.
14324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14326         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14327         * math/auto-libm-test-out: Regenerated.
14328         * sysdeps/i386/fpu/libm-test-ulps: Update.
14329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14331         * math/auto-libm-test-in: Add another test of pow.
14332         * math/auto-libm-test-out: Regenerated.
14333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14335         * math/auto-libm-test-in: Add more tests of lgamma.
14336         * math/auto-libm-test-out: Regenerated.
14337         * sysdeps/i386/fpu/libm-test-ulps: Update.
14338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14340         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14341         log1p.
14342         * math/auto-libm-test-out: Regenerated.
14343         * sysdeps/i386/fpu/libm-test-ulps: Update.
14344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14346 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14348         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14349         Elf64_Chdr structs and ELFCOMPRESS constants.
14351 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14353         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14354         expm1.
14355         * math/auto-libm-test-out: Regenerated.
14356         * sysdeps/i386/fpu/libm-test-ulps: Update.
14357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14359         * math/auto-libm-test-in: Add more tests of erf and erfc.
14360         * math/auto-libm-test-out: Regenerated.
14361         * sysdeps/i386/fpu/libm-test-ulps: Update.
14362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14364 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14366         * config.h.in (HAVE_AARCH64_BE): Add.
14368 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14370         * math/auto-libm-test-in: Add more tests of csqrt.
14371         * math/auto-libm-test-out: Regenerated.
14372         * sysdeps/i386/fpu/libm-test-ulps: Update.
14373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14375         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14376         * math/auto-libm-test-out: Regenerated.
14377         * sysdeps/i386/fpu/libm-test-ulps: Update.
14378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14380         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14382 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14384         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14385         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14387         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14388         (euidaccess, eaccess): Define as weak aliases.
14390         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14391         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14392         but __suseconds_t is often 'long int' so some sources assume that
14393         type is being used (e.g. they use %ld to print tv_usec).
14395 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14397         [BZ #18007]
14398         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14399         (CVE-2014-8121)
14400         * nss/tst-nss-getpwent.c: New file.
14401         * nss/Makefile (tests): Add new test.
14403 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14405         [BZ #18346]
14406         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14407         exponents less than 48 as cases where high part of mantissa needs
14408         examining to determine whether argument is integral.
14409         * math/libm-test.inc (round_test_data): Add more tests.
14411 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14413         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14415 2015-04-27  David S. Miller  <davem@davemloft.net>
14417         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14418         __tls_get_addr.
14419         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14421 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14423         [BZ#18333]
14424         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14426 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14428         [BZ#18333]
14429         * time/tzset.c (parse_tzname): Return error on memory allocation
14430         failure.
14431         * test-skeleton.c (struct temp_name_list): Change type of name
14432         member to non-const.
14433         (add_temp_file): Create a copy of the file name.
14434         (delete_temp_files): Deallocate memory.
14435         (create_temp_file): Add comment.
14437 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14439         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14440         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14442 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14444         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14445         * sysdeps/arm/configure: Regenerated.
14447 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14449         [BZ #17715]
14450         * time/tzfile.c (__tzfile_read): Check for large values of
14451         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14452         * time/tzset.c (__tzstring_len): New function, based on the old
14453         __tzstring function.
14454         (__tzstring): Call __tzstring_len.
14455         (parse_tzname): New helper function extracted from
14456         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14457         the input string.
14458         (parse_offset): New helper function extracted from
14459         __tzset_parse_tz.  Replace switch with fallthrough with
14460         initialization before sscanf.
14461         (parse_rule): Likewise.
14462         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14463         new-style function definition.
14464         * timezone/Makefile (tests): Add tst-tzset.
14465         (tst-tzset.out): Dependencies on time zone files.
14466         (tst-tzset-ENV): Set TZDIR.
14467         (testdata/XT%): Copy crafted time zone files.
14468         * timezone/README: Mention crafted time zone files.
14469         * timezone/testdata/XT1, timezone/testdata/XT2,
14470         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14471         files.
14472         * timezone/tst-tzset.c: New test.
14474 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14476         * Makeconfig (+gccwarn): Remove -Winline.
14478 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14480         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14482 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14484         * NEWS: Mention sysconf() cache information support for s390.
14485         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14487 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14489         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14490         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14491         (__nearbyint): Likewise.
14492         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14493         (copysignl): Likewise.
14495 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14497         [BZ #18287]
14498         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14499         based on padding.  (CVE-2015-1781)
14501 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14503         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14504         libc-vdso.h.
14505         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14506         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14507         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14508         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14509         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14510         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14511         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14512         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14513         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14514         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14515         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14516         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14517         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14518         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14519         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14520         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14521         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14522         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14523         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14524         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14525         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14526         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14527         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14529 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14531         * stdlib/setenv.c (__add_to_environ):
14532         Dump core quickly if setenv (..., NULL, ...) is called.
14533         This time, do it the right way, and pacify GCC with a pragma.
14535 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14537         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14538         IMAP->l_prev cannot be null, and #if out the code for the contrary
14539         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14540         believe that NS (&_dl_ns[NSID]) could point outside the array.
14542         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14543         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14544         before using NSID as an index.
14546 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14548         [BZ #17825]
14549         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14550         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14551         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14553 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14555         Add preliminary port to Google Native Client on ARM.
14556         * abi-tags (.*-.*-nacl.*): New entry.
14557         * sysdeps/arm/nacl: New directory.
14558         * sysdeps/nacl: New directory.
14560 2015-04-16  David S. Miller  <davem@davemloft.net>
14562         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14563         lowlevellock-futex.h
14565 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14567         * sysdeps/tile/configure.ac: New file.
14568         * sysdeps/tile/configure: Regenerated.
14570 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14572         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14573         conditionals for weak_alias and libc_hidden_weak.
14574         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14575         libc_hidden_weak and weak_alias.
14576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14577         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14578         and weak_alias for static one.
14580 2015-04-15  David S. Miller  <davem@davemloft.net>
14582         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14584 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14586         [BZ #18206]
14587         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14588           Use signed comparision instead of substraction to avoid
14589           overflow bug.
14590         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14591           Take the sign of ret.
14592         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14593           Do not expect precise return values. Only the sign matters.
14594         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14595         * wcsmbs/test-wcsncmp.c: New File.
14596         * string/test-strncmp.c: Add wcsncmp support.
14598 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14600         [BZ #6792]
14601         * math/w_log1p.c: New file.
14602         * math/w_log1pf.c: Likewise.
14603         * math/w_log1pl.c: Likewise.
14604         * math/Makefile (libm-calls): Add w_log1p.
14605         * math/s_log1pl.c (log1pl): Remove weak_alias.
14606         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14607         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14608         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14609         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14610         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14611         [NO_LONG_DOUBLE] (log1pl): Likewise.
14612         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14613         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14614         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14615         (log1p): Remove long_double_symbol.
14616         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14617         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14618         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14619         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14620         remove weak_alias for corresponding log1p function.
14621         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14622         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14623         * sysdeps/ia64/fpu/w_log1p.c: New file.
14624         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14625         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14626         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14628 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14630         [BZ #18247]
14631         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14632         decimal exponent by 1.
14633         * stdlib/tst-strtod-round-data: Add more tests.
14634         * stdlib/tst-strtod-round.c (tests): Regenerated.
14636 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14638         * math/auto-libm-test-in: Add more tests of clog and clog10.
14639         * math/auto-libm-test-out: Regenerated.
14640         * sysdeps/i386/fpu/libm-test-ulps: Update.
14641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14643 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14645         * Makeconfig (module-cppflags): Exclude all .v.i files.
14646         (skip-module-cppflags): Variable removed.
14648         * configure.ac (libc_config_ok): Initialize before reading
14649         preconfigure scripts, not after.
14650         * configure: Regenerated.
14652         * test-skeleton.c (TIMEOUT): Move #define to top level.
14653         (main): Grok environment variable TEST_DIRECT.  If set, print
14654         test expectation details into that file and then behave as if
14655         given --direct.
14657 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14659         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14660         warning on 32-bit.
14662 2015-04-08  David S. Miller  <davem@davemloft.net>
14664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14666 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14668         * math/auto-libm-test-in: Add more tests of atanh.
14669         * math/auto-libm-test-out: Regenerated.
14670         * sysdeps/i386/fpu/libm-test-ulps: Update.
14671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14673         * math/auto-libm-test-in: Add more tests of atan.
14674         * math/auto-libm-test-out: Regenerated.
14675         * sysdeps/i386/fpu/libm-test-ulps: Update.
14676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14680         * elf/pldd.c (main): Rewrite to use struct
14681         scratch_buffer instead of extend_alloca.
14682         * elf/pldd-xx.c (find_maps): Likewise.
14683         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14684         <alloca.h>.
14685         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14686         scratch_buffer instead of extend_alloca.
14687         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14688         grp/compat-initgroups.c.
14689         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14690         Rewrite to use struct scratch_buffer instead of extend_alloca.
14691         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14692         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14694 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14696         * math/auto-libm-test-in: Add more tests of cbrt.
14697         * math/auto-libm-test-out: Regenerated.
14698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14700         * math/auto-libm-test-in: Add more tests of cabs.
14701         * math/auto-libm-test-out: Regenerated.
14702         * sysdeps/i386/fpu/libm-test-ulps: Update.
14703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14705         [BZ #18210]
14706         [BZ #18211]
14707         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14708         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14709         computations.
14710         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14711         clog10.
14712         * math/auto-libm-test-out: Regenerated.
14713         * sysdeps/i386/fpu/libm-test-ulps: Update.
14714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14716         [BZ #18197]
14717         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14718         (atan): Set FE_TONEAREST mode for internal computations.
14719         * math/auto-libm-test-in: Add more tests of atan.
14720         * math/auto-libm-test-out: Regenerated.
14722 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14724         [BZ #17930]
14725         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14727 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14729         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14731 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14733         * include/scratch_buffer.h: New file.
14734         * malloc/scratch_buffer_grow.c: Likewise.
14735         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14736         * malloc/scratch_buffer_set_array_size.c: Likewise.
14737         * malloc/tst-scratch_buffer.c: Likewise.
14738         * malloc/Makefile (routines): Add scratch_buffer_grow.
14739         (tests): Add test case.
14740         * malloc/Versions (GLIBC_PRIVATE): Export
14741         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14742         __libc_scratch_buffer_set_array_size.
14744 2015-04-06  Richard Henderson  <rth@redhat.com>
14746         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14747         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14749         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14750         unsigned int before printing.
14752 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14754         [BZ #17596]
14755         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14756         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14758 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14760         * include/libc-internal.h (libc_max_align_t): Define.
14762 2015-04-02  Andreas Schwab  <schwab@suse.de>
14764         [BZ #16850]
14765         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14767 2015-04-02  Mel Gorman  <mgorman@suse.de>
14769         [BZ #17195]
14770         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14771         as well as the main arena.
14773 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14775         [BZ #18185]
14776         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14777         sharing L2 cache to 2 for Silvermont/Knights Landing.
14779 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14781         [BZ #17711]
14782         * config.make.in (have-protected-data): New.
14783         * configure.ac: Check linker support for protected data symbol.
14784         * configure: Regenerated.
14785         * elf/Makefile (modules-names): Add tst-protected1moda and
14786         tst-protected1modb if $(have-protected-data) is yes.
14787         (tests): Add tst-protected1a and tst-protected1b if
14788         $(have-protected-data) is yes.
14789         ($(objpfx)tst-protected1a): New.
14790         ($(objpfx)tst-protected1b): Likewise.
14791         (tst-protected1modb.so-no-z-defs): Likewise.
14792         * elf/tst-protected1a.c: New file.
14793         * elf/tst-protected1b.c: Likewise.
14794         * elf/tst-protected1mod.h: Likewise.
14795         * elf/tst-protected1moda.c: Likewise.
14796         * elf/tst-protected1modb.c: Likewise.
14798 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14800         [BZ #17711]
14801         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14802         indicates it is called from do_lookup_x on relocation against
14803         protected data, skip the data definion in the executable from
14804         copy reloc.
14805         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14806         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14807         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14808         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14809         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14810         otherwise to 0.
14811         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14812         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14813         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14814         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14815         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14816         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14818 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14820         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14821         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14823 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14825         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14826         THREAD_SETMEM_NC.
14827         * sysdeps/x86_64/nptl/tls.h: Ditto.
14829 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14831         * dlfcn/tststatic.c (main): Converted to ...
14832         (do_test): ... this.
14833         (TEST_FUNCTION): New macro.
14834         Include test-skeleton.c.
14836 2015-03-26  Alan Modra  <amodra@gmail.com>
14838         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14839         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14840         zero for undefined weak.
14841         (elf_machine_plt_conflict): Similarly.
14843 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14845         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14846         atanh.
14847         * math/auto-libm-test-out: Regenerated.
14848         * sysdeps/i386/fpu/libm-test-ulps: Update.
14849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14851         * math/auto-libm-test-in: Add another test of asin.
14852         * math/auto-libm-test-out: Regenerated.
14853         * sysdeps/i386/fpu/libm-test-ulps: Update.
14854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14856         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14857         Remove macro.
14858         (LLL_EBX_REG): Likewise.
14859         (LLL_ENTER_KERNEL): Likewise.
14861         * math/auto-libm-test-in: Add more tests of asin.
14862         * math/auto-libm-test-out: Regenerated.
14863         * sysdeps/i386/fpu/libm-test-ulps: Update.
14864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866         [BZ #18138]
14867         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14868         libc_do_syscall_args): New structure.
14869         (INTERNAL_SYSCALL_MAIN_0): New macro.
14870         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14871         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14872         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14873         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14874         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14875         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14876         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14877         Replace conditional definitions by conditional definitions of ....
14878         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14879         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14880         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14881         (libpthread-sysdep_routines): Add libc-do-syscall.
14882         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14883         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14884         to __NR_futex not 240.
14886 2015-03-25  Alan Modra  <amodra@gmail.com>
14888         * NEWS: Advertise TLS optimization.
14889         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14890         (DT_PPC_NUM): Increment.
14891         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14892         (CHECK_STATIC_TLS): Use here.
14893         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14894         TLS descriptors.
14895         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14896         * sysdeps/powerpc/dl-tls.c: New file.
14897         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14898         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14899         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14900         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14905 2015-03-25  Alan Modra  <amodra@gmail.com>
14907         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14908         for overlapping .opd entries" to "support...".
14909         * sysdeps/powerpc/powerpc64/configure: Regenerate
14911 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14913         * math/auto-libm-test-in: Add more tests of acos.
14914         * math/auto-libm-test-out: Regenerated.
14915         * sysdeps/i386/fpu/libm-test-ulps: Update.
14916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14918         * math/auto-libm-test-in: Add more tests of expm1.
14919         * math/auto-libm-test-out: Regenerated.
14920         * sysdeps/i386/fpu/libm-test-ulps: Update.
14921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14923 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14925         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14926         * math/auto-libm-test-out: Regenerated.
14927         * sysdeps/i386/fpu/libm-test-ulps: Update.
14928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14930         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14933         * math/auto-libm-test-in: Add more tests of log2.
14934         * math/auto-libm-test-out: Regenerated.
14935         * sysdeps/i386/fpu/libm-test-ulps: Update.
14936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14938 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14940         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14941         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14942         _IO_IS_APPENDING bit in READ_WRITE instead.
14944 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14946         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14947         (__determine_cpumask_size): Replace extend_alloca with a
14948         variable-length array.  Do not treat res == 0 as an error.
14950 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14952         [BZ #18100]
14953         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14954         and integer overflow.
14955         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14956         (main): Add integer overflow tests.
14957         * manual/pattern.texi (Calling Wordexp): Document additional use
14958         for WRDE_SYNTAX.
14960 2015-03-23  Alan Modra  <amodra@gmail.com>
14962         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14963         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14964         and false branch of conditional.
14965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14966         Likewise.
14968 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14970         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14971         libc-modules.h
14972         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14973         unused declaration of _hurd_intr_rpc_msg_in_trap.
14974         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14975         defined instead of whether it is non-zero.
14976         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14977         input constraint instead of both input and output constraint.  Use ecx
14978         clobber instead of %ecx.
14979         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14980         mutex_unlock): Use a statement expression instead of an expression list.
14981         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14982         type to vm_size_t instead of vm_address_t.
14983         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14984         defined instead of whether it is non-zero.
14985         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14986         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14987         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14988         comparisons with mapaddr.
14989         * nscd/nscd-client.h: Include <time.h>.
14990         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14991         9th parameter to __vm_region instead of int.
14992         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14993         * scripts/check-local-headers.sh (exclude): Add device/,
14994         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14995         cthreads.h.
14997 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14999         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15000         to account for alignment padding.
15001         * sysdeps/arm/memmove.S: Likewise.
15003 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15005         * sysdeps/unix/sysv/linux/generic/README: New file.
15007 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15009         [BZ #18138]
15010         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15011         (futex_abstimed_wait)
15012         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15013         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15014         of lll_futex_timed_wait.
15016 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15018         [BZ #17542]
15019         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15021 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15023         [BZ #17090]
15024         [BZ #17620]
15025         [BZ #17621]
15026         [BZ #17628]
15027         * NEWS: Update.
15028         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15029         entries with Static TLS too.  Skip entries past the end of the
15030         allocated DTV, from Alan Modra.
15031         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15032         Static TLS DTV entry set up from...
15033         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15034         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15035         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15036         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15037         for Static TLS.
15038         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15039         that the slot we find is associated with the given map before
15040         using its generation count.
15041         * nptl_db/db_info.c: Include ldsodefs.h.
15042         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15043         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15044         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15045         (link_map::l_tls_offset): New struct field.
15046         (dtv_t::counter): Likewise.
15047         (rtld_global): New struct.
15048         (_rtld_global): New rtld variable.
15049         (dl_tls_dtv_slotinfo_list): New rtld global field.
15050         (dtv_slotinfo_list): New struct.
15051         (dtv_slotinfo): Likewise.
15052         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15053         (td_lookup): Rename to...
15054         (td_mod_lookup): ... this.  Use new mod parameter instead of
15055         LIBPTHREAD_SO.
15056         * nptl_db/td_thr_tlsbase.c: Include link.h.
15057         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15058         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15059         addresses even if the DTV is out of date or missing them.
15060         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15061         index zero-length arrays.
15062         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15063         (td_lookup): Make it a macro implemented in terms of...
15064         (td_mod_lookup): ... this declaration.
15065         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15066         (DB_MAIN_VARIABLE): Likewise.
15068 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15070         [BZ #18134]
15071         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15073 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15075         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15077 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15079         [BZ #18128]
15080         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15081         (atomic_add, atomic_increment_and_test)
15082         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15084 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15086         * stdlib/setenv.c (__add_to_environ):
15087         Dump core quickly if setenv (..., NULL, ...) is called.
15089 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15091         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15092         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15093         all the necessary asm magic in one place.
15094         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15095         using those.
15097 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15099         [BZ #14906]
15100         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15101         traced file mtime. Use consistent log message.
15102         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15103         (register_traced_file): Call install_watches. Always set mtime.
15104         (invalidate_cache): Iterate over all trace files. Call install_watches.
15105         (inotify_check_files): Don't inline. Handle watching parent
15106         directories and configuration file movement in and out.
15107         (handle_inotify_events): New function.
15108         (main_loop_poll): Call handle_inotify_events.
15109         (main_loop_epoll): Likewise.
15110         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15111         (struct traced_file): Use array of inotify fds. Add parent directory,
15112         and basename.
15113         (struct database_dyn): Remove unused file_mtime.
15114         (init_traced_file): New inline function.
15115         (define_traced_file): New macro.
15116         * nss/nss_db/db-init.c: Use define_traced_file.
15117         (_nss_db_init): Use init_traced_file.
15118         * nss/nss_files/files-init.c: Use define_traced_file.
15119         (_nss_files_init): Use init_traced_file.
15121 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15123         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15124         [_LIBC]: Do not include <stdlib.h>.
15125         [!_LIBC] (abort): Remove declaration.
15126         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15127         _FP_STATIC_ASSERT instead of conditionally calling abort.
15128         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15129         (_FP_EXTEND_CNAN): Likewise.
15130         (FP_TRUNC): Likewise.
15131         (__FP_CLZ): Likewise.
15132         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15134 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15136         * manual/string.texi (XPG basename): Fix prototype.
15138 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15140         [BZ #18080]
15141         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15142         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15143         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15144         (__setcontext): Likewise.
15145         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15146         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15147         Call rt_sigprocmask syscall one time to set new signal mask
15148         and retrieve the current signal mask instead of two calls.
15149         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15150         (__swapcontext): Likewise.
15151         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15152         * stdlib/tst-setcontext2.c: New file.
15154 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15156         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15158 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15160         [BZ #18093]
15161         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15162         the wrong size.
15164 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15166         [BZ #18043]
15167         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15169 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15171         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15172         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15173         Remove define.
15174         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15175         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15176         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15177         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15178         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15179         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15180         define.
15181         * nptl_db/td_symbol_list.c (td_lookup): Remove
15182         HAVE_ASM_GLOBAL_DOT_NAME code.
15183         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15184         HAVE_ASM_GLOBAL_DOT_NAME check.
15185         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15186         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15187         (DOT_LABEL): Remove define.
15188         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15189         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15190         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15191         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15192         (__TLS_GET_ADDR): Likewise.
15193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15194         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15196 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15198         [BZ #18111]
15199         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15200         (_FPU_SETCW): Initialize cw from fpsr before storing.
15201         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15202         (fesetexceptflag): Rewrite using fpu_control.h.
15203         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15205 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15207         [BZ #18110]
15208         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15209         asms.
15210         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15212 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15214         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15215         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15216         abort.
15217         (_FP_FMA): Likewise.
15218         (_FP_DIV): Likewise.
15220 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15222         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15223         with 0 in that case.
15224         * Makefile (summarize-tests): New canned sequence, factored out of
15225         commands for targets tests and xtests.  Display summary lines that
15226         don't start with PASS: or XFAIL: rather than ones that do start with
15227         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15228         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15229         do start with ERROR: or FAIL:.
15230         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15231         (except for [$(build-shared) = yes]).
15232         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15233         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15234         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15235         * nptl/Makefile: Revert 2015-03-04 changes.
15236         [$(CXX) empty] (tests-unsupported): New variable.
15237         * debug/Makefile: Likewise.
15239         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15240         gnulib file.  Replace __attribute with __attribute__ throughout.
15242 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15244         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15246 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15248         [BZ #18104]
15249         * math/auto-libm-test-in: Add another test of pow.
15250         * math/auto-libm-test-out: Regenerated.
15252 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15254         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15255         $(config-cflags-nofma).
15257 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15259         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15260         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15261         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15262         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15263         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15264         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15265         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15266         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15267         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15268         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15269         Add comment on closing #endif.
15271 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15273         * posix/wordexp.c (CHAR_IN_SET): New macro.
15274         (parse_param): Use it.
15276 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15278         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15280 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15282         [BZ #18043]
15283         * posix/wordexp.c (parse_param): Fix buffer overflow.
15284         * posix/wordexp-test.c (test_case): Add test case.
15286 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15288         [BZ #18042]
15289         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15290         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15292 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15294         [BZ #18043]
15295         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15296         (do_bz18043): Delete.
15297         (at_page_end): New.
15298         (testit): Refactor to have words at the edge of unreadable page.
15300 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15302         [BZ #16734]
15303         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15304         Cleanup read-only streams as well.
15305         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15307 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15309         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15310         <bits/libc-lockP.h>
15312 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15314         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15315         on [__KERNEL__].
15316         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15317         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15318         * soft-fp/op-common.h (_FP_DECL): Likewise.
15320 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15322         * elf/ifuncdep2.c (global): Replace
15323         __attribute__((visibility("protected"))) with
15324         asm (".protected global").
15325         * elf/ifuncmod1.c (global): Likewise.
15326         * elf/ifuncmod5.c (global): Likewise.
15328 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15330         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15331         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15333 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15335         * manual/install.texi (Configuring and compiling):
15336         Document test-wrapper-env-only.
15337         * INSTALL: Regenerated.
15339 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15341         [BZ #18043]
15342         * posix/wordexp.c (parse_param): Fix buffer overflow.
15343         * posix/wordexp-test.c (do_bz18043): Add test case.
15345 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15347         * time/tst-strptime2.c (do_test): Ensure failing tests are
15348         reported correctly.
15349         * time/tst-strptime3.c (do_test): Likewise.
15351 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15353         Fix aio_error thread-safety.
15354         * sysdeps/pthread/aio_error.c: New file
15355         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15356         synchronization.
15358 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15360         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15361         (group_number, vfprintf): Use it.
15362         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15363         (JUMP, REF): Use it.
15364         (WORK_BUFFER_SIZE): New enum constant.
15365         (process_arg, vfprintf): Use it.
15367 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15369         * manual/errno.texi (Error Messages): Complete example function
15370         by adding missing #define.
15371         (program_invocation_name): Add statement indicating GNU
15372         extension and reference which header file declares the variable.
15373         (program_invocation_short_name): Likewise.
15375 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15377         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15378         compatibility note.
15380 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15382         * Makeconfig (test-wrapper-env-only): New variable.
15383         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15384         then use that with $(test-wrapper-env-only) rather than using
15385         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15387 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15389         [BZ #18082]
15390         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15391         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15392         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15393         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15394         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15395         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15396         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15397         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15398         Likewise.
15399         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15400         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15401         Likewise.
15402         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15403         Likewise.
15404         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15405         Likewise.
15406         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15407         Likewise.
15408         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15409         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15410         Likewise.
15411         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15412         Likewise.
15413         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15414         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15416 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15418         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15419         (ETH_ALEN): New macro.
15420         (struct ether_addr): Use it for length of ether_addr_octet.
15422         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15423         (setdb): Don't call __nss_configure_lookup for "rpc".
15424         (do_test): Don't call test_rpc.
15425         (output_rpcent, test_rpc): Functions moved ...
15426         * sunrpc/test-rpcent.c: ... to this new file.
15427         * sunrpc/Makefile (tests): Add it.
15429         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15430         __xpg_sigpause.
15431         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15432         * nptl/tst-signal6.c: Likewise.
15433         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15434         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15436         * configure.ac (libc_cv_cxx_link_ok): New check.
15437         Reset CXX to empty if it fails to link.
15438         * configure: Regenerated.
15439         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15440         bug-atexit3-lib only if $(CXX) is nonempty.
15441         * nptl/Makefile (tests): Likewise for tst-cancel24.
15442         (tests, tests-static): Likewise for tst-cancel24-static.
15443         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15444         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15445         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15446         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15448 2015-03-04  Andreas Schwab  <schwab@suse.de>
15450         [BZ #17631]
15451         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15452         for non-GCC compilers.
15453         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15454         Likewise.
15456 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15458         [BZ #17776]
15459         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15460         integer before bitwise and assembly operations.
15461         (feclearexcept): Likewise.
15462         * math/test-fenvinline.c: New file.
15463         * math/Makefile: Add test-fenvinline test.
15465 2015-03-03  Alan Modra  <amodra@gmail.com>
15467         [BZ #16512]
15468         * scripts/localplt.awk: Strip off symbol version.
15469         * NEWS: Mention bug fix.
15471 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15473         * sysdeps/pthread/timer_routines.c
15474         (timer_free_list, thread_free_list, thread_active_list): Make static.
15476 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15478         [BZ #17779]
15479         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15480         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15481         Undefine.
15482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15483         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15484         Likewise.
15485         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15486         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15487         Likewise.
15489 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15491         [BZ #18036]
15492         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15493         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15495 2015-03-02  Andreas Schwab  <schwab@suse.de>
15497         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15498         variable name.
15500 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15502         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15503         Return error status.
15505 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15507         [BZ #15969]
15508         * locale/findlocale.c (_nl_find_locale): Introduce const
15509         version of loc_name and drop unsafe type casts.
15511 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15513         * dlfcn/tststatic2.c (main): Converted to ...
15514         (do_test): ... this.
15515         (TEST_FUNCTION): New macro.
15516         Include test-skeleton.c.
15518 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15520         [BZ #17711]
15521         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15522         (tests-pie): Add vismain.
15523         (CFLAGS-vismain.c): New.
15524         * elf/vismain.c: Add comments for PIE requirement.
15526 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15528         [BZ #18046]
15529         [BZ #18047]
15530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15531         0x1p-56L as threshold for just returning the argument.
15532         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15533         0x1p-32L as threshold for just returning the argument.
15534         * math/auto-libm-test-in: Add more tests of atanh.
15535         * math/auto-libm-test-out: Regenerated.
15536         * sysdeps/i386/fpu/libm-test-ulps: Update.
15537         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15539 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15541         * string/bcopy.c (bcopy): Call memmove for performance.
15543 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15545         * string/bzero.c (__bzero): Call memset for performance.
15547 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15549         [BZ #18068]
15550         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15551         to 00100000.
15553 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15555         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15557 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15559         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15560         (__kernel_standard): Use CSTR macro when setting exc.name.
15561         * sysdeps/ieee754/Makefile [$(subdir) = math]
15562         (CFLAGS-k_standard.c): Remove variable.
15564         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15565         setting p and q from "else if" to "else".
15566         (qzero): Likewise.
15567         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15568         (qone): Likewise.
15569         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15570         (qzerof): Likewise.
15571         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15572         (qonef): Likewise.
15573         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15574         (qzero): Likewise.
15575         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15576         (qone): Likewise.
15578         [BZ #18038]
15579         [BZ #18039]
15580         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15581         return pi/2 for arguments below 0x1p-113L.
15582         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15583         return pi/2 for arguments below 0x1p-106L.
15584         * math/auto-libm-test-in: Add more tests of acos.
15585         * math/auto-libm-test-out: Regenerated.
15587         [BZ #16351]
15588         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15589         (MO): New macro.
15590         (__ieee754_asin): Force underflow exception for results with small
15591         absolute value.
15592         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15593         (MO): New macro.
15594         (__ieee754_asinf): Force underflow exception for results with
15595         small absolute value.
15596         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15597         (__ieee754_asin): Force underflow exception for results with small
15598         absolute value.
15599         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15600         (__ieee754_asinf): Force underflow exception for results with
15601         small absolute value.
15602         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15603         (__ieee754_asinl): Force underflow exception for results with
15604         small absolute value.
15605         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15606         (__ieee754_asinl): Force underflow exception for results with
15607         small absolute value.
15608         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15609         (__ieee754_asinl): Force underflow exception for results with
15610         small absolute value.
15611         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15612         Include <math.h>.
15613         * math/auto-libm-test-in: Do not mark underflow exceptions as
15614         possibly missing for bug 16351.
15615         * math/auto-libm-test-out: Regenerated.
15617         [BZ #18030]
15618         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15619         of power of 2 down when low part has opposite sign.
15620         * math/libm-test.inc (logb_test_data): Add more tests.
15622 2015-02-26  Andreas Schwab  <schwab@suse.de>
15624         [BZ #18032]
15625         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15626         over collating symbol inside a bracket expression.  Minor cleanup.
15627         * posix/tst-fnmatch3.c (do_test): Add test case.
15629 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15631         [BZ #18029]
15632         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15633         Adjust exponent of power of 2 down when low part has opposite
15634         sign.
15635         * math/libm-test.inc (ilogb_test_data): Add more tests.
15637 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15639         [BZ #15969]
15640         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15641         the previous change.
15643         [BZ #15969]
15644         * locale/findlocale.c (_nl_find_locale): Retry archive search
15645         after alias expansion.
15647 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15649         * iconv/tst-iconv3.c (main): Converted to ...
15650         (do_test): ... this.
15651         (TEST_FUNCTION): New macro.
15652         Include test-skeleton.c.
15654         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15655         (convert): Make function static.
15656         (test_unalign): Likewise.  Add const to argument pointee types.
15657         (main): Replace with static function do_test.
15658         Print "Succeeded." only if RET is zero.
15659         (TEST_FUNCTION): New macro.
15660         Include test-skeleton.c.
15662         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15663         returns a null pointer.
15665 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15667         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15668         to __memcpy_ppc only for static builds.
15670 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15672         [BZ #18020]
15673         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15674         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15675         * math/auto-libm-test-in: Add more tests of asinh.
15676         * math/auto-libm-test-out: Regenerated.
15677         * sysdeps/i386/fpu/libm-test-ulps: Update.
15678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15680 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15682         [BZ #15850]
15683         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15684         and ip6_mtuinfo definitions here.
15685         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15686         in this define too.  Update comment.
15688 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15690         * elf/sprof.c (load_shobj): Tweak error message to match others.
15692 2015-02-24  Kevin Easton  <kevin@guarana.org>
15694         [BZ #16145] (partial fix)
15695         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15696         to reduce lock contention.
15698 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15700         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15701         (struct timex): Update time comment.
15702         (ADJ_SETOFFSET): Define.
15704 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15706         [BZ #18019]
15707         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15708         2**56 not 2**28 as threshold for log (2x) formula.
15709         * math/auto-libm-test-in: Add more tests of acosh.
15710         * math/auto-libm-test-out: Regenerated.
15711         * sysdeps/i386/fpu/libm-test-ulps: Update.
15712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15714 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15716         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15717         parenthesis around the buf assignment.
15718         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15720 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15722         [BZ #16783]
15723         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15724         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15725         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15726         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15727         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15728         * math/libm-test.inc (scalb_test_data): Add more tests.
15730 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15732         [BZ #17916]
15733         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15734         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15736 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15738         [BZ #17523]
15739         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15740         * io/bits/fcntl2.h (open): Use it.
15741         (openat): Likewise.
15742         * io/open.c (__libc_open): Likewise.
15743         * io/open64.c (__libc_open64): Likewise.
15744         * io/open64_2.c (__open64_2): Likewise.
15745         * io/open_2.c (__open_2): Likewise.
15746         * io/openat.c (__openat): Likewise.
15747         * io/openat64.c (__openat64): Likewise.
15748         * io/openat64_2.c (__openat64_2): Likewise.
15749         * io/openat_2.c (__openat_2): Likewise.
15750         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15751         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15752         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15753         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15754         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15755         (__open_nocancel): Likewise.
15756         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15757         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15758         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15760 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15762         [BZ #14841]
15763         * resolv/gethnamaddr.c (getanswer): Skip logging if
15764         RES_USE_DNSSEC is set.
15765         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15767 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15769         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15771 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15773         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15774         201304L, for Unicode 7.
15776 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15778         [BZ #17836]
15779         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15780         shared library.  Add gmon-start.os otherwise.
15781         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15782         $(objpfx)gmon-start.os if builing shared library.
15783         ($(objpfx)g$(static-start-installed-name)): Likewise.
15785 2015-02-23  Andreas Schwab  <schwab@suse.de>
15787         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15789 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15791         [BZ #17269]
15792         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15793         (enlarge_userbuf): Likewise.
15795 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15797         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15798         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15799         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15800         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15802 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15804         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15805         expression inside statement expression.
15807 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15809         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15810         <sysdeps/nptl/lowlevellock.h> and remove macros and
15811         functions that are now defined there.
15812         (SYS_futex): Remove.
15813         (lll_compare_and_swap): Remove.
15814         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15816 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15818         [BZ #17999]
15819         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15820         instead of scandirat.
15821         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15822         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15823         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15824         __scandirat.
15825         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15826         (__scandirat): Declare.  Use libc_hidden_proto.
15827         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15828         Remove variable.
15829         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15831 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15833         [BZ #15319]
15834         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15835         (MO): New macro.
15836         (__ieee754_atan2): For results with small absolute value, force
15837         underflow exception and remove excess range and precision from
15838         return value.
15839         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15840         (MO): New macro.
15841         (__ieee754_atan2f): For results with small absolute value, force
15842         underflow exception and remove excess range and precision from
15843         return value.
15844         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15845         (MO): New macro.
15846         (__atan): For results with small absolute value, force underflow
15847         exception and remove excess range and precision from return value.
15848         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15849         (MO): New macro.
15850         (__atanf): For results with small absolute value, force underflow
15851         exception and remove excess range and precision from return value.
15852         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15853         <math.h>.
15854         (__ieee754_atan2): Force underflow exception for results with
15855         small absolute value.
15856         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15857         <math_private.h>.
15858         (atan): Force underflow exception for results with small absolute
15859         value.
15860         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15861         (__atanf): Force underflow exception for results with small
15862         absolute value.
15863         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15864         <math.h>.
15865         (__atanl): Force underflow exception for results with small
15866         absolute value.
15867         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15868         (__atanl): Force underflow exception for results with small
15869         absolute value.
15870         * sysdeps/x86/fpu/bits/mathinline.h
15871         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15872         (__ieee754_atan2): Only define inline for long double.
15873         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15874         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15875         * math/auto-libm-test-in: Do not mark underflow exceptions as
15876         possibly missing for bug 15319.  Add more tests of atan2.
15877         * math/auto-libm-test-out: Regenerated.
15878         * math/libm-test.inc (casin_test_data): Do not mark underflow
15879         exceptions as possibly missing for bug 15319.
15880         (casinh_test_data): Likewise.
15881         * sysdeps/i386/fpu/libm-test-ulps: Update.
15883 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15885         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15886         * sysdeps/mips/bits/endian.h: Fix comments.
15888 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #17996]
15891         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15892         (hdestroy_r): Likewise.
15893         (hsearch_r): Likewise.
15894         (__hcreate_r): Declare and use libc_hidden_proto.
15895         (__hdestroy_r): Likewise.
15896         (__hsearch_r): Likewise.
15897         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15898         (hcreate): Call __hcreate_r instead of hcreate_r.
15899         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15900         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15901         as weak alias of __hcreate_r.
15902         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15903         __hdestroy_r.
15904         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15905         __hsearch_r.
15906         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15907         Remove variable.
15908         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15909         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15910         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15911         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15913 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15915         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15916         arena_lock into a single arena_get.
15918 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15920         * dl-reloc.c: Inlucde libc-internal.h.
15921         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15922         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15923         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15924         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15925         (grow_heap): Likewise.
15926         * malloc/malloc.c: Include libc-internal.h.
15927         (do_check_malloc): Call powerof2.
15928         (sysmalloc): Use pagesize. Call ALIGN_UP.
15929         (systrim): Use pagesize.
15930         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15931         (__libc_valloc): Use pagesize.
15932         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15934 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15936         [BZ #17991]
15937         * include/sys/resource.h (__getrlimit64): Declare.  Use
15938         libc_hidden_proto.
15939         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15940         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15941         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15942         getrlimit64.
15943         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15944         __getrlimit64.
15945         [!getrlimit64] (getrlimit64): Define as weak alias of
15946         __getrlimit64.  Use libc_hidden_weak.
15947         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15948         using __getrlimit64 not __new_getrlimit64.
15949         (__GI_getrlimit64): Likewise.
15950         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15951         Likewise.
15952         (__GI_getrlimit64): Likewise.
15953         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15955         (getrlimit): Add __getrlimit64 alias.
15956         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15957         Likewise.
15958         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15959         Remove variable.
15960         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15961         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15963 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15965         * libio/fileops.c: Add missing sys/mman.h
15966         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15968 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15970         * manual/math.texi (Errors in Math Functions): Clarify goals
15971         regarding inexact and underflow exceptions.
15973 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15975         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15976         * sysdeps/mips/memset.S: Ditto.
15978 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15980         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15982 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15984         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15985         (__v1longjmp): Remove versioned symbol.
15986         (__v1siglongjmp): Remove alias and versioned symbol.
15987         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15988         (__v2siglongjmp): Likewise.
15990 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15992         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15994 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15996         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15998 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16000         [BZ #17987]
16001         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16002         zero result does not depend on the sign resulting from
16003         subtraction.
16004         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16005         Likewise.
16006         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16007         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16009         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16010         * math/libm-test.inc (remquo_test_data): Add more tests.
16012 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16014         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16015         Problem reported by J William Piggott.
16017 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16019         [BZ #17978]
16020         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16021         products 4 * y and 2 * y where those would overflow.
16022         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16023         Likewise.
16024         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16025         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16026         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16027         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16028         * math/libm-test.inc (remquo_test_data): Add more tests.
16030         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16032         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16033         [defined _COMPILING_NEWLIB].
16034         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16035         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16037         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16038         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16040 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16042         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16043         acquired.
16045 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16047         [BZ #17792]
16048         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16049         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16050         HOST_STACK_END_ADDR): Likewise.
16052 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16054         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16055         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16056         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16058 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16060         * sysdeps/generic/c++-types.data: New file.
16061         * sysdeps/generic/ld.abilist: New file.
16062         * sysdeps/generic/libBrokenLocale.abilist: New file.
16063         * sysdeps/generic/libanl.abilist: New file.
16064         * sysdeps/generic/libc.abilist: New file.
16065         * sysdeps/generic/libcrypt.abilist: New file.
16066         * sysdeps/generic/libdl.abilist: New file.
16067         * sysdeps/generic/libm.abilist: New file.
16068         * sysdeps/generic/libpthread.abilist: New file.
16069         * sysdeps/generic/libresolv.abilist: New file.
16070         * sysdeps/generic/librt.abilist: New file.
16072 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16074         [BZ #17569]
16075         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16076         Compute absolute value of x as modified by fmod, not original
16077         value of x.
16078         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16079         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16080         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16081         RUN_TEST_ffI_f1_mod8.
16082         (remquo_test_data): Add more tests.
16084 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16086         * sysdeps/init_array/pt-crti.S: New file.
16088 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16090         [BZ #17967]
16091         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16092         __builtin_fmaf instead of relying on contraction of a * b + c.
16094 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16096         [BZ #17969]
16097         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16098         node.
16100 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16102         [BZ #17964]
16103         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16104         __builtin_fma instead of relying on contraction of a * b + c.
16106 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16108         * Makeconfig (ASFLAGS): Add -Werror=undef.
16109         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16110         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16111         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16113         * Makeconfig (after-link): New variable.
16114         (+link-pie, +link-pie-tests): Use it.
16115         (+link-static, +link-static-tests): Likewise.
16116         (+link, +link-tests): Likewise.
16117         * Makerules (build-module, build-module-asneeded): Likewise.
16118         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16119         Likewise.
16120         * elf/Makefile ($(objpfx)ld.so): Likewise.
16122 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16124         [BZ #17965]
16125         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16126         both struct timeval and struct timespec.
16128 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16130         [BZ #16560]
16131         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16132         and redefine.
16133         (__ieee754_exp2l): Do not multiply small fractional parts by
16134         M_LN2l.
16135         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16136         small argument.
16137         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16138         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16139         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16140         * math/auto-libm-test-in: Add more tests of exp2.
16141         * math/auto-libm-test-out: Regenerated.
16143 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16145         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16146         unaligned path.
16148 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16150         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16151         little endian.
16153 2015-02-12  Andreas Schwab  <schwab@suse.de>
16155         [BZ #15790]
16156         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16157         Filter out elision flags from value returned in kind.
16158         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16159         * nptl/tst-pthread-mutexattr.c: New file.
16161 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16163         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16164         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16165         into gnu-gnu, and update comment to refer to abi-tags.
16167 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16169         [BZ #15467]
16170         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16171         (__sincos): Set errno to EDOM for infinite argument.
16172         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16173         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16174         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16175         (__sincosl): Set errno to EDOM for infinite argument.
16176         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16177         (__sincosl): Set errno to EDOM for infinite argument.
16178         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16179         (__sincosl): Set errno to EDOM for infinite argument.
16180         * math/libm-test.inc (sincos_test_data): Test errno setting.
16182 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16184         * string/strxfrm_l.c: Remove #define STRCMP.
16185         * string/strcoll_l.c: Remove #define STRLEN.
16186         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16187         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16189 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16191         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16192         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16193         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16194         * sysdeps/mips/mips64/Makefile: ... here.
16195         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16196         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16197         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16198         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16199         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16200         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16201         * sysdeps/mips/mips64/n64/Implies: Likewise.
16203 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16205         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16206         <sys/time.h>, <string.h>, and <errno.h>.
16207         (dest_offset, dest_address, value, zero): Remove unused variables.
16208         (ldouble): Remove typedef.
16209         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16210         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16211         1).  Fix code style.
16212         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16213         (check): Function removed.
16214         (CHECK): New macro.
16215         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16216         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16217         Don't call set_sigaction_FP and remove_sigaction_FP here.
16218         (ldouble_test): Just use 'long double' as macro argument, no need for
16219         the 'ldouble' typedef.
16220         (do_test): Set up SIGFPE handler at start, using plain signal rather
16221         than sigaction.  Fix code style.
16223 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16225         [BZ #17949]
16226         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16227         jump label.
16229 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16231         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16232         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16234         * sysdeps/powerpc/configure.ac: Remove file.
16235         * sysdeps/powerpc/configure: Likewise.
16237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16238         [sysdep_routines]: Remove wordcopy-power6 object.
16239         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16240         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16241         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16242         (__memmove_ppc32): Likewise.
16243         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16244         file.
16245         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16246         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16247         Remove preprocessor.
16249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16250         [sysdep_routines]: Remove wide chars objects.
16251         [wcsmbs]: New rule for wide char objects.
16253         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16254         Remove wordcopy-power6 obejct.
16255         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16256         Use local call for wordcopy and memcpy symbols.
16257         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16258         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16259         implementation for loader.
16260         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16262         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16263         Remove wordcopy-power7 object.
16264         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16266         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16267         (_wordcopy_fwd_dest_aligned): Likewise.
16268         (_wordcopy_bwd_aligned): Likewise.
16269         (_wordcopy_bwd_dest_aligned): Likewise.
16271         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16272         Rewrite to call __memmove_ppc instead of include default
16273         implementation.
16275         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16276         Remove wide chars objects.
16277         [wcsmbs]: New rule for wide char objects.
16279 2015-02-09  Andreas Schwab  <schwab@suse.de>
16281         [BZ #17912]
16282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16283         in terms of __O_DIRECTORY.
16285 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16287         * time/getdate.c: Include <stdbool.h>.
16288         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16289         call PTR_MANGLE.
16290         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16291         PTR_DEMANGLE.
16293 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16295         Add ersatz _Static_assert on older C hosts
16296         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16297         pre-C11 C platform that is not known to support _Static_assert.
16299 2015-02-07  Richard Braun  <rbraun@sceen.net>
16301         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16302         sigstate.
16303         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16305 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16307         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16308         priority against unexistent AIO_PRIO_DELTA_MAX.
16309         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16310         instead of int.
16311         * misc/fchflags.c (fchflags): Likewise.
16312         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16313         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16314         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16315         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16316         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16317         Declare macros.
16318         [__USE_MISC] (chflags, fchflags): Declare functions.
16319         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16320         EINVAL when nfds is greater than FD_SETSIZE.
16321         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16322         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16323         45.
16324         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16325         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16326         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16327         MACH_RCV_TIMED_OUT.
16328         * hurd/hurd/signal.h (_hurd_self_sigstate,
16329         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16330         Explicit casts from void *.
16331         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16332         * abi-tags: Rename gnu-gnu os into gnu.
16334         [BZ #4719]
16335         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16336         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16337         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16338         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16339         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16340         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16342         [BZ #17944]
16343         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16344         duplicates ADDR->sun_path with sockaddr LEN limitation.
16345         * sysdeps/mach/hurd/connect.c: Include <string.h>
16346         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16347         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16348         * sysdeps/mach/hurd/sendto.c: Likewise.
16349         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16350         implementing it by hand.
16352 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16354         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16355         Use sfi_breg on ldr.
16356         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16357         Likewise.
16359         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16360         it's defined.
16361         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16362         Test SIGSETXID only if it's defined.
16364         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16366         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16367         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16369         * nptl/tst-align2.c: Moved ...
16370         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16371         * nptl/Makefile (tests): Remove tst-align2.
16372         * sysdeps/unix/sysv/linux/Makefile
16373         [$(subdir) = nptl] (tests): Add tst-align-clone.
16374         * nptl/tst-getpid1.c: Moved ...
16375         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16376         * nptl/tst-getpid2.c: Moved ...
16377         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16378         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16379         * sysdeps/unix/sysv/linux/Makefile
16380         [$(subdir) = nptl] (tests): ... here.
16381         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16382         * sysdeps/unix/sysv/linux/Makefile
16383         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16385         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16386         Drop trailing \n from perror argument.  Use return rather than exit.
16388         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16389         on [SA_SIGINFO].
16390         * nptl/tst-cancel21.c (do_test): Likewise.
16391         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16392         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16393         [!SA_SIGINFO]: Make it a stub test.
16395         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16396         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16398         * posix/tst-getlogin.c: Move to ...
16399         * login/tst-getlogin.c: ... here.
16400         * posix/Makefile (tests): Move tst-getlogin to ...
16401         * login/Makefile (tests): ... here.
16403         * libio/tst-atime.c (do_test): Move local variables SV and E
16404         inside [ST_NOATIME] conditional.
16406         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16408         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16410         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16411         (wait_code): New function replaces macro.
16412         Call nanosleep rather than syscall.
16414         * nptl/pt-system.c: Rewritten.  Put everything under
16415         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16416         Use IFUNC to redirect when possible.
16418         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16419         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16420         Use IFUNC to redirect when possible.
16422         * nptl/pt-fork.c: Rewritten.  Put everything under
16423         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16424         Use IFUNC to redirect when possible.
16425         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16428         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16429         unconditionally nowadays.  This included the only reference to
16430         __vdso_clock_gettime that appears outside libc proper.
16431         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16432         Remove version set (containing only __vdso_clock_gettime).
16433         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16434         Add attribute_hidden.
16435         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16436         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16437         libc_hidden_data_def.
16438         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16439         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16441         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16442         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16443         setrpcent, and getrpcport to ...
16444         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16445         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16446         getrpcbynumber_r, and getrpcent_r to ...
16447         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16448         * inet/getrpcbyname.c: Moved ...
16449         * sunrpc/getrpcbyname.c: ... here.
16450         * inet/getrpcbyname_r.c: Moved ...
16451         * sunrpc/getrpcbyname_r.c: ... here.
16452         * inet/getrpcbynumber.c: Moved ...
16453         * sunrpc/getrpcbynumber.c: ... here.
16454         * inet/getrpcbynumber_r.c: Moved ...
16455         * sunrpc/getrpcbynumber_r.c: ... here.
16456         * inet/getrpcent.c: Moved ...
16457         * sunrpc/getrpcent.c: ... here.
16458         * inet/getrpcent_r.c: Moved ...
16459         * sunrpc/getrpcent_r.c: ... here.
16460         * inet/Makefile (routines): Move those to ...
16461         * sunrpc/Makefile (routines): ... here.
16462         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16463         the $(subdirs) list.
16464         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16465         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16466         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16467         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16469         * elf/Makefile (routines): Include $(all-dl-routines), not just
16470         $(dl-routines).
16471         (rtld-routines): Likewise.  Use = rather than :=.
16472         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16473         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16474         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16475         * sysdeps/arm/Makefile: Likewise.
16476         * sysdeps/i386/Makefile: Likewise.
16477         * sysdeps/x86_64/Makefile: Likewise.
16478         * sysdeps/hppa/Makefile [$(subdir) = elf]
16479         (sysdep_routines, sysdep-rtld-routines): Don't add
16480         $(sysdep-dl-routines) to these.
16481         * sysdeps/ia64/Makefile: Likewise.
16482         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16483         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16484         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16485         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16486         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16487         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16488         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16489         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16490         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16491         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16492         these; sysdep-dl-routines alone is enough.
16494 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16496         [BZ #17932]
16497         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16498         where multiplication results in zero and third argument is finite
16499         and nonzero.
16500         * math/auto-libm-test-in: Add more tests of fma.
16501         * math/auto-libm-test-out: Regenerated.
16503         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16504         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16505         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16506         (_FP_CMP_EQ): Likewise.
16507         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16509         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16510         extra argument CHECK_NAN.  Redefine as wrapper around
16511         _FP_EXTEND_CNAN.
16513 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16515         * version.h (RELEASE): Set to "stable".
16516         (VERSION): Set to "2.21"
16517         * include/features.h (__GLIBC_MINOR__): Set to 21.
16519         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16521 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16522             Paul Eggert  <eggert@cs.ucla.edu>
16524         [BZ #16618]
16525         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16526         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16527         size in bytes. Store needed elements in wpmax. Use needed size
16528         in bytes for extend_alloca.
16530 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16532         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16533         binutls 2.25, and texinfo 5.2.
16534         * INSTALL: Regenerate.
16535         * sysdeps/nios2/configure: Regenerate.
16536         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16537         * manual/contrib.texi: Update.
16538         * po/be.po: Update.
16539         * po/bg.po: Update.
16540         * po/ca.po: Update.
16541         * po/cs.po: Update.
16542         * po/da.po: Update.
16543         * po/de.po: Update.
16544         * po/el.po: Update.
16545         * po/eo.po: Update.
16546         * po/es.po: Update.
16547         * po/fi.po: Update.
16548         * po/fr.po: Update.
16549         * po/gl.po: Update.
16550         * po/hr.po: Update.
16551         * po/hu.po: Update.
16552         * po/ia.po: Update.
16553         * po/id.po: Update.
16554         * po/it.po: Update.
16555         * po/ja.po: Update.
16556         * po/ko.po: Update.
16557         * po/lt.po: Update.
16558         * po/nb.po: Update.
16559         * po/nl.po: Update.
16560         * po/pl.po: Update.
16561         * po/pt_BR.po: Update.
16562         * po/ru.po: Update.
16563         * po/rw.po: Update.
16564         * po/sk.po: Update.
16565         * po/sl.po: Update.
16566         * po/sv.po: Update.
16567         * po/tr.po: Update.
16568         * po/uk.po: Update.
16569         * po/vi.po: Update.
16570         * po/zh_CN.po: Update.
16571         * po/zh_TW.po: Update.
16573         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16574         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16575         * sysdeps/hppa/dl-irel.h: Remove #warning.
16576         * sysdeps/hppa/entry.h: Provide prototype for
16577         __canonicalize_funcptr_for_compare and cast argument.
16578         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16579         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16580         * sysdeps/hppa/sotruss-lib.c: New file.
16581         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16582         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16583         (atomic_compare_and_exchange_bool_acq): Likewise.
16584         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16585         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16587         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16588         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16589         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16591 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16593         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16594         called function in non-PIC case.
16596 2015-01-31  David S. Miller  <davem@davemloft.net>
16598         * sysdeps/sparc/sparc32/bits/atomic.h
16599         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16600         unlock not after it.
16601         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16602         volatile register usage warnings from the compiler.
16604         * sysdeps/sparc/nptl/sem_init.c: Delete.
16605         * sysdeps/sparc/nptl/sem_post.c: Delete.
16606         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16607         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16608         * sysdeps/sparc/sparc32/sem_init.c: New file.
16609         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16610         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16611         padding explicitly initialized.
16612         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16613         padding for in-semaphore spinlock.
16614         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16615         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16616         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16617         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16618         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16619         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16620         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16621         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16622         version.
16623         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16624         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16626 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16628         [BZ #17801]
16629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16630         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16631         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16632         New.
16633         (index_AVX_Fast_Unaligned_Load): Likewise.
16634         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16635         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16636         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16637         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16638         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16639         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16640         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16641         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16642         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16644 2015-01-29  Andreas Schwab  <schwab@suse.de>
16646         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16648 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16650         [BZ #17892]
16651         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16653 2015-01-28  Martin Sebor  <msebor@redhat.com>
16655         * math/README.libm-test: Clarify. Add "How to read the test output."
16657 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16659         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16660         Define to 0.
16662 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16664         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16665         (__HAVE_64B_ATOMICS): Define to 0.
16667 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16669         [BZ #17885]
16670         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16671         value to set as new flag.
16673         [BZ #16576]
16674         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16675         and use _ARCH_PPCSQ instead.
16676         (__ieee754_sqrt): Likewise.
16677         (__ieee754_sqrtf): Likewise.
16678         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16679         _ARCH_PPCSQ is defined.
16680         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16681         fsqrt instruction.
16682         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16683         _ARCH_PPCSQ is defined.
16684         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16685         fsqrts instruction.
16686         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16688 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16690         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16691         bug (GCC BZ #64739).
16693 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16695         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16696         Mark _retval as used.
16697         (lll_futex_wake_unlock): Likewise.
16698         (lll_futex_timed_wait_requeue_pi): Likewise.
16700         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16701         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16702         register variables.
16704         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16705         libm_hidden_def.
16707         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16708         (__bswap_64): Mark as __always_inline.
16710 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16712         [BZ #15378]
16713         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16714         when none of the search directories exist.
16716 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16718         [BZ #17869]
16719         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16720         power8 in .machine directive.
16722         [BZ #17868]
16723         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16724         set dependency from opd value.
16726 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16728         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16729         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16730         architecture.
16732 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16734         [BZ #17870]
16735         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16736         with uint64_t.
16737         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16738         (uint64_t) 1.
16739         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16740         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16741         Replace 1UL with (uint64_t) 1.
16742         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16743         int with uint64_t.
16745 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16747         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16748         (if_freenameindex): Likewise.
16750         * resource/getrlimit64.c: Add missing libc_hidden_def.
16752 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16754         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16755         __label__.
16756         (_FP_FMA): Likewise.
16757         (_FP_TO_INT_ROUND): Likewise.
16758         (_FP_FROM_INT): Likewise.
16760 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16762         [BZ #16418]
16763         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16764         Make code racy and cancel safe.
16766 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16768         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16769         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16770         attribution.
16772         * pwd/tst-getpw.c: Rewrite.
16774         [BZ #17702]
16775         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16776         (modules-names): Add moddummy1 and moddummy2.
16777         ($(objpfx)tst-rec-dlopen): Define.
16778         * dlfcn/moddummy1.c: New file.
16779         * dlfcn/moddummy2.c: New file.
16780         * dlfcn/tst-rec-dlopen.c: New file.
16781         * elf/dl-cache.c (_dl_load_cache_lookup):
16782         Return char*. Copy result with alloca/strcpy/strdup.
16783         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16784         returns char*. Free cached. If not saving realname
16785         free cached.
16786         * elf/dl-open.c (dl_open_worker): Do not assert that
16787         _r_debug->r_state is RT_CONSISTENT.
16788         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16789         returns char*.
16791 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16792             Carlos O'Donell  <carlos@redhat.com>
16794         [BZ #12674]
16795         * nptl/sem_waitcommon.c: New file.
16796         * nptl/sem_wait.c: Include sem_waitcommon.c.
16797         (__sem_wait_cleanup, do_futex_wait): Remove.
16798         (__new_sem_wait): Adapt.
16799         (__new_sem_trywait): New function.
16800         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16801         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16802         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16803         (sem_timedwait): Adapt.
16804         * nptl/sem_post.c (__new_sem_post): Adapt.
16805         (futex_wake): New function.
16806         (__old_sem_post): Add release MO fence.
16807         * nptl/sem_open.c (sem_open): Adapt.
16808         * nptl/sem_init.c (__new_sem_init): Adapt.
16809         (futex_private_if_supported): New function.
16810         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16811         (__old_sem_getvalue): Add using previous code.
16812         * sysdeps/nptl/internaltypes.h: Adapt.
16813         * nptl/tst-sem13.c (do_test): Adapt.
16814         * nptl/tst-sem11.c (main): Adapt.
16815         * nptl/sem_trywait.c: Remove.
16816         * nptl/DESIGN-sem.txt: Remove.
16817         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16818         (gen-as-const-headers): Remove structsem.sym.
16819         * nptl/structsem.sym: Remove.
16820         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16821         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16822         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16823         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16824         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16825         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16826         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16827         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16828         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16829         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16830         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16831         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16832         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16833         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16834         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16835         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16836         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16837         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16838         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16839         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16840         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16841         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16843 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16845         * INSTALL: Regenerated.
16847         * po/libc.pot: Regenerated.
16849 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16850             Sandra Loosemore  <sandra@codesourcery.com>
16851             Andrew Jenner  <andrew@codesourcery.com>
16852             Joseph Myers  <joseph@codesourcery.com>
16853             Nathan Sidwell  <nathan@codesourcery.com>
16855         * NEWS: Mention new Nios II port.
16856         * sysdeps/nios2/Implies: New file.
16857         * sysdeps/nios2/Makefile: New file.
16858         * sysdeps/nios2/Subdirs: New file.
16859         * sysdeps/nios2/Versions: New file.
16860         * sysdeps/nios2/__longjmp.S: New file.
16861         * sysdeps/nios2/abort-instr.h: New file.
16862         * sysdeps/nios2/backtrace.c: New file.
16863         * sysdeps/nios2/bits/endian.h: New file.
16864         * sysdeps/nios2/bits/fenv.h: New file.
16865         * sysdeps/nios2/bits/link.h: New file.
16866         * sysdeps/nios2/bits/setjmp.h: New file.
16867         * sysdeps/nios2/bsd-_setjmp.S: New file.
16868         * sysdeps/nios2/bsd-setjmp.S: New file.
16869         * sysdeps/nios2/configure: New generated file.
16870         * sysdeps/nios2/configure.ac: New file.
16871         * sysdeps/nios2/crti.S: New file.
16872         * sysdeps/nios2/crtn.S: New file.
16873         * sysdeps/nios2/dl-init.c: New file.
16874         * sysdeps/nios2/dl-machine.h: New file.
16875         * sysdeps/nios2/dl-sysdep.h: New file.
16876         * sysdeps/nios2/dl-tls.h: New file.
16877         * sysdeps/nios2/dl-trampoline.S: New file.
16878         * sysdeps/nios2/gccframe.h: New file.
16879         * sysdeps/nios2/gmp-mparam.h: New file.
16880         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16881         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16882         * sysdeps/nios2/ldsodefs.h: New file.
16883         * sysdeps/nios2/libc-tls.c: New file.
16884         * sysdeps/nios2/libm-test-ulps: New file.
16885         * sysdeps/nios2/machine-gmon.h: New file.
16886         * sysdeps/nios2/math-tests.h: New file.
16887         * sysdeps/nios2/math_private.h: New file.
16888         * sysdeps/nios2/memusage.h: New file.
16889         * sysdeps/nios2/nptl/Makefile: New file.
16890         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16891         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16892         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16893         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16894         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16895         * sysdeps/nios2/nptl/tls.h: New file.
16896         * sysdeps/nios2/preconfigure: New file.
16897         * sysdeps/nios2/s_fma.c: New file.
16898         * sysdeps/nios2/s_fmaf.c: New file.
16899         * sysdeps/nios2/setjmp.S: New file.
16900         * sysdeps/nios2/sfp-machine.h: New file.
16901         * sysdeps/nios2/sotruss-lib.c: New file.
16902         * sysdeps/nios2/stackguard-macros.h: New file.
16903         * sysdeps/nios2/stackinfo.h: New file.
16904         * sysdeps/nios2/start.S: New file.
16905         * sysdeps/nios2/sysdep.h: New file.
16906         * sysdeps/nios2/tls-macros.h: New file.
16907         * sysdeps/nios2/tst-audit.h: New file.
16908         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16909         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16910         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16911         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16912         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16913         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16914         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16915         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16916         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16917         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16918         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16919         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16920         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16921         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16922         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16923         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16924         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16925         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16926         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16927         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16928         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16929         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16930         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16931         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16932         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16933         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16934         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16935         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16936         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16937         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16938         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16939         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16940         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16941         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16942         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16943         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16944         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16945         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16946         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16947         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16948         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16949         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16950         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16951         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16953 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16955         [BZ #17844]
16956         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16957         (getutent): Use weak_alias in non SHARED case
16958         and default_symbol_version in SHARED case.
16959         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16960         (getutent_r, pututline): Likewise.
16961         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16962         (getutid): Likewise.
16963         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16964         (getutid_r): Likewise.
16965         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16966         (getutline): Likewise.
16967         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16968         (getutline_r): Likewise.
16969         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16970         (updwtmp): Likewise.
16972 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16974         [BZ #17848]
16975         * sysdeps/s390/s390-32/memcmp.S
16976         (memcmp_g5): Rename to __memcmp_g5.
16977         * sysdeps/s390/s390-32/memcpy.S
16978         (memcpy_g5): Rename to __memcpy_g5.
16979         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16980         (memcpy_mvcle) Rename to __memcpy_mvcle.
16981         * sysdeps/s390/s390-32/memset.S
16982         (memset_g5): Rename to __memset_g5.
16983         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16984         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16985         and use prefixed functions.
16986         * sysdeps/s390/s390-32/multiarch/memcmp.S
16987         (memcmp_z196): Rename to __memcmp_z196.
16988         (memcmp_z10): Rename to __memcmp_z10.
16989         (memcmp): Set alias to __memcmp_g5.
16990         (bcmp): Set alias to __memcmp_g5.
16991         * sysdeps/s390/s390-32/multiarch/memcpy.S
16992         (memcpy_z196): Rename to __memcpy_z196.
16993         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16994         (memcpy_z10): Rename to __memcpy_z10.
16995         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16996         (memcpy): Set alias to __memcpy_g5.
16997         * sysdeps/s390/s390-32/multiarch/memset.S
16998         (memset_z196): Rename to __memset_z196.
16999         Jump to __memset_mvcle instead of memset_mvcle.
17000         (memset_z10): Rename to __memset_z10.
17001         Jump to __memset_mvcle instead of memset_mvcle.
17002         (memset_mvcle) Rename to __memset_mvcle.
17003         (memset): Set alias to __memset_g5.
17004         * sysdeps/s390/s390-64/memcmp.S
17005         (memcmp_z900): Rename to __memcmp_z900.
17006         * sysdeps/s390/s390-64/memcpy.S
17007         (memcpy_z900): Rename to __memcpy_z900.
17008         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17009         (memcpy_mvcle) Rename to __memcpy_mvcle.
17010         * sysdeps/s390/s390-64/memset.S
17011         (memset_z900): Rename to __memset_z900.
17012         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17013         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17014         and use prefixed functions.
17015         * sysdeps/s390/s390-64/multiarch/memcmp.S
17016         (memcmp_z196): Rename to __memcmp_z196.
17017         (memcmp_z10): Rename to __memcmp_z10.
17018         (memcmp): Set alias to __memcmp_z900.
17019         (bcmp): Set alias to __memcmp_z900.
17020         * sysdeps/s390/s390-64/multiarch/memcpy.S
17021         (memcpy_z196): Rename to __memcpy_z196.
17022         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17023         (memcpy_z10): Rename to __memcpy_z10.
17024         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17025         (memcpy): Set alias to __memcpy_z900.
17026         * sysdeps/s390/s390-64/multiarch/memset.S
17027         (memset_z196): Rename to __memset_z196.
17028         Jump to __memset_mvcle instead of memset_mvcle.
17029         (memset_z10): Rename to __memset_z10.
17030         Jump to __memset_mvcle instead of memset_mvcle.
17031         (memset_mvcle) Rename to __memset_mvcle.
17032         (memset): Set alias to __memset_z900.
17034 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17036         [BZ #17748]
17037         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17038         __fesetenv instead of fesetenv.
17040 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17042         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17043         macro.
17045 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17047         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17048         regression on LE.
17050         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17051         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17052         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17053         strncmp-power8 object.
17054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17055         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17056         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17057         * NEWS: Update.
17059 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17060             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17062         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17063         trailing byte check.
17065 2015-01-13  David S. Miller  <davem@davemloft.net>
17067         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17069 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17071         * login/logout.c (logout): Use memset rather than bzero.
17072         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17073         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17074         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17075         (_gethtbyaddr): Likewise.
17076         * locale/programs/simple-hash.c (bcopy): Macro removed.
17078 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17080         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17081         Add strcmp-power8 object.
17082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17083         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17084         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17085         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17086         __strcmp_power8 implementation.
17087         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17088         * NEWS: Update.
17090         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17091         Add strncpy-power8 and stpncpy-power8 objects.
17092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17093         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17094         implementations.
17095         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17096         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17097         __stpncpy_power8 implementation.
17098         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17099         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17100         __strncpy_power8 implementation.
17101         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17102         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17103         * NEWS: Update.
17105         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17106         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17107         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17109         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17110         strncat-power8 object.
17111         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17112         __strcat_power8 implementation.
17113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17114         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17115         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17116         optimized strcat for power8.
17118         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17119         strcpy-power8 and stpcpy-power8 objects.
17120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17121         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17122         implementations.
17123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17124         multiarch stpcpy implementation for POWER8.
17125         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17126         multiarch strcpy implementation for POWER8.
17127         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17128         __strcpy_power8 function.
17129         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17130         stpcpy for POWER8.
17131         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17132         strcpy for POWER8.
17133         * NEWS: Update.
17135 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17137         [BZ #16009]
17138         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17139         weights and rules. Use do_xfrm_cached if data fits in cache,
17140         do_xfrm otherwise.  Moved former main loop to...
17141         * (do_xfrm_cached): New function.
17142         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17143         find_idx, find_position and stack_push.
17144         * (find_idx): New function.
17145         * (find_position): Likewise.
17146         * localedata/sort-test.sh: Added test run for do_xfrm.
17147         * localedata/xfrm-test.c (main): Added command line option
17148         -nocache to run the test with strings that are too large for
17149         the STRXFRM cache.
17151 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17153         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17154         variable to lll_futex_wake call, not the value itself.
17156 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17158         [BZ #17803]
17159         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17160         twom64.  Adjust value to 0x1p-64L.
17161         (__scalblnl): Only return standard underflowing result for K <=
17162         -64 not K <= -63; adjust exponent for underflowing result by 64
17163         not 63.
17164         * math/libm-test.inc (scalbn_test_data): Add more tests.
17165         (scalbln_test_data): Likewise.
17167         [BZ #17834]
17168         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17169         0x1p63L.
17170         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17171         not HX.
17172         * math/libm-test.inc (scalbn_test_data): Add more tests.
17173         (scalbln_test_data): Likewise.
17175 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17176             Stefani Seibold  <stefani@seibold.net>
17178         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17179         (sysdep_routines): Add dl-vdso here, ...
17180         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17181         (sysdep_routines): ... not here.
17182         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17183         fallback when vDSO is not presented.
17184         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17185         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17186         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17187         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17188         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17189         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17190         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17191         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17192         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17193         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17194         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17195         fallback configurable symbol when vDSO is not available.
17196         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17197         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17198         be able to redefine fallback symbol when vDSO is not available.
17199         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17200         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17202 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17204         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17205         (TLS_INIT_TP): Add tm_capable initialization.
17206         (TLS_DEFINE_INIT_TP): Likewise.
17207         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17208         TCB.
17209         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17210         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17211         calculation.
17212         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17213         transactoion is lock elision is built and TCB tm_capable is set.
17214         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17216         (INTERNAL_SYSCALL_NCS): Likewise.
17217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17218         (INTERNAL_SYSCALL_NCS): Likewise.
17219         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17221         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17222         for powerpc.
17223         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17224         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17225         and remove it for 32 bits case.
17226         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17228         initialization.
17229         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17230         Disable lock elision with rdlocks if elision is not available.
17232         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17233         (sysdep_routines): Add lock elision objects.
17234         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17235         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17236         [pthread_mutex_t] (__elision): Add field.
17237         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17238         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17239         elision definitions for powerpc.
17240         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17241         implementation of lock elision for powerpc.
17242         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17243         implementation of timed lock elision for powerpc.
17244         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17245         implementation of trylock with lock elision for powerpc.
17246         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17247         implementaion of unlock for lock elision for powerpc.
17248         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17249         automatic enable lock elision for mutexes.
17250         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17251         transaction execution definitions for powerpc.
17252         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17253         definitions.
17254         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17255         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17256         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17257         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17258         * NEWS: Update.
17260 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17262         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17263         for #include of <shm-directory.h>.
17265 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17267         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17268         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17270 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17272         [BZ #17791]
17273         * NEWS: Mention bug fix.
17274         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17275         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17276         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17278 2015-01-09  Torvald Riegel <triegel@redhat.com>
17280         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17282 2015-01-09  Torvald Riegel <triegel@redhat.com>
17284         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17286 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17288         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17289         pointer and cast to uintptr_t.
17291 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17293         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17294         removed.
17295         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17297 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17299         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17300         of 0.
17302 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17304         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17305         <nptl/pthreadP.h> instead.
17306         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17308         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17309         already defined.
17310         [__SIGRTMIN] (init): Function removed.
17311         [__SIGRTMIN] (initialized): Variable removed.
17312         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17313         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17314         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17315         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17316         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17317         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17318         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17319         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17320         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17321         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17322         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17323         * sysdeps/nptl/allocrtsig.c: New file.
17324         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17325         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17326         * sysdeps/generic/testrtsig.h: File removed.
17328         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17329         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17331         * nptl/nptl-init.c (pthread_functions): Conditionalize
17332         .ptr__nptl_setxid initialization on [SIGSETXID].
17334         * sysdeps/nptl/sys/procfs.h: New file.
17335         * nptl_db/Makefile (headers): Add it.
17336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17338         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17339         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17340         * nptl/pthread_attr_setaffinity.c: Include it.
17341         * nptl/pthread_setattr_default_np.c: Likewise.
17342         * nptl/check-cpuset.h: New file.
17344 2015-01-08  Richard Henderson  <rth@redhat.com>
17346         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17347         (CFLAGS-tst-execstack-prog.c): Likewise.
17348         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17350 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17351             Sandra Loosemore  <sandra@codesourcery.com>
17352             Andrew Jenner  <andrew@codesourcery.com>
17353             Joseph Myers  <joseph@codesourcery.com>
17354             Nathan Sidwell  <nathan@codesourcery.com>
17356         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17357         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17358         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17359         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17360         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17361         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17362         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17363         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17364         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17365         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17366         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17367         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17368         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17369         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17370         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17371         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17372         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17374 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17376         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17377         timespec struct member in syscall macro.
17378         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17379         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17380         first timeval struct member in syscall macro.
17381         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17383 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17385         [BZ #17748]
17386         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17387         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17388         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17389         __feupdateenv and define as weak alias of __feupdateenv.  Use
17390         libm_hidden_weak.
17391         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17392         libm_hidden_def.
17393         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17394         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17395         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17396         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17397         libm_hidden_def.
17398         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17399         __feupdateenv and define as weak alias of __feupdateenv.  Use
17400         libm_hidden_weak.
17401         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17402         libm_hidden_def.
17403         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17404         __feupdateenv and define as weak alias of __feupdateenv.  Use
17405         libm_hidden_weak.
17406         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17407         libm_hidden_def.
17408         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17409         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17410         (__feupdateenv): Likewise.
17411         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17412         __feupdateenv and define as weak alias of __feupdateenv.  Use
17413         libm_hidden_weak.
17414         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17415         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17416         libm_hidden_def.
17417         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17418         function.
17419         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17420         libm_hidden_def.
17421         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17422         __feupdateenv instead of feupdateenv.
17423         (default_libc_feupdateenv_test): Likewise.
17424         (libc_feresetround_ctx): Likewise.
17426 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17428         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17429         prototype.
17431 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17433         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17434         COLL_SYM in a couple of places to avoid uninitialized variable
17435         wanings on tilegx gcc 4.8.2.
17437 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17439         * sysdeps/aarch64/strcpy.S: New file.
17440         * sysdeps/aarch64/stpcpy.S: New file.
17441         * NEWS: Updated.
17443 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17445         * sysdeps/aarch64/strrchr.S: New file.
17446         * NEWS: Updated.
17448 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17450         [BZ #17658]
17451         * stdlib/setenv.c: Fix memory leak when setting large,
17452         duplicate string.
17454 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17456         [BZ #17273]
17457         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17458         and tabs from buffer before parsing fstab entry.
17459         * misc/tst-mntent.c (main): Add test for mount entry with
17460         trailing spaces and tabs.
17462 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17464         [BZ #17748]
17465         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17466         * math/fesetround.c (fesetround): Rename to __fesetround and
17467         define as weak alias of __fesetround.  Use libm_hidden_weak.
17468         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17469         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17470         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17471         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17472         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17473         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17474         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17475         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17476         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17477         __fesetround_inline.
17478         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17479         __fesetround_inline instead of __fesetround.
17480         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17481         __fesetround and define as weak alias of __fesetround.  Use
17482         libm_hidden_weak.  Call __fesetround_inline instead of
17483         __fesetround.
17484         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17485         __fesetround and define as weak alias of __fesetround.  Use
17486         libm_hidden_weak.
17487         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17488         Likewise.
17489         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17490         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17491         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17492         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17493         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17494         __fesetround and define as weak alias of __fesetround.  Use
17495         libm_hidden_weak.
17496         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17497         __fesetround instead of fesetround.
17498         (default_libc_feholdexcept_setround): Likewise.
17499         (libc_feholdsetround_ctx): Likewise.
17500         (libc_feholdsetround_noex_ctx): Likewise.
17502         [BZ #17748]
17503         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17504         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17505         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17506         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17507         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17508         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17509         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17510         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17511         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17512         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17513         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17514         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17515         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17516         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17517         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17518         libm_hidden_def.
17519         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17520         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17521         Likewise.
17522         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17523         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17524         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17525         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17526         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17527         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17528         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17529         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17530         __fesetenv instead of fesetenv.
17531         (libc_feresetround_noex_ctx): Likewise.
17532         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17533         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17534         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17535         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17536         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17537         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17538         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17539         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17540         (__feupdateenv): Likewise.
17541         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17542         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17543         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17544         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17546 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17548         [BZ #17806]
17549         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17550         addresses have been freed.
17552 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17554         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17555         and nservall.
17557 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17559         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17560         Clean up check_pf allocation pattern. addresses
17562 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17564         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17565         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17566         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17567         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17568         * nptl/pthread_join.c (pthread_join): Likewise.
17569         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17570         * sysdeps/posix/waitid.c (__waitid): Likewise.
17571         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17572         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17573         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17574         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17576         Likewise.
17577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17578         (__libc_pread64): Likewise.
17579         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17580         (__libc_pwrite): Likewise.
17581         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17582         (__libc_pwrite64): Likewsie.
17583         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17584         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17585         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17586         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17587         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17588         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17589         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17591         Likewise.
17592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17593         (__libc_pread64): Likewise.
17594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17595         Likewise.
17596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17597         (__libc_pwrite64): Likewise.
17598         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17599         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17600         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17601         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17602         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17603         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17604         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17605         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17606         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17607         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17608         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17609         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17610         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17611         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17612         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17613         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17614         Likewise.
17616 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17618         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17619         (CFLAGS-test-double.c): Likewise.
17620         (CFLAGS-test-ldouble.c): Likewise.
17621         (CPPFLAGS-test-ifloat.c): Likewise.
17622         (CPPFLAGS-test-idouble.c): Likewise.
17623         (CPPFLAGS-test-ildoubl.c): Likewise.
17624         (CFLAGS-test-test-fenv.c): Remove variable.
17625         (CFLAGS-test-misc.c): Likewise.
17627 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17629         [BZ #17797]
17630         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17631         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17632         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17633         CLOCKS_PER_SEC == 1000000.
17634         * time/clocktest.c (main): Replace %ld with %jd and cast to
17635         intmax_t.
17637 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17639         * sysdeps/generic/unwind-resume.h: New file.
17640         * sysdeps/gnu/unwind-resume.c: Include it.
17641         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17642         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17643         argument list.
17644         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17645         global rather than static.
17646         (_Unwind_Resume): Update user.
17647         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17648         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17649         rather than static.  Add __attribute__ ((cold)).
17650         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17651         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17652         * sysdeps/arm/arm-unwind-resume.S: New file.
17653         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17654         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17655         * sysdeps/arm/Makefile [$(subdir) = csu]
17656         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17657         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17658         Add rt-arm-unwind-resume.
17659         [$(subdir) = nptl]
17660         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17661         Add pt-arm-unwind-resume.
17662         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17663         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17665 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17667         [BZ #17748]
17668         * include/fenv.h (__feholdexcept): Declare.  Use
17669         libm_hidden_proto.
17670         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17671         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17672         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17673         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17674         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17675         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17676         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17677         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17678         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17679         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17680         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17681         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17682         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17683         (feholdexcept): Likewise.
17684         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17685         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17686         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17687         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17688         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17689         __feholdexcept instead of feholdexcept.
17690         (default_libc_feholdexcept_setround): Likewise.
17692 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17694         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17695         to avoid using stl/str to align destination.
17697 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17699         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17701 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17703         [BZ #17796]
17704         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17705         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17706         Define as weak alias not strong alias.
17708 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17710         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17711         bltzal with addiupc.
17712         (RTLD_START): Ditto.
17714 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17716         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17717         for __vdso_* functions in declarations.
17718         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17719         definitions.
17720         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17721         INTERNAL_VSYSCALL): Use struct return types to check for error.
17723         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17724         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17725         function with cast from llround().
17726         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17727         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17728         Define.
17730 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17732         [BZ #17793]
17733         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17734         Define as weak alias not strong alias.
17736         [BZ #17635]
17737         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17738         ...
17739         * ctype/ctype-extn.c: ... here.
17740         (__isblank_l): Move to ...
17741         * ctype/ctype-c99_l.c: ... here.  New file.
17742         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17743         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17744         Remove variable.
17745         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17746         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17747         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17748         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17749         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17751         [BZ #17777]
17752         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17753         (posix_fadvise64): Define as weak alias not strong alias.
17754         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17755         (posix_fallocate64): Likewise.
17756         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17757         Remove variable.
17758         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17759         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17760         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17761         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17762         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17764 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17766         [BZ #16191]
17767         * NEWS: Mention bug fix.
17768         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17769         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17770         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17771         (HOST_STACK_END_ADDR): Likewise.
17773 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17775         [BZ #17748]
17776         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17777         * math/fegetround.c (fegetround): Rename to __fegetround and
17778         define as weak alias of __fegetround.  Use libm_hidden_weak.
17779         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17780         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17781         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17782         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17783         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17784         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17785         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17786         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17787         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17788         Undefine after rather than before function definition; use
17789         parentheses around function name in definition.
17790         (__fegetround): Also undefine macro after function definition.
17791         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17792         __fegetround and define as weak alias of __fegetround.  Use
17793         libm_hidden_weak.  Do not undefine as macro.
17794         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17795         Likewise.
17796         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17797         __fegetround and define as weak alias of __fegetround.  Use
17798         libm_hidden_weak.
17799         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17800         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17801         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17802         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17803         __fegetround and define as weak alias of __fegetround.  Use
17804         libm_hidden_weak.
17805         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17806         __fegetround instead of fegetround.
17808         [BZ #17782]
17809         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17810         Condition macro definition on [__USE_MISC].
17812         [BZ #17781]
17813         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17814         (struct sigaction): Change type of sa_flags field to int.
17816         [BZ #17780]
17817         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17818         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17819         __glibc_reserved0.
17821         * nptl/version.c (banner): Use single year in copyright notice.
17823         * NEWS: Update copyright dates.
17824         * catgets/gencat.c (print_version): Likewise.
17825         * csu/version.c (banner): Likewise.
17826         * debug/catchsegv.sh: Likewise.
17827         * debug/pcprofiledump.c (print_version): Likewise.
17828         * debug/xtrace.sh (do_version): Likewise.
17829         * elf/ldconfig.c (print_version): Likewise.
17830         * elf/ldd.bash.in: Likewise.
17831         * elf/pldd.c (print_version): Likewise.
17832         * elf/sotruss.sh: Likewise.
17833         * elf/sprof.c (print_version): Likewise.
17834         * iconv/iconv_prog.c (print_version): Likewise.
17835         * iconv/iconvconfig.c (print_version): Likewise.
17836         * locale/programs/locale.c (print_version): Likewise.
17837         * locale/programs/localedef.c (print_version): Likewise.
17838         * login/programs/pt_chown.c (print_version): Likewise.
17839         * malloc/memusage.sh (do_version): Likewise.
17840         * malloc/memusagestat.c (print_version): Likewise.
17841         * malloc/mtrace.pl: Likewise.
17842         * manual/libc.texinfo: Likewise.
17843         * nptl/version.c (banner): Likewise.
17844         * nscd/nscd.c (print_version): Likewise.
17845         * nss/getent.c (print_version): Likewise.
17846         * nss/makedb.c (print_version): Likewise.
17847         * posix/getconf.c (main): Likewise.
17848         * scripts/test-installation.pl: Likewise.
17849         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17851 2015-01-02  Will Newton  <will.newton@linaro.org>
17853         * sysdeps/arm/armv7/configure: Removed.
17854         * sysdeps/arm/armv7/configure.ac: Likewise.
17856 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17858         * All files with FSF copyright notices: Update copyright dates
17859         using scripts/update-copyrights.
17860         * intl/plural.c: Regenerated.
17861         * locale/programs/charmap-kw.h: Likewise.
17862         * locale/programs/locfile-kw.h: Likewise.
17864 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17866         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17868 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17870         [BZ #17748]
17871         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17872         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17873         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17874         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17875         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17876         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17877         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17878         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17879         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17880         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17881         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17882         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17883         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17884         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17885         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17886         libm_hidden_def.
17887         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17888         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17889         Likewise.
17890         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17891         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17892         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17893         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17894         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17895         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17896         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17897         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17898         __fegetenv instead of fegetenv.
17899         (libc_feholdsetround_noex_ctx): Likewise.
17901 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17903         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17904         (Elf_MIPS_ABIFlags_v0): New structure.
17905         (EF_MIPS_FP64): Define.
17906         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17907         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17908         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17909         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17910         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17911         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17912         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17913         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17914         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17915         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17916         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17917         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17918         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17919         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17920         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17921         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17922         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17923         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17924         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17925         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17926         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17927         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17928         field.
17929         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17930         EF_MIPS_FP64.
17931         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17932         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17933         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17934         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17935         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17936         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17937         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17938         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17939         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17940         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17941         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17942         record the current FP ABI extension.
17943         (mips-mode-switch): Define to show if kernel headers support mode
17944         switching.
17945         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17946         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17947         supported SYSV ABI version to 3.
17948         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17949         feature.
17951 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17952             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17954         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17955         path.
17956         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17958 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17960         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17961         __fegetround and redefine to call __fegetround.  Remove condition
17962         on [!__NO_MATH_INLINES].
17963         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17964         function.
17965         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17966         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17967         Remove macro.
17968         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17969         instead of <fenv_libc.h>.
17970         (__llrintl): Call fegetround instead of __fegetround.
17971         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17972         instead of <fenv_libc.h>.
17973         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17974         (__lrintl): Call fegetround instead of __fegetround.
17975         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17976         instead of <fenv_libc.h>.
17977         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17978         (__rintl): Call fegetround instead of __fegetround.
17980 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17982         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17983         arrays.
17985 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17987         [BZ #17775]
17988         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17989         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17990         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17992 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17994         * sysdeps/i386/tls-macros.h: Include <features.h>.
17995         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17996         (TLS_IE): Likewise.
17997         (TLS_LD): Likewise.
17998         (TLS_GD): Likewise.
17999         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18000         define for GCC >= 5.0.
18002 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18004         * math/test-fenv.c (test_single_exception, set_single_exc,
18005         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18006         feexcp_mask_test, feenable_test, fe_single_test): Add
18007         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18008         case where they are not used.
18009         * math/libm-test.inc: Likewise.
18010         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18011         unused in the absence of FP rounding/exception support.
18012         * stdio-common/tst-printf-round.c: Likewise.
18013         * stdlib/tst-strtod-round.c: Likewise.
18014         * stdlib/tst-strtod-underflow.c: Likewise.
18016 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18018         [BZ #17723]
18019         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18020         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18021         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18022         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18023         libm_hidden_weak.
18024         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18025         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18026         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18027         libm_hidden_def.
18028         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18029         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18030         libm_hidden_weak.
18031         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18032         Likewise.
18033         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18034         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18035         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18036         libm_hidden_weak.
18037         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18038         libm_hidden_def.
18039         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18040         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18041         (__feraiseexcept): Likewise.
18042         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18043         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18044         libm_hidden_weak.
18045         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18046         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18047         libm_hidden_def.
18048         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18049         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18050         Use libm_hidden_def.
18051         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18052         libm_hidden_def.
18053         (feraiseexcept): Define as weak not strong alias.  Use
18054         libm_hidden_weak.
18055         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18056         New inline function.  Factored out of ...
18057         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18058         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18059         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18060         feraiseexcept.
18061         * math/w_acos.c (__acos): Likewise.
18062         * math/w_asin.c (__asin): Likewise.
18063         * math/w_ilogb.c (__ilogb): Likewise.
18064         * math/w_j0.c (y0): Likewise.
18065         * math/w_j1.c (y1): Likewise.
18066         * math/w_jn.c (yn): Likewise.
18067         * math/w_log.c (__log): Likewise.
18068         * math/w_log10.c (__log10): Likewise.
18069         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18070         * sysdeps/aarch64/fpu/math_private.h
18071         (libc_feupdateenv_test_aarch64): Likewise.
18072         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18073         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18074         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18075         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18076         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18077         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18078         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18079         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18080         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18081         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18083 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18085         [BZ #17732]
18086         * io/test-utime.c (main): Replace %ld with %jd and cast to
18087         intmax_t.
18088         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18089         * nptl/tst-mutex5.c: Include <stdint.h>.
18090         (do_test): Replace %ld with %jd and cast to intmax_t.
18091         * posix/tst-regex.c (run_test): Likewise.
18092         (run_test_backwards): Likewise.
18093         * rt/tst-clock.c: Include <stdint.h>.
18094         (clock_test): Replace %ld with %jd and cast to intmax_t.
18095         * rt/tst-cpuclock1.c: Include <stdint.h>.
18096         (do_test): Replace %lu with %ju and cast to uintmax_t.
18097         * rt/tst-cpuclock2.c: Include <stdint.h>.
18098         (do_test): Replace %lu with %ju and cast to uintmax_t.
18099         * rt/tst-mqueue1.c: Include <stdint.h>.
18100         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18101         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18102         intmax_t.
18103         * rt/tst-mqueue4.c (do_test): Likewise.
18104         * rt/tst-timer4.c: Include <stdint.h>.
18105         (check_ts): Replace %ld with %jd and cast to intmax_t.
18106         (do_test): Likewise.
18107         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18108         and cast to intmax_t.
18109         * sysdeps/pthread/tst-timer.c (main): Likewise.
18110         * time/clocktest.c (main): Likewise.
18111         * time/tst-posixtz.c (do_test): Likewise.
18112         * timezone/tst-timezone.c (main): Likewise.
18114 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18115             H.J. Lu  <hongjiu.lu@intel.com>
18117         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18118         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18119         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18120         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18121         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18122         version if bit_Fast_Unaligned_Load is set.
18123         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18124         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18125         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18126         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18127         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18128         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18130         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18131         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18132         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18133         to 4.
18134         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18135         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18136         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18137         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18139 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18141         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18142         instead of #if to avoid a Wundef warning.
18143         * stdlib/tst-limits.c (do_test): Likewise.
18145         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18146         parallel other exception macros.
18147         (fegetenv): Convert from macro to extern inline so that it applies
18148         retroactively to inline functions already seen by the compiler.
18149         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18151         * posix/Makefile (before-compile): Use $(objpfx) for
18152         posix-conf-vars-def.h.
18154 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18156         * posix/getconf.c (main): Use size_t for type of I.
18157         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18158         NSPEC.
18160         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18161         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18162         * posix/posix-envs.def: Likewise.
18163         * sysdeps/posix/sysconf.c: Likewise.
18164         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18165         (specs): Remove array.
18166         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18167         array.
18169         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18170         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18171         (__sysconf): Use CONF_IS_* macros.
18173         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18174         ($(objpfx)posix-conf-vars-def.h): New target.
18175         * posix/posix-conf-vars.list: New file.
18176         * posix/posix-conf-vars.h: New file.
18177         * posix/confstr.c: Include posix-conf-vars.h.
18178         (confstr): Use CONF_IS_* macros.
18179         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18180         CONF_IS_* macros.
18181         * scripts/gen-posix-conf-vars.awk: New file.
18183 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18185         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18186         fegetround): Add no-op macros to avoid linknamespace issues.
18188         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18189         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18191         * sysdeps/unix/sysv/linux/tile/sysdep.h
18192         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18193         assembly-specific section to avoid a redefinition warning.
18195         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18196         long before casting to pointer to avoid a cast warning.
18198 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18200         * sysdeps/tile/tilegx/Implies: New file.
18202 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18204         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18206 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18208         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18210 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18212         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18213         not define.
18214         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18215         <kernel-features.h>.
18216         (__utimes) [__NR_utimes]: Make code unconditional.
18217         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18218         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18219         (__ASSUME_UTIMES): Do not undefine.
18220         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18221         (__ASSUME_UTIMES): Likewise.
18222         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18223         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18224         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18225         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18227 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18229         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18231 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18233         [BZ #17747]
18234         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18235         alias to weak alias for j0l, y0l.
18236         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18237         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18239         [BZ #17746]
18240         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18241         conversion.
18243 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18245         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18246         to zero if not already defined.
18248 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18250         [BZ #17724]
18251         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18252         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18253         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18254         (char *) casts added.
18255         * sysdeps/ieee754/k_standardf.c: New file.
18256         * sysdeps/ieee754/k_standardl.c: Likewise.
18257         * math/Makefile (libm-support): Remove k_standard.
18258         (libm-calls): Add k_standard.
18260 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18262         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18263         Optimize to avoid an unnecessary FPCR read.
18265 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18267         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18268         Optimize to reduce FPCR/FPSR accesses.
18270 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18272         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18273         Call libc_fetestexcept_aarch64.
18275 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18277         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18278         Call libc_fesetround_aarch64.
18280 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18282         [BZ #17733]
18283         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18284         (__bind): Do not define as weak alias.
18285         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18286         define.
18287         (__getsockname): Do not define as weak alias.
18289 2014-12-22  Will Newton  <will.newton@linaro.org>
18291         * manual/install.texi: Document that we require bison 2.7
18292         or above.
18293         * INSTALL: Regenerate.
18294         * configure.ac: Use AC_CHECK_PROG_VER instead of
18295         AC_PATH_PROG when checking for bison and check for
18296         version 2.7 or above.
18297         * configure: Regenerate.
18299 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18301         [BZ #17745]
18302         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18303         * sysdeps/tile/ffsll.c (ffsll): To here.
18305         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18307 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18309         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18310         if not defined.
18311         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18312         definition.
18313         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18314         hidden ___tls_get_addr.
18315         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18316         hidden __tls_get_addr.
18317         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18318         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18319         Likewise.
18321 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18323         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18324         _dl_init call.
18326 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18328         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18329         from "call _dl_init@PLT".
18330         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18332 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18334         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18335         guarantees.
18337 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18339         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18341 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18343         [BZ #17744]
18344         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18345         strnlen.
18347 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18349         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18350         of multu on MIPSr6.
18351         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18352         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18353         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18354         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18355         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18357 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18359         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18360         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18361         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18362         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18363         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18364         mips32r6/mips64r6.
18365         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18367 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18369         * string/strncat.c (STRNCAT): Simplify implementation.
18371 2014-12-19  David S. Miller  <davem@davemloft.net>
18373         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18374         access the quad as both a long double and as a series of 4 words.
18376         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18377         link_map->l_info array access.
18379 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18381         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18383         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18384         * math/atest-exp2.c (TIMEOUT): Likewise.
18385         * math/atest-sincos.c (TIMEOUT): Likewise.
18387 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18389         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18390         -Wno-error with -fno-builtin-lround.
18392 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18394         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18395         Contains futex constants and functions moved over from ...
18396         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18397         <lowlevellock-futex.h>.
18398         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18399         (lll_timedwait_tid): Add comments and parentheses around macro
18400         arguments.
18402 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18404         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18405         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18406         (__lll_private_flag): Remove.
18407         (lll_futex_wait): Likewise.
18408         (lll_futex_timed_wait): Likewise.
18409         (lll_futex_wake): Likewise.
18410         (lll_futex_requeue): Likewise.
18411         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18412         (__lll_timedwait_tid): Spell out argument names.
18413         (lll_timedwait_tid): Add comments and parentheses around macro
18414         arguments.
18415         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18416         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18418 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18420         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18421         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18422         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18423         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18424         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18425         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18426         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18427         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18428         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18429         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18430         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18431         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18432         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18433         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18434         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18435         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18436         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18437         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18438         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18440 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18442         * sysdeps/x86_64/x32/Makefile: New file.
18444 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18446         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18447         1L with (mp_limb_t) 1.
18449 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18451         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18452         * nptl/libc_pthread_init.c: ... here.
18453         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18454         * nptl/register-atfork.c: ... here.
18456         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18457         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18458         Use assert_perror to check its return value.
18459         (__gai_create_helper_thread): Likewise.
18461         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18463         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18465 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18467         [BZ #17725]
18468         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18469         __profil_counter.
18470         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18471         Likewise.
18472         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18473         Likewise.
18474         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18475         Likewise.
18476         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18477         (profil_counter): Likewise.
18478         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18479         (profil_counter): Likewise.
18480         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18481         Likewise.
18482         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18483         Likewise.
18484         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18485         (profil_counter): Likewise.
18486         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18487         Likewise.
18488         [!__profil_counter] (profil_counter): Define as weak alias of
18489         __profil_counter.
18490         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18491         (profil_counter): Rename to __profil_counter.
18492         [!__profil_counter] (profil_counter): Define as weak alias of
18493         __profil_counter.
18494         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18495         (profil_counter): Rename to __profil_counter.
18496         [!__profil_counter] (profil_counter): Define as weak alias of
18497         __profil_counter.
18498         * sysdeps/posix/profil.c: Update comment referring to
18499         profil_counter.
18500         (__profil): Use __profil_counter instead of profil_counter.
18501         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18502         __profil_counter.  Use __profil_counter_ushort and
18503         __profil_counter_uint in definitions.
18504         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18505         instead of profil_counter_uint and profil_counter_ushort.
18507         [BZ #17722]
18508         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18509         define as weak alias of __inet_makeaddr.
18510         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18511         as weak alias of __inet_addr.
18512         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18513         as weak alias of __inet_pton.  Use libc_hidden_weak.
18514         * include/arpa/inet.h (__inet_pton): Declare.  Use
18515         libc_hidden_proto.
18516         (inet_makeaddr): Don't use libc_hidden_proto.
18517         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18518         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18519         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18520         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18521         Remove variable.
18522         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18523         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18525 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18527         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18529 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18531         * stdio-common/bug-vfprintf-nargs.c (do_test):
18532         Cast value to intptr_t to avoid format warning
18533         for usage with PRIdPTR printing macro.
18535 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18537         * libio/tst-widetext.c (do_test):
18538         Use format type %td instead of %Zd for ptrdiff_t
18539         in order to avoid format warning.
18541 2014-12-17  Andreas Schwab  <schwab@suse.de>
18543         * nscd/mem.c (gc): Add size_t cast to match printf format.
18545 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18547         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18548         (init): Apply PTR_MANGLE to pointers before storing them.
18549         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18550         before using them.
18552 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18554         [BZ #17719]
18555         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18556         define as weak alias of __memrchr.
18557         (__memrchr): Do not define as strong alias of memrchr.
18558         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18559         Remove variable.
18560         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18561         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18562         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18564         [BZ #17717]
18565         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18566         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18567         (if_indextoname): Rename to __if_indextoname and define as weak
18568         alias of __if_indextoname.  Use libc_hidden_weak.
18569         (if_freenameindex): Rename to __if_freenameindex and define as
18570         weak alias of __if_freenameindex.
18571         (if_nameindex): Rename to __if_nameindex and define as weak alias
18572         of __if_nameindex.
18573         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18574         __if_nametoindex and define as weak alias of __if_nametoindex.
18575         Use libc_hidden_weak.
18576         (if_freenameindex): Rename to __if_freenameindex and define as
18577         weak alias of __if_freenameindex.
18578         (if_nameindex): Rename to __if_nameindex and define as weak alias
18579         of __if_nameindex.
18580         (if_indextoname): Rename to __if_indextoname and define as weak
18581         alias of __if_indextoname.  Use libc_hidden_weak.
18582         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18583         __if_nametoindex and define as weak alias of __if_nametoindex.
18584         Use libc_hidden_weak.
18585         (if_freenameindex): Rename to __if_freenameindex and define as
18586         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18587         (if_nameindex_netlink): Use __if_freenameindex instead of
18588         if_freenameindex.
18589         (if_nameindex): Rename to __if_nameindex and define as weak alias
18590         of __if_nameindex.  Use libc_hidden_weak.
18591         (if_indextoname): Rename to __if_indextoname and define as weak
18592         alias of __if_indextoname.  Use libc_hidden_weak.
18593         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18594         libc_hidden_proto.
18595         [!_ISOMAC] (__if_freenameindex): Likewise.
18596         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18597         if_nametoindex.
18598         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18599         variable.
18600         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18601         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18602         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18603         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18604         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18605         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18606         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18608         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18609         Remove variable.
18610         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18611         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18613 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18615         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18616         subscript above bounds'
18618         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18619         bounds.
18621 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18623         * libio/tst-fopenloc.c: Use test-skeleton.c.
18625         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18626         (entry): Rename to ITEM.
18627         (do_test, comp): Adjust.
18629         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18631 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18633         * string/tester.c: Include <libc-internal.h>.
18634         (test_memset): Ignore -Wmemset-transposed-args.
18636 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18638         * misc/tst-mntent2.c (do_test): Fix warning.
18640 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18642         * elf/tst-unique4lib.cc(a): Mark as used.
18644 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18646         [BZ #17630]
18647         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18648         names.
18650 2014-12-16  Allan McRae  <allan@archlinux.org>
18652         * stdio-common/Makefile (tests): Re-add bug26.
18654 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18656         [BZ #17657]
18657         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18658         static array.
18660 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18662         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18663         (__lll_lock_wait): Likewise.
18664         (__lll_timedlock_wait): Likewise.
18665         (__lll_timedwait_tid): Likewise.
18666         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18667         (__lll_robust_timedlock_wait): Likewise.
18668         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18669         (lll_cond_trylock): Likewise.
18670         (__lll_lock): Likewise.
18671         (__lll_robust_lock): Likewise.
18672         (__lll_cond_lock): Likewise.
18673         (lll_robust_cond_lock): Likewise.
18674         (__lll_timedlock): Likewise.
18675         (__lll_robust_timedlock): Likewise.
18676         (__lll_unlock): Likewise.
18677         (__lll_robust_unlock): Likewise.
18678         (lll_wait_tid): Likewise.
18679         (lll_timedwait_tid): Likewise.
18681 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18683         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18685 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18687         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18689 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18691         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18692         * stdio-common/tst-sprintf.c: Likewise.
18694 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18696         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18698 2014-12-15  Jeff Law  <law@redhat.com>
18700         [BZ #16617]
18701         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18702         on the heap.  (CVE-2012-3406)
18703         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18704         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18705         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18707 2014-12-15  Will Newton  <will.newton@linaro.org>
18709         * manual/install.texi: Bump required version of texinfo
18710         to 4.7 from 4.5.
18711         * INSTALL: Regenerated.
18712         * configure.ac: Check for makeinfo version 4.7 and above.
18713         * configure: Regenerated.
18715 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18717         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18718         PREFIX, string constant to insert between directory and name.
18719         * sysdeps/posix/shm_open.c: Update caller.
18720         * sysdeps/posix/shm_unlink.c: Likewise.
18721         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18722         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18723         (SEM_SHM_PREFIX): New macro.
18724         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18725         [$(have-thread-library) = no].
18726         * nptl/Makefile (libpthread-routines): Add shm-directory.
18727         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18728         * sysdeps/nptl/shm-directory.h: New file.
18729         * sysdeps/posix/shm-directory.c
18730         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18731         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18732         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18733         INTERNAL_SYSCALL.
18734         (__where_is_shmfs): Function removed.
18735         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18736         Variables removed.
18737         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18738         Use SHM_GET_NAME.
18739         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18741         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18742         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18743         unconditional for use inside libpthread.
18744         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18746 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18748         * nptl/pthread_getaffinity.c: New file.
18749         * nptl/pthread_setaffinity.c: New file.
18750         * nptl/pthread_getname.c: New file.
18751         * nptl/pthread_setname.c: New file.
18753         * nptl/pthread_create.c (START_THREAD_DEFN)
18754         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18756 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18757             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18759         * resolv/res_send.c (send_vc): Disable warning resplen may
18760         be used uninitialized.
18762 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18764         * nptl/tst-mutex6.c
18765         (ATTR_NULL): New define checks ATTR against NULL.
18766         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18767         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18769 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18771         [BZ #17581]
18772         * malloc/hooks.c
18773         (mem2mem_check): Revert my previous change.
18774         (malloc_check_get_size): Revert my previous change.
18775         (mem2chunk_check): Revert my previous change.
18777 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18779         * sysdeps/posix/shm-directory.c: New file.
18780         * sysdeps/posix/shm-directory.h: New file.
18781         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18782         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18783         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18784         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18785         Transmute EPERM to EACCES.
18786         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18787         from ...
18788         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18789         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18791 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18793         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18794         pointer and cast to uintptr_t.
18795         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18796         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18797         Add cast to avoid warning.
18798         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18800 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18802         * nptl/semaphore.h: Move to ...
18803         * sysdeps/pthread/semaphore.h: ... here.
18804         * Makefile (installed-headers): Change nptl/semaphore.h to
18805         sysdeps/pthread/semaphore.h.
18807 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18809         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18810         generated error format strings.
18812         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18813         -Wformat-extra-args warnings for scanf formats.
18814         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18815         test of zero-length format (duh).
18816         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18817         corner-case scanf format test.
18818         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18819         generated fprintf format string.
18820         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18821         corner-case sprintf format tests.
18822         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18823         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18824         -Wformat-extra-args warnings throughout.
18825         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18826         (CFLAGS-scanf4.c): Likewise.
18827         (CFLAGS-scanf7.c): Likewise.
18828         (CFLAGS-tst-sprintf.c): Likewise.
18829         (CFLAGS-tst-printf.c): Likewise.
18830         (CFLAGS-tst-printfsz.c): Likewise.
18832 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18834         * include/cpio.h: New file.
18835         * include/fmtmsg.h: Likewise.
18837         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18838         corresponding format argument to size_t.
18839         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18840         arguments.
18841         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18842         corresponding format argument to size_t.
18843         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18844         arguments.
18845         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18846         corresponding format argument to size_t.
18847         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18848         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18849         (CFLAGS-tst-mbswcs2.c): Likewise.
18850         (CFLAGS-tst-mbswcs3.c): Likewise.
18851         (CFLAGS-tst-mbswcs4.c): Likewise.
18852         (CFLAGS-tst-mbswcs5.c): Likewise.
18853         (CFLAGS-tst-trans.c): Likewise.
18855 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18857         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18858         rather than assuming they won't contain any '%'s.
18860 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18862         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18863         inhibit_loop_to_libcall to avoid recursive calls.
18864         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18865         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18867 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18869         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18870         prototype.
18872 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18874         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18875         integer value instead of boolean.
18877 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18879         * malloc/malloc.c: Fix powerof2 check.
18881 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18883         * locale/programs/locfile.h (maybe_swap_uint32):
18884         Remove inline and add unused attribute.
18886 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18888         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18889         Truncating assembler expression to a .long expression.
18891 2014-12-11  Andreas Schwab  <schwab@suse.de>
18893         * elf/rtld.c (struct map_args): Constify str member.
18894         (do_preload): Constify fname argument.
18896 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18898         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18899         constants definition.
18901 2014-12-11  Andreas Schwab  <schwab@suse.de>
18903         [BZ #16657]
18904         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18905         FORCE_ELISION instead of DO_ELISION.
18906         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18907         Remove.
18908         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18909         Likewise.
18911         * iconvdata/gconv-modules: Remove duplicate entry.
18913 2014-12-11  Will Newton  <will.newton@linaro.org>
18915         Merge gettext 0.19.3 into intl/.
18917         This involves a number of cosmetic changes to comments
18918         and ANSI function definitions and prototypes throughout
18919         all the files. The gettext copyright header is used but
18920         with the date ranges taken from the glibc copy.
18922         * NEWS: Add gettext merge to 2.21.
18923         * intl/bindtextdom.c: Switch to gettext copyright.
18924         Use ANSI definitions and prototypes.
18925         Use gl_* locking primitives rather than __libc_* ones.
18926         Use __builtin_expect rather than __glibc_likely/unlikely.
18927         * intl/dcgettext.c: Switch to gettext copyright.
18928         Use ANSI definitions and prototypes.
18929         * intl/dcigettext.c: Switch to gettext copyright.
18930         Use ANSI definitions and prototypes.
18931         (INTDIV0_RAISES_SIGFPE): New define.
18932         Use gl_* locking primitives rather than __libc_* ones.
18933         Include eval-plural.h instead of plural-eval.c.
18934         Use __builtin_expect rather than __glibc_likely/unlikely.
18935         * intl/dcngettext.c: Switch to gettext copyright.
18936         Use ANSI definitions and prototypes.
18937         * intl/dgettext.c: Likewise.
18938         * intl/dngettext.c: Likewise.
18939         * intl/plural-eval.c: Renamed to...
18940         * intl/eval-plural.h: ...this.
18941         * intl/explodename.c: Switch to gettext copyright.
18942         Use ANSI definitions and prototypes.
18943         (_nl_explode_name): Use strchr instead of __rawmemchr.
18944         * intl/finddomain.c: Switch to gettext copyright.
18945         Use ANSI definitions and prototypes.
18946         Use gl_* locking primitives rather than __libc_* ones.
18947         (_nl_find_domain): Use malloc rather than alloca for
18948         allocation of temporary locale name.
18949         * intl/gettext.c: Switch to gettext copyright.
18950         Use ANSI definitions and prototypes.
18951         * intl/gettextP.h: Switch to gettext copyright.
18952         Use ANSI definitions and prototypes.
18953         Use gl_* locking primitives rather than __libc_* ones.
18954         * intl/gmo.h: Switch to gettext copyright.
18955         (struct sysdep_string): Move struct segment_pair outside of
18956         struct definition.
18957         * intl/hash-string.c: Use ANSI definitions and prototypes.
18958         * intl/hash-string.h: Switch to gettext copyright.
18959         Use ANSI definitions and prototypes.
18960         * intl/l10nflist.c: Switch to gettext copyright.
18961         Use ANSI definitions and prototypes.
18962         (_nl_normalize_codeset): Avoid integer overflow.
18963         * intl/loadinfo.h: Switch to gettext copyright.
18964         Use ANSI definitions and prototypes.
18965         (LIBINTL_DLL_EXPORTED): New define.
18966         (PATH_SEPARATOR): New define.
18967         * intl/loadmsgcat.c: Switch to gettext copyright.
18968         * intl/localealias.c: Switch to gettext copyright.
18969         Use ANSI definitions and prototypes.
18970         (_nl_expand_alias): Use PATH_SEPARATOR.
18971         * intl/ngettext.c: Switch to gettext copyright.
18972         Use ANSI definitions and prototypes.
18973         * intl/plural-exp.c: Likewise.
18974         * intl/plural-exp.h: Switch to gettext copyright.
18975         Use ANSI definitions and prototypes.
18976         (struct expression): Move definition of enum operator outside
18977         of struct definition.
18978         * intl/plural.c: Regenerate.
18979         * intl/plural.y: Switch to gettext copyright.
18980         Use ANSI definitions and prototypes.
18981         Port to bison 3.0.
18982         * intl/textdomain.c: Switch to gettext copyright.
18983         Use ANSI definitions and prototypes.
18984         Use gl_* locking primitives rather than __libc_* ones.
18986 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18988         * debug/warning-nop.c: Add used atrribute.
18990 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18992         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18994         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18995         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18996         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18998 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18999             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19001         [BZ #17634]
19002         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19003         Undefine after defining function.  Define as weak alias of
19004         __wcschr.  Use libc_hidden_weak.
19005         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19006         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19007         (libc_hidden_def): Also define __GI___wcschr alias.
19008         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19009         __wcschr and define as weak alias of __wcschr.
19010         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19011         __wcschr.
19012         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19013         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19014         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19015         libc_hidden_weak.  Do not use libc_hidden_def.
19016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19017         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19018         __GI___wcschr alias.
19019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19020         [IS_IN (libc)] (wcschr): Define as macro expanding to
19021         __redirect_wcschr.
19022         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19023         [IS_IN (libc)] (__wcschr_power6): Likewise.
19024         [IS_IN (libc)] (__wcschr_power7): Likewise.
19025         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19026         instead of wcschr.
19027         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19028         __libc_wcschr.
19029         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19030         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19031         __wcschr and define as weak alias of __wcschr.  Use
19032         libc_hidden_builtin_def.
19033         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19034         as weak alias of __wcschr.  Use libc_hidden_weak.
19035         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19036         wcschr.
19037         * time/era.c (_nl_init_era_entries): Likewise.
19038         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19039         variable.
19040         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19041         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19043 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19045         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19046         format for long int variable.
19048 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19050         [BZ #10672]
19051         * manual/search.texi: (Array Sort Function): Remove claim how to make
19052         qsort stable.
19054 2014-12-10  Andreas Schwab  <schwab@suse.de>
19056         [BZ #12847]
19057         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19058         user-controlled locks.
19060 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19062         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19063         register.
19065 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19067         * configure.ac (--disable-werror): New configure option.
19068         (enable_werror): New AC_SUBST.
19069         * configure: Regenerated.
19070         * config.make.in (enable-werror): New variable.
19071         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19072         -Wno-error=undef.
19073         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19074         * manual/install.texi (Configuring and compiling): Document
19075         --disable-werror.
19076         * INSTALL: Regenerated.
19077         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19078         (CFLAGS-tst-chk2.c): Likewise.
19079         (CFLAGS-tst-chk3.c): Likewise.
19080         (CFLAGS-tst-chk4.cc): Likewise.
19081         (CFLAGS-tst-chk5.cc): Likewise.
19082         (CFLAGS-tst-chk6.cc): Likewise.
19083         (CFLAGS-tst-lfschk1.c): Likewise.
19084         (CFLAGS-tst-lfschk2.c): Likewise.
19085         (CFLAGS-tst-lfschk3.c): Likewise.
19086         (CFLAGS-tst-lfschk4.cc): Likewise.
19087         (CFLAGS-tst-lfschk5.cc): Likewise.
19088         (CFLAGS-tst-lfschk6.cc): Likewise.
19090         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19091         (main): Disable -Wdeprecated-declarations around calls to
19092         register_printf_function.
19094         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19095         (do_test): Disable -Wdiv-by-zero around some calls to
19096         fwrite_unlocked and fread_unlocked.
19098         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19099         (DIAG_POP_NEEDS_COMMENT): Likewise.
19100         (_DIAG_STR1): Likewise.
19101         (_DIAG_STR): Likewise.
19102         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19103         * stdio-common/bug21.c: Include <libc-internal.h>.
19104         (do_test): Disable -Wformat around call to sscanf.
19105         * stdio-common/scanf14.c: Include <libc-internal.h>.
19106         (main): Disable -Wformat around some calls to scanf functions.
19108 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19110         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19112 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19114         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19115         stack variable alignment.
19117 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19119         [BZ #17682]
19120         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19121         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19122         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19123         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19124         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19125         __getrlimit instead of getrlimit.
19126         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19127         __gettimeofday instead of gettimeofday.
19128         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19129         Likewise.
19130         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19131         Likewise.
19132         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19133         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19134         Remove variable.
19135         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19136         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19138 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19140         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19141         for wide-character tests.
19143 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19145         * io/openat64.c: #include <libc-internal.h>
19146         (__openat64): Prototypify.  Use ignore_value on MODE.
19147         * io/openat.c: Likewise.
19148         * misc/reboot.c: #include <libc-internal.h>
19149         (reboot): Prototypify.  Use ignore_value on HOWTO.
19150         * misc/ptrace.c: #include <libc-internal.h>
19151         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19153 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19155         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19156         XPG4, UNIX98 and XOPEN2K.
19157         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19158         Remove variable.
19159         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19161 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19163         * libio/fileops.c: Use ISO C style for function definitions.
19164         * libio/iofopen.c: Likewise.
19165         * libio/wfileops.c: Likewise.
19167         [BZ #17653]
19168         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19169         offset on EOF.
19170         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19171         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19172         (fgets_func): Function pointer to fgets and fgetws.
19173         (do_ftell_test): Add test to verify ftell value after read
19174         EOF.
19175         (do_test): Set fgets_func.
19177         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19178         O_TRUNC flag for w and w+ modes.
19179         (do_rewind_test): Likewise.
19180         (do_ftell_test): Likewise.
19181         (do_write_test): Likewise.
19183         [BZ #17647]
19184         * libio/fileops.c (do_ftell): Seek only when there are
19185         unflushed writes.
19186         * libio/wfileops.c (do_ftell_wide): Likewise.
19187         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19188         test case.
19189         (do_one_test): Call it.
19191 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19193         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19194         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19195         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19196         Remove variable.
19197         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19198         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19199         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19201 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19203         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19204         Remove variable.
19205         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19207         [BZ #17668]
19208         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19209         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19210         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19211         __freeifaddrs.  Use libc_hidden_weak.
19212         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19213         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19214         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19215         __freeifaddrs.  Use libc_hidden_weak.
19216         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19217         __getifaddrs and define as weak alias of __getifaddrs.  Use
19218         libc_hidden_weak.
19219         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19220         __freeifaddrs.  Use libc_hidden_weak.
19221         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19222         Remove variable.
19223         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19224         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19226 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19228         [BZ #17601]
19229         * sysdeps/mips/start.S (__start): Use indirect jump to call
19230         __libc_start_main.
19232 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19234         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19236         * nptl/tst-mutex1.c: Include <stdbool.h>.
19237         [!ATTR] (ATTR_NULL): New macro.
19238         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19239         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19240         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19242         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19243         to char *.
19245         [BZ #17665]
19246         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19247         Change conditional to [__USE_MISC].
19249         [BZ #17664]
19250         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19251         fgets_unlocked.
19252         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19253         __fgets_unlocked.
19254         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19255         fgets_unlocked.
19256         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19257         Remove variable.
19258         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19259         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19260         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19261         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19262         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19263         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19264         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19265         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19266         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19268         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19270 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19272         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19273         Remove strpbrk objects.
19274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19275         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19276         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19277         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19278         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19279         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19281         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19282         Remove strcspn objects.
19283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19284         (__libc_ifunc_impl_list): Remove strcspn implementation.
19285         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19286         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19287         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19288         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19290         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19291         Remove strspn objetcs.
19292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19293         (__libc_ifunc_impl_list): Remove strspn implementation.
19294         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19295         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19296         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19297         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19299 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19301         [BZ #17581]
19302         * malloc/hooks.c
19303         (mem2mem_check): Add a terminator to the chain of checking blocks.
19304         (malloc_check_get_size): Use it here.
19305         (mem2chunk_check): Ditto.
19307 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19309         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19310         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19312 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19314         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19316         * nptl/nptl-init.c: Include libc-internal.h.
19317         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19319         * elf/ldconfig.c (search_dir): Expand comment.
19321 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19323         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19324         variable.
19325         (linknamespace-symlist-stdlibs-tests): Likewise.
19326         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19327         instead of $(objpfx)symlist-stdlibs.
19328         (linknamespace-libs-isoc): New variable.
19329         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19330         (linknamespace-libs-ISO): New variable.
19331         (linknamespace-libs-ISO99): Likewise.
19332         (linknamespace-libs-ISO11): Likewise.
19333         (linknamespace-libs-XPG3): Likewise.
19334         (linknamespace-libs-XPG4): Likewise.
19335         (linknamespace-libs-POSIX): Likewise.
19336         (linknamespace-libs-UNIX98): Likewise.
19337         (linknamespace-libs-XOPEN2K): Likewise.
19338         (linknamespace-libs-POSIX2008): Likewise.
19339         (linknamespace-libs-XOPEN2K8): Likewise.
19340         ($(objpfx)symlist-stdlibs): Replace by
19341         $(linknamespace-symlist-stdlibs-tests).  Use
19342         $(linknamespace-libs-$*) as set of libraries.
19343         ($(linknamespace-header-tests)): Update dependencies.  Use
19344         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19345         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19346         * conform/linknamespace.pl: Remove comment about considering
19347         definitions of symbols from irrelevant libraries.
19349 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19351         [BZ #13862]
19352         * elf/dl-tls.c: Include <atomic.h>.
19353         (oom): Remove #ifdef SHARED/#endif.
19354         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19355         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19356         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19357         big enough.
19358         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19359         * nptl/Makefile (tests): Add tst-stack4.
19360         (modules-names): Add tst-stack4mod.
19361         ($(objpfx)tst-stack4): New.
19362         (tst-stack4mod.sos): Likewise.
19363         ($(objpfx)tst-stack4.out): Likewise.
19364         ($(tst-stack4mod.sos)): Likewise.
19365         (clean): Likewise.
19366         * nptl/tst-stack4.c: New file.
19367         * nptl/tst-stack4mod.c: Likewise.
19369 2014-11-27  J. Brown  <jb999@gmx.de>
19371         * sysdeps/x86/bits/string.h: Add recent CPUs.
19373 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19375         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19376         sigblock.
19378         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19379         feof.
19381         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19382         variable.
19384 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19386         * nscd/connections.c: Include libc-internal.h because of macro
19387         usage ignore_value.
19389 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19391         * string/bits/string3.h (__warn_memset_zero_len): Don't
19392         declare for gcc newer than 5.0.
19393         (memset): Don't test for zero-length __LEN for gcc newer than
19394         5.0.
19396 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19398         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19399         size_t for %zu format.
19401         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19402         difference, not %ju.
19404 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19406         * include/libc-internal.h (ignore_value): New macro.
19407         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19408         with ignore_value.
19410         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19411         definition.
19413         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19414         pthread_cleanup_push to void *.
19416         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19417         Undefine.
19419         [BZ #16619]
19420         [BZ #16740]
19421         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19422         instead of 1L << 52.
19424         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19425         * libio/bug-rewind2.c (do_test): Likewise.
19427         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19428         * debug/test-strcpy_chk-ifunc.c: Likewise.
19429         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19430         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19431         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19432         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19433         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19434         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19435         * Rules [$(multi-arch) = no] (tests): Do not filter out
19436         $(tests-ifunc).
19437         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19438         * debug/Makefile (tests-ifunc): Remove variable.
19439         (tests): Do not add $(tests-ifunc).
19440         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19441         (tests): Do not add $(tests-ifunc).
19442         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19443         [TEST_IFUNC]: Remove conditionals.
19444         * string/test-string.h (TEST_IFUNC): Remove macro.
19445         [TEST_IFUNC]: Remove conditionals.
19447         * string/test-strchr.c [!WIDE] (L): New macro.
19448         [WIDE] (L): Likewise.
19449         (check1): Use CHAR instead of char.  Use L on string and character
19450         constants.
19452 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19454         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19455         tests.
19456         * sysdeps/powerpc/bits/atomic.h
19457         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19458         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19459         (atomic_exchange_and_add_acq): Likewise.
19460         (atomic_exchange_and_add_rel): Likewise.
19461         * sysdeps/powerpc/powerpc32/bits/atomic.h
19462         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19463         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19464         * sysdeps/powerpc/powerpc64/bits/atomic.h
19465         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19466         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19468 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19470         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19471         Change synchronization of __sched_fifo_min_prio and
19472         __sched_fifo_max_prio.
19473         * nptl/pthread_mutexattr_getprioceiling.c
19474         (pthread_mutexattr_getprioceiling): Likewise.
19475         * nptl/pthread_mutexattr_setprioceiling.c
19476         (pthread_mutexattr_setprioceiling): Likewise.
19477         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19478         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19479         Likewise.
19481 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19483         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19484         void.
19486 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19488         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19489         third argument const.
19491 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19493         fnmatch: work around GCC compiler warning bug with uninit var
19494         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19495         This works around a bug with x86-64 GCC 4.9.2 and earlier
19496         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19497         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19498         used uninitialized in this function [-Wmaybe-uninitialized]".
19500 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19502         * posix/bug-regex31.c (main): Return RES not 0.
19504 2014-11-25  Anton Blanchard <anton@samba.org>
19506         * sysdeps/powerpc/bits/atomic.h
19507         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19509 2014-11-24  Sterling Augustine  <saugustine@google.com>
19511         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19513 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19515         [BZ #17608]
19516         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19518 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19520         [BZ #17633]
19521         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19522         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19523         variable.
19524         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19525         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19527 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19529         * string/strncpy.c (strncpy): Improve performance by using memset.
19531 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19533         * string/strcpy.c (strcpy):
19534         Improve performance by using strlen and memcpy.
19536 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19538         * string/strcoll_l.c (get_next_seq): __always_inline.
19539         * string/strcoll_l.c (do_compare): __always_inline.
19541 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19543         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19544         defined.
19545         * include/mqueue.h: Likewise.
19546         * include/stdlib.h: Likewise.
19548         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19549         (get_null_defines): Adjust.
19550         * sunrpc/Makefile: Adjust comment.
19551         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19552         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19553         (CFLAGS-interp.c): Likewise.
19554         (CFLAGS-ldconfig.c): Likewise.
19555         (CPPFLAGS-.os): Likewise.
19556         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19557         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19558         * extra-modules.mk (extra-modules.mk): Likewise.
19559         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19560         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19561         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19562         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19563         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19564         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19565         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19566         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19567         * iconvdata/Makefile (CPPFLAGS): Likewise.
19568         (cpp-srcs-left): Add libof for all iconvdata routines.
19569         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19570         * include/assert.h: Likewise.
19571         * include/ctype.h: Likewise.
19572         * include/errno.h: Likewise.
19573         * include/libc-symbols.h: Likewise.
19574         * include/math.h: Likewise.
19575         * include/netdb.h: Likewise.
19576         * include/resolv.h: Likewise.
19577         * include/stdio.h: Likewise.
19578         * include/stdlib.h: Likewise.
19579         * include/string.h: Likewise.
19580         * include/sys/stat.h: Likewise.
19581         * include/wctype.h: Likewise.
19582         * intl/l10nflist.c: Likewise.
19583         * libidn/idn-stub.c: Likewise.
19584         * libio/libioP.h: Likewise.
19585         * nptl/libc_multiple_threads.c: Likewise.
19586         * nptl/pthreadP.h: Likewise.
19587         * posix/regex_internal.h: Likewise.
19588         * resolv/res_hconf.c: Likewise.
19589         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19590         * sysdeps/arm/memmove.S: Likewise.
19591         * sysdeps/arm/sysdep.h: Likewise.
19592         * sysdeps/generic/_itoa.h: Likewise.
19593         * sysdeps/generic/symbol-hacks.h: Likewise.
19594         * sysdeps/gnu/errlist.awk: Likewise.
19595         * sysdeps/gnu/errlist.c: Likewise.
19596         * sysdeps/i386/i586/memcpy.S: Likewise.
19597         * sysdeps/i386/i586/memset.S: Likewise.
19598         * sysdeps/i386/i686/memcpy.S: Likewise.
19599         * sysdeps/i386/i686/memmove.S: Likewise.
19600         * sysdeps/i386/i686/mempcpy.S: Likewise.
19601         * sysdeps/i386/i686/memset.S: Likewise.
19602         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19603         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19604         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19605         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19606         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19607         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19608         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19609         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19610         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19611         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19612         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19613         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19614         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19615         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19616         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19617         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19618         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19619         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19620         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19621         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19622         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19623         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19624         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19625         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19626         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19627         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19628         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19629         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19630         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19631         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19632         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19633         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19634         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19635         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19636         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19637         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19638         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19639         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19640         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19641         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19642         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19643         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19644         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19645         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19646         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19647         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19648         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19649         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19650         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19651         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19652         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19653         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19654         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19655         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19656         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19657         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19658         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19659         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19660         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19661         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19662         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19663         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19664         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19665         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19666         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19667         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19668         * sysdeps/posix/closedir.c: Likewise.
19669         * sysdeps/posix/opendir.c: Likewise.
19670         * sysdeps/posix/readdir.c: Likewise.
19671         * sysdeps/posix/rewinddir.c: Likewise.
19672         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19673         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19674         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19675         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19676         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19677         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19678         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19679         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19680         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19681         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19682         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19683         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19684         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19685         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19686         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19687         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19688         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19689         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19690         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19691         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19692         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19693         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19694         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19695         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19696         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19697         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19698         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19699         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19700         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19702         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19707         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19708         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19709         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19710         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19711         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19712         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19713         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19714         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19715         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19716         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19717         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19718         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19719         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19720         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19721         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19722         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19723         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19724         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19725         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19727         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19728         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19729         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19730         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19731         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19732         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19733         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19734         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19735         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19736         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19737         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19738         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19739         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19740         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19741         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19742         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19743         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19744         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19745         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19746         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19747         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19748         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19749         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19750         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19751         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19752         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19753         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19754         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19755         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19756         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19758         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19759         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19760         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19761         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19762         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19763         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19764         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19765         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19766         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19767         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19768         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19769         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19770         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19771         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19772         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19773         * sysdeps/unix/alpha/sysdep.S: Likewise.
19774         * sysdeps/unix/alpha/sysdep.h: Likewise.
19775         * sysdeps/unix/make-syscalls.sh: Likewise.
19776         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19777         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19778         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19779         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19780         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19781         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19782         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19783         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19784         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19785         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19786         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19787         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19788         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19789         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19790         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19791         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19792         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19793         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19794         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19795         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19796         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19797         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19798         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19799         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19800         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19801         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19802         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19805         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19806         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19810         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19814         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19815         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19816         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19817         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19818         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19819         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19823         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19825         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19826         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19827         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19828         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19829         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19830         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19831         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19832         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19833         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19834         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19835         * sysdeps/x86_64/memcpy.S: Likewise.
19836         * sysdeps/x86_64/memmove.c: Likewise.
19837         * sysdeps/x86_64/memset.S: Likewise.
19838         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19839         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19840         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19841         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19842         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19843         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19844         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19845         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19846         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19847         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19848         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19849         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19850         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19851         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19852         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19853         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19854         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19855         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19856         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19857         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19858         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19859         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19860         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19861         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19862         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19863         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19864         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19865         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19866         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19867         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19868         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19869         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19870         * sysdeps/x86_64/strcmp.S: Likewise.
19872         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19874         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19875         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19876         * elf/rtld-Rules: Likewise.
19877         * elf/setup-vdso.h: Likewise.
19878         * include/assert.h: Likewise.
19879         * include/bits/stdlib-float.h: Likewise.
19880         * include/errno.h: Likewise.
19881         * include/sys/stat.h: Likewise.
19882         * include/unistd.h: Likewise.
19883         * sysdeps/aarch64/setjmp.S: Likewise.
19884         * sysdeps/alpha/setjmp.S: Likewise.
19885         * sysdeps/arm/__longjmp.S: Likewise.
19886         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19887         * sysdeps/arm/setjmp.S: Likewise.
19888         * sysdeps/arm/sysdep.h: Likewise.
19889         * sysdeps/generic/_itoa.h: Likewise.
19890         * sysdeps/generic/dl-sysdep.h: Likewise.
19891         * sysdeps/generic/ldsodefs.h: Likewise.
19892         * sysdeps/i386/dl-tls.h: Likewise.
19893         * sysdeps/i386/setjmp.S: Likewise.
19894         * sysdeps/m68k/setjmp.c: Likewise.
19895         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19896         * sysdeps/mach/hurd/opendir.c: Likewise.
19897         * sysdeps/posix/getcwd.c: Likewise.
19898         * sysdeps/posix/opendir.c: Likewise.
19899         * sysdeps/posix/profil.c: Likewise.
19900         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19901         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19902         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19903         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19904         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19905         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19906         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19907         * sysdeps/s390/dl-tls.h: Likewise.
19908         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19909         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19910         * sysdeps/sh/sh3/setjmp.S: Likewise.
19911         * sysdeps/sh/sh4/setjmp.S: Likewise.
19912         * sysdeps/unix/alpha/sysdep.h: Likewise.
19913         * sysdeps/unix/arm/sysdep.S: Likewise.
19914         * sysdeps/unix/i386/sysdep.S: Likewise.
19915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19916         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19917         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19918         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19919         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19920         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19921         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19922         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19923         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19924         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19925         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19926         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19927         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19930         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19931         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19933         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19934         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19935         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19936         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19937         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19938         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19939         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19940         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19942         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19943         * sysdeps/x86_64/setjmp.S: Likewise.
19945         * include/math.h: Use IS_IN instead of IS_IN_libm.
19946         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19947         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19948         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19949         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19950         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19951         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19952         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19953         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19954         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19955         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19956         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19957         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19958         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19959         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19960         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19961         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19962         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19963         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19964         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19965         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19966         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19967         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19968         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19969         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19970         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19971         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19972         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19973         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19974         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19975         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19976         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19977         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19978         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19980         Likewise.
19981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19982         Likewise.
19983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19984         Likewise.
19985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19986         Likewise.
19987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19988         Likewise.
19989         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19990         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19991         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19992         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19993         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19994         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20000         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20001         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20002         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20003         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20004         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20005         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20006         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20007         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20008         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20009         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20010         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20011         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20012         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20013         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20015         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20017         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20018         * nptl/pthreadP.h: Likewise.
20019         * nptl_db/structs.def: Likewise.
20020         * sysdeps/arm/sysdep.h: Likewise.
20021         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20022         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20023         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20024         * sysdeps/unix/alpha/sysdep.h: Likewise.
20025         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20026         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20027         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20028         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20029         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20030         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20032         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20033         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20034         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20035         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20036         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20037         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20038         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20043         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20045         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20046         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20047         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20048         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20049         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20050         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20052         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20053         * nptl/pthreadP.h: Likewise.
20054         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20055         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20056         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20057         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20058         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20059         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20060         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20061         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20062         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20063         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20064         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20065         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20067         Likewise.
20068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20069         Likewise.
20070         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20071         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20072         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20073         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20074         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20075         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20076         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20077         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20079         * dlfcn/dladdr.c: Use IS_IN.
20080         * dlfcn/dladdr1.c: Likewise.
20081         * dlfcn/dlclose.c: Likewise.
20082         * dlfcn/dlerror.c: Likewise.
20083         * dlfcn/dlinfo.c: Likewise.
20084         * dlfcn/dlmopen.c: Likewise.
20085         * dlfcn/dlopen.c: Likewise.
20086         * dlfcn/dlsym.c: Likewise.
20087         * dlfcn/dlvsym.c: Likewise.
20089         * include/ifaddrs.h: Use IS_IN.
20090         * inet/check_pf.c: Likewise.
20091         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20092         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20094         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20095         IS_IN_ldconfig.
20096         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20097         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20099         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20100         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20101         IS_IN (libc).
20103         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20105         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20106         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20107         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20108         * include/libc-symbols.h (IS_IN_LIB): New macro.
20109         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20110         * include/netdb.h: Likewise.
20111         * include/stap-probe.h: Remove all uses of IN_LIB.
20113         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20114         instead of IN_MODULE.
20115         * include/libc-symbols.h (IN_MODULE): Define using
20116         MODULE_NAME.
20117         (PASTE_NAME, PASTE_NAME1): New macros.
20118         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20119         of IN_LIB.
20120         (STAP_PROBE_ASM): Likewise.
20122 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20124         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20125         __mach_init in dlopened libc.
20127 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20129         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20130         * sysdeps/arm/preconfigure: Regenerate.
20132 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20134         * nptl/pthread_create.c (__pthread_create_2_1): Set
20135         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20136         when copying values from IATTR into PD.
20138 2014-11-21  Will Newton  <will.newton@linaro.org>
20139             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20141         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20142         Refactor inline-asm.  Also add comment.
20144         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20145         ElfW macro instead of hardcoded Elf64 types.
20146         (la_aarch64_gnu_pltenter): Likewise.
20147         * sysdeps/aarch64/dl-machine.h
20148         (elf_machine_runtime_setup): Use ElfW(Addr).
20150         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20151         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20152         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20153         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20154         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20155         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20156         (R_AARCH64_TLS_DTPMOD): This.
20157         (R_AARCH64_TLS_DTPREL64): Rename to ...
20158         (R_AARCH64_TLS_DTPREL): This.
20159         (R_AARCH64_TLS_TPREL64): Rename to ...
20160         (R_AARCH64_TLS_TPREL): This.
20161         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20162         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20163         R_AARCH64_TLS_TPREL64.
20164         (elf_machine_rela): Likewise.
20166 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20168         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20169         by setting it to 0.  64b atomics are not supported currently.
20171 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20173         [BZ #16469]
20174         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20175         search domain names.
20177 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20179         [BZ #16469]
20180         * NEWS: Update.
20181         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20182         trailing dot.
20183         * posix/tst-getaddrinfo5.c: New.
20184         * posix/Makefile (tests): Add it.
20186 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20188         [BZ #14498]
20189         * NEWS: Fixed.
20190         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20191         after parsing line but before break_if_match.
20192         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20193         if there is a protocol mismatch.
20195 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20197         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20198         because the potential race is on the user-supplied stream.
20200 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20202         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20203         string literal if not passed a buffer.
20204         * manual/job.texi (ctermid): Update reasoning, note deviation
20205         from posix, suggest mtasurace when not passed a buffer, for
20206         future non-preliminary safety notes.
20208 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20210         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20211         of not passing it a buffer.
20212         Reported by Peng Haitao.
20214 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20216         * manual/Makefile ($(objpfx)stamp-summary): Require
20217         check-safety.sh to pass.
20218         * manual/check-safety.sh: Wish for verification that every
20219         @deftypefn and @deftypefun is followed by a @safety remark.
20221 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20223         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20225         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20226         PTHREAD_CANCEL_ASYNCHRONOUS.
20227         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20228         send SIGCANCEL.
20230         * nptl/default-sched.h: New file.
20231         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20232         * nptl/pthread_create.c: Include it.
20233         (__pthread_create_2_1): Use collect_default_sched instead of making
20234         Linux syscalls here directly.
20236 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20238         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20239         __pthread_once): Use C11 atomics.
20241 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20243         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20245 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20247         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20248         atomic_thread_fence_acquire, atomic_thread_fence_release,
20249         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20250         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20251         atomic_compare_exchange_weak_relaxed,
20252         atomic_compare_exchange_weak_acquire,
20253         atomic_compare_exchange_weak_release,
20254         atomic_exchange_acquire, atomic_exchange_release,
20255         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20256         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20257         atomic_fetch_and_acquire,
20258         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20260 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20262         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20263         USE_ATOMIC_COMPILER_BUILTINS): Define.
20264         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20266         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20267         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20268         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20269         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20270         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20271         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20272         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20273         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20274         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20275         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20276         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20277         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20278         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20279         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20280         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20281         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20282         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20283         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20284         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20285         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20286         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20287         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20288         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20289         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20290         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20291         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20292         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20293         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20294         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20295         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20296         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20297         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20298         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20299         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20300         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20301         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20302         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20303         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20305 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20307         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20308         the sched_priority value here.  It was already checked when the user
20309         called pthread_attr_setschedparam.
20311         * nptl/tst-bad-schedattr.c: New file.
20312         * nptl/Makefile (tests): Add it.
20314 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20315             Florian Weimer  <fweimer@redhat.com>
20316             Joseph Myers  <joseph@codesourcery.com>
20317             Adam Conrad  <adconrad@0c3.net>
20318             Andreas Schwab  <schwab@suse.de>
20319             Brooks  <bmoses@google.com>
20321         [BZ #17625]
20322         * wordexp-test.c (__dso_handle): Add prototype.
20323         (__register_atfork): Likewise.
20324         (__app_register_atfork): New function.
20325         (registered_forks): New global.
20326         (register_fork): New function.
20327         (test_case): Add 3 new tests for WRDE_CMDSUB.
20328         (main): Call __app_register_atfork.
20329         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20330         fork count is non-zero fail the test.
20331         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20332         is set.
20333         (parse_dollars): Remove check for WRDE_NOCMD.
20334         (parse_dquote): Likewise.
20336 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20338         * Makeconfig (built-modules): List non-library modules to be
20339         built.
20340         (module-cppflags): Include libc-modules.h for
20341         everything except shlib-versions.v.i.
20342         (CPPFLAGS): Use it.
20343         (before-compile): Add libc-modules.h.
20344         ($(common-objpfx)libc-modules.h,
20345         $(common-objpfx)libc-modules.stmp): New targets.
20346         (common-generated): Add libc-modules.h and libc-modules.stmp.
20347         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20348         * include/libc-symbols.h: Don't include libc-modules.h.
20349         * include/libc-modules.h: Remove file.
20350         * scripts/gen-libc-modules.awk: New script to generate
20351         libc-modules.h.
20352         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20353         Depend on libc-modules.stmp.
20355         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20357         * Makeconfig (in-module): Get value of libof set for the
20358         translation unit.
20359         (CPPFLAGS): Use $(in-module).
20360         * Makerules: Don't suffix routine names for nonlib.
20361         * include/libc-modules.h: New file.
20362         * include/libc-symbols.h: Include libc-modules.h
20363         (IS_IN): New macro to replace IS_IN_* macros.
20364         * elf/Makefile: Set libof-* for each routine.
20365         * elf/rtld-Rules: Likewise.
20366         * extra-modules.mk: Likewise.
20367         * iconv/Makefile: Likewise.
20368         * iconvdata/Makefile: Likewise.
20369         * locale/Makefile: Likewise.
20370         * malloc/Makefile: Likewise.
20371         * nss/Makefile: Likewise.
20372         * sysdeps/gnu/Makefile: Likewise.
20373         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20374         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20375         * sysdeps/s390/s390-64/Makefile: Likewise.
20376         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20377         CPPFLAGS for nscd instead of nonlib.
20379 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20381         * nptl/createthread.c: New file.
20383         * nptl/createthread.c: Moved ...
20384         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20386         * nptl/createthread.c: Add proper top-line comment.
20387         (do_clone): Folded into ...
20388         (create_thread): ... here.  Take new arguments STOPPED_START and
20389         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20390         increment __nptl_threads, do event-reporting logic, do
20391         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20392         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20393         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20394         just send SIGCANCEL.
20395         * nptl/pthread_create.c: Forward-declare create_thread before
20396         including createthread.c.
20397         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20398         declaration, and new macro START_THREAD_SELF to replace argument.
20399         Remove return statement.
20400         (report_thread_creation): New function.
20401         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20402         synchronization logic, and __nptl_nthreads increment here, around
20403         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20404         PD->parent_cancelhandling here, before create_thread.  When
20405         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20406         __deallocate_stack, and ENOMEM translation here.
20408 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20410         [BZ #17616]
20411         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20412         (mptwo): Rename to __mptwo.
20413         (__inv): Use __mptwo instead of mptwo.
20414         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20415         (mptwo): Rename to __mptwo.
20416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20417         of mpone and __mptwo instead of mptwo.
20418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20419         instead of mpone.
20420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20421         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20422         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20423         of mpone and __mptwo instead of mptwo.
20424         (__mpranred): Use __mpone instead of mpone.
20425         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20426         variable.
20427         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20428         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20429         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20430         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20431         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20432         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20433         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20434         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20435         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20436         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20437         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20438         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20439         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20440         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20441         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20442         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20443         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20444         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20445         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20447 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20449         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20450         replace BSD Handler xref with BSD Signal Handling.
20452 2014-11-17  Richard Henderson  <rth@redhat.com>
20454         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20455         (_FP_PACK_RAW_2): Remove.
20456         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20457         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20458         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20459         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20460         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20461         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20462         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20463         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20464         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20465         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20466         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20467         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20468         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20469         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20470         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20471         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20473 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20475         * signal/signal.h [__USE_MISC]
20476         (struct sigvec): Remove type.
20477         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20478         (sigvec): Remove declaration.
20479         * sysdeps/posix/sigvec.c: Moved ...
20480         * signal/sigvec.c: ... here, replacing old file.
20481         (struct sigvec): New type, copied from old signal.h definition.
20482         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20483         (__sigvec): Convert definition to prototype.
20484         (sigvec): Replace weak_alias with compat_symbol.
20485         * signal/Versions (libc: GLIBC_2.21): New version set.
20486         * include/signal.h: Remove __sigvec declaration.
20487         * sysdeps/unix/bsd/sigvec.c: Remove file.
20488         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20489         * manual/signal.texi (BSD Handler): Remove subsection.
20490         Move siginterrupt up to ...
20491         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20492         (Blocking in BSD): Fold subsection into its parent.
20493         * NEWS: Mention sigvec removal.
20495 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20497         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20498         (DLA_FMS): Make definition conditional only on [__FMA4__].
20499         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20500         definition.
20502         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20503         Make definition conditional only on [PROF].
20504         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20505         definition.
20506         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20507         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20509         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20510         !__GNUC__].
20511         * include/signal.h (__sigpause): Move declaration above call to
20512         libc_hidden_proto.
20513         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20514         variable.
20515         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20516         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20518 2014-11-14  David S. Miller  <davem@davemloft.net>
20520         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20521         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20523 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20525         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20526         * configure: Regenerated.
20527         * manual/install.texi (Tools for Compilation): Document a
20528         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20529         compiler verified to work.
20530         * INSTALL: Regenerated.
20532         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20533         redeclare with asm name.
20534         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20535         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20536         including <string.h>.
20537         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20538         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20539         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20540         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20541         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20542         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20543         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20545 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20547         * stdlib/strtol.c (__strtol): Use prototype definition.
20549         [BZ #17594]
20550         * stdlib/strtol.c (SYM__): New macro.
20551         (SYM__1): Likewise.
20552         (__strtol): Likewise.
20553         (strtol): Rename to __strtol and define as weak alias of
20554         __strtol.  Use libc_hidden_weak.
20556 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20558         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20559         Use numbered labels in inline assembly.
20561 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20563         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20564         Add setjmp LIBC_PROBE.
20565         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20566         Likewise.
20567         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20568         Add longjmp, longjmp_target LIBC_PROBE.
20569         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20570         Likewise.
20572 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20574         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20575         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20576         to get rid of unused variable warning.
20578 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20580         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20581         Check for unwind_backtrace ==  NULL only in SHARED case.
20582         (__backchain_backtrace): Compile only in SHARED case.
20583         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20584         Likewise.
20585         (__backchain_backtrace): Declare as static.
20587 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20589         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20590         (__libc_multiple_threads_ptr): Variable moved ...
20591         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20593 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20595         * conform/GlibcConform.pm: New file.
20596         * conform/conformtest.pl: Use GlibcConform module.
20597         * conform/linknamespace.pl: New file.
20598         * conform/list-header-symbols.pl: Likewise.
20599         * conform/Makefile (linknamespace-symlists-base): New variable.
20600         (linknamespace-symlists-tests): Likewise.
20601         (linknamespace-header-base): Likewise.
20602         (linknamespace-header-tests): Likewise.
20603         (tests-special): Add new tests.
20604         ($(linknamespace-symlists-tests)): New rule.
20605         (linknamespace-libs): New variable.
20606         ($(objpfx)symlist-stdlibs): New rule.
20607         ($(linknamespace-header-tests)): Likewise.
20608         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20609         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20610         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20611         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20612         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20613         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20614         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20615         (test-xfail-ISO/math.h/linknamespace): Likewise.
20616         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20617         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20618         (test-xfail-ISO/time.h/linknamespace): Likewise.
20619         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20620         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20621         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20622         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20623         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20624         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20625         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20626         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20627         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20628         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20629         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20630         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20631         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20632         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20633         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20634         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20635         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20636         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20637         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20638         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20639         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20640         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20641         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20642         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20643         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20644         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20645         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20646         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20647         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20648         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20649         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20650         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20651         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20652         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20653         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20654         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20655         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20656         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20657         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20658         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20659         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20660         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20661         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20662         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20663         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20664         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20665         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20666         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20667         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20668         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20669         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20670         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20671         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20672         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20673         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20674         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20675         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20676         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20677         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20678         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20679         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20680         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20681         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20682         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20683         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20684         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20685         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20686         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20687         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20688         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20689         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20690         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20691         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20692         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20693         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20694         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20695         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20696         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20697         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20698         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20699         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20700         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20701         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20702         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20703         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20704         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20705         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20706         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20707         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20708         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20709         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20710         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20711         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20712         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20713         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20714         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20715         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20716         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20717         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20718         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20719         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20720         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20721         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20722         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20723         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20724         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20725         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20726         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20727         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20728         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20729         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20730         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20731         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20732         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20733         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20734         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20735         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20736         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20737         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20738         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20739         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20740         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20741         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20742         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20743         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20744         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20745         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20746         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20747         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20748         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20749         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20750         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20751         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20752         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20753         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20754         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20755         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20756         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20757         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20758         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20759         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20760         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20761         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20762         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20763         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20764         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20765         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20766         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20767         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20768         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20770         [BZ #17589]
20771         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20772         of fgets_unlocked.
20774         [BZ #17585]
20775         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20776         (memmem): Rename to __memmem and define as weak alias of
20777         __memmem.  Use libc_hidden_weak.
20778         (__memmem): Use libc_hidden_def.
20779         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20780         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20781         memmem.
20783         [BZ #17582]
20784         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20785         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20786         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20787         and define as weak alias of __fgets_unlocked.  Use
20788         libc_hidden_weak.
20789         (__fgets_unlocked): Use libc_hidden_def.
20790         * include/stdio.h (__fgets_unlocked): Declare.  Use
20791         libc_hidden_proto.
20792         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20793         __fgets_unlocked instead of fgets_unlocked.
20794         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20795         (GET_NPROCS_CONF_PARSER): Likewise.
20796         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20797         (GET_NPROCS_CONF_PARSER): Likewise.
20799         [BZ #17574]
20800         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20801         weak alias of __wmemset.  Use libc_hidden_weak.
20802         (__wmemset): Use libc_hidden_def.
20803         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20804         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20805         of wmemset.
20807         [BZ #17573]
20808         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20809         with asm name __mempcpy.
20810         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20812         [BZ #17572]
20813         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20814         and define as weak alias of __rawmemchr.
20815         (__rawmemchr): Do not define as strong alias of rawmemchr.
20817         [BZ #17571]
20818         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20819         alias of __qsort_r.
20820         (qsort): Call __qsort_r instead of qsort_r.
20821         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20822         (__qsort_r): Declare.  Call libc_hidden_proto.
20823         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20824         instead of qsort_r.
20825         * nscd/gai.c (__qsort_r): Define to qsort_r.
20826         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20827         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20828         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20830         [BZ #17570]
20831         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20832         define as weak alias of __malloc_info.
20834         [BZ #17584]
20835         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20836         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20837         (__rewinddir): Use libc_hidden_def.
20838         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20839         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20840         (__rewinddir): Use libc_hidden_def.
20841         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20842         weak alias of __rewinddir.  Don't use libc_hidden_def.
20843         (__rewinddir): Use libc_hidden_def.
20844         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20845         (__rewinddir): Use libc_hidden_proto.
20846         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20847         rewinddir.
20848         (__getcwd): Use __rewinddir instead of rewinddir.
20850         [BZ #17583]
20851         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20852         alias of __fileno.  Use libc_hidden_weak.
20853         (__fileno): Use libc_hidden_def.
20854         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20855         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20856         alias of __ftello.
20857         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20858         __ftello.
20859         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20860         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20861         libc_hidden_def.
20862         (fread_unlocked): Don't use libc_hidden_ver.
20863         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20864         and define as weak alias of __fread_unlocked.  Don't use
20865         libc_hidden_def.
20866         (__fread_unlocked): Use libc_hidden_def.
20867         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20868         (ftello): Don't use libc_hidden_proto.
20869         (__ftello): Declare.  Use libc_hidden_proto.
20870         (fread_unlocked): Don't use libc_hidden_proto.
20871         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20872         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20873         and __ftello instead of fileno, fread_unlocked and ftello.
20875 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20877         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20878         GOT12.
20879         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20880         Likewise.
20881         (_dl_start_user): Likewise.
20882         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20884 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20885             Siddhesh Poyarekar  <siddhesh@redhat.com>
20887         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20888         Move argv and envp down instead of moving argc up.
20889         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20891 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20893         [BZ #17506]
20894         * test-skeleton.c (main): Return successful if one of
20895         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20896         * string/tst-strcoll-overflow.c: Define expected status.
20898 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20900         [BZ #17475]
20901         * locale/iso-639.def: Define Bhili and Tulu language codes.
20903 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20905         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20907 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20909         [BZ #17555]
20910         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20912 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20914         * configure.ac: Updated check of minimal required version to
20915         2.22.
20916         * manual/install.texi (Tools for Compilation): Updated version
20917         number.
20918         * configure: Regenerated.
20919         * INSTALL: Likewise.
20921 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20923         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20924         __tls_get_addr.
20926 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20928         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20929         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20930         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20931         libc_hidden_weak.
20932         (waitpid): Define as alias of __waitpid.
20933         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20934         __waitpid.
20935         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20936         libc_hidden_weak.
20937         (waitpid): Define as alias of __waitpid.
20938         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20939         __libc_waitpid alias.
20940         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20941         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20942         Likewise.
20943         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20944         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20945         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20946         alias.
20947         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20948         __waitpid.
20949         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20950         libc_hidden_weak.
20951         (waitpid): Define as alias of __waitpid.
20953 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20955         * manual/llio.texi: Add comment that write safety has been
20956         fixed in Linux.
20958         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20959         (localplt-build-dso): Add elf/ld.so.
20960         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20961         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20962         and free for ld.so.
20963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20964         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20966         Likewise.
20967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20968         Likewise.
20969         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20970         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20971         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20972         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20973         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20974         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20975         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20976         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20977         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20978         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20979         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20981 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20983         [BZ #14132]
20984         * include/libc-symbols.h (INTUSE): Remove macro.
20985         (INTDEF): Likewise.
20986         (INTVARDEF): Likewise.
20987         (_INTVARDEF): Likewise.
20988         (INTDEF2): Likewise.
20989         (INTVARDEF2): Likewise.
20990         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20991         rtld_hidden_def instead of INTVARDEF.
20992         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20993         (_dl_starting_up_internal): Remove declaration.
20994         (_dl_starting_up): Use rtld_hidden_proto.
20995         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20996         declaration.
20997         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20998         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20999         _dl_starting_up.
21000         * elf/dl-writev.h (_dl_writev): Likewise.
21001         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21002         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21003         _dl_starting_up_internal.
21005 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21007         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21008         test-skeleton.c.
21010 2014-11-05  Will Newton  <will.newton@linaro.org>
21012         * benchtests/Makefile: (bench-malloc): Add malloc thread
21013         scalability benchmark.
21014         * benchtests/bench-malloc-threads.c: New file.
21016 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21018         * sysdeps/aarch64/strchrnul.S: New file.
21020 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21022         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21023         definition.
21024         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21025         Likwise.
21026         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21027         Likewise.
21028         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21029         Likewise.
21030         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21031         Likewise.
21032         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21033         Likewise.
21035 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21037         * catgets/test-gencat.c: Use test-skeleton.c.
21038         * catgets/tst-catgets.c: Likewise.
21039         * csu/tst-empty.c: Likewise.
21040         * elf/tst-audit2.c: Likewise.
21041         * elf/tst-global1.c: Likewise.
21042         * elf/tst-pathopt.c: Likewise.
21043         * elf/tst-piemod1.c: Likewise.
21044         * elf/tst-tls10.c: Likewise.
21045         * elf/tst-tls11.c: Likewise.
21046         * elf/tst-tls12.c: Likewise.
21047         * gnulib/tst-gcc.c: Likewise.
21048         * iconvdata/tst-e2big.c: Likewise.
21049         * iconvdata/tst-loading.c: Likewise.
21050         * iconv/tst-iconv1.c: Likewise.
21051         * iconv/tst-iconv2.c: Likewise.
21052         * inet/test-inet6_opt.c: Likewise.
21053         * inet/tst-gethnm.c: Likewise.
21054         * inet/tst-network.c: Likewise.
21055         * inet/tst-ntoa.c: Likewise.
21056         * intl/tst-codeset.c: Likewise.
21057         * intl/tst-gettext2.c: Likewise.
21058         * intl/tst-gettext3.c: Likewise.
21059         * intl/tst-ngettext.c: Likewise.
21060         * intl/tst-translit.c: Likewise.
21061         * io/test-stat.c: Likewise.
21062         * libio/test-fmemopen.c: Likewise.
21063         * libio/tst-freopen.c: Likewise.
21064         * libio/tst-sscanf.c: Likewise.
21065         * libio/tst-ungetwc1.c: Likewise.
21066         * libio/tst-ungetwc2.c: Likewise.
21067         * libio/tst-widetext.c: Likewise.
21068         * localedata/tst-ctype.c: Likewise.
21069         * localedata/tst-digits.c: Likewise.
21070         * localedata/tst-leaks.c: Likewise.
21071         * localedata/tst-mbswcs1.c: Likewise.
21072         * localedata/tst-mbswcs2.c: Likewise.
21073         * localedata/tst-mbswcs3.c: Likewise.
21074         * localedata/tst-mbswcs4.c: Likewise.
21075         * localedata/tst-mbswcs5.c: Likewise.
21076         * localedata/tst-setlocale.c: Likewise.
21077         * localedata/tst-trans.c: Likewise.
21078         * localedata/tst-wctype.c: Likewise.
21079         * localedata/tst-xlocale1.c: Likewise.
21080         * login/tst-grantpt.c: Likewise.
21081         * malloc/tst-calloc.c: Likewise.
21082         * malloc/tst-malloc.c: Likewise.
21083         * malloc/tst-mallocstate.c: Likewise.
21084         * malloc/tst-mcheck.c: Likewise.
21085         * malloc/tst-mtrace.c: Likewise.
21086         * malloc/tst-obstack.c: Likewise.
21087         * math/atest-exp2.c: Likewise.
21088         * math/atest-exp.c: Likewise.
21089         * math/atest-sincos.c: Likewise.
21090         * math/test-matherr.c: Likewise.
21091         * math/test-misc.c: Likewise.
21092         * math/test-powl.c: Likewise.
21093         * math/tst-definitions.c: Likewise.
21094         * misc/tst-dirname.c: Likewise.
21095         * misc/tst-efgcvt.c: Likewise.
21096         * misc/tst-fdset.c: Likewise.
21097         * misc/tst-hsearch.c: Likewise.
21098         * misc/tst-mntent2.c: Likewise.
21099         * nptl/tst-sem7.c: Likewise.
21100         * nptl/tst-sem8.c: Likewise.
21101         * nptl/tst-sem9.c: Likewise.
21102         * nss/test-netdb.c: Likewise.
21103         * posix/tst-fnmatch.c: Likewise.
21104         * posix/tst-getlogin.c: Likewise.
21105         * posix/tst-gnuglob.c: Likewise.
21106         * posix/tst-mmap.c: Likewise.
21107         * pwd/tst-getpw.c: Likewise.
21108         * resolv/tst-inet_ntop.c: Likewise.
21109         * rt/tst-timer.c: Likewise.
21110         * stdio-common/test-fseek.c: Likewise.
21111         * stdio-common/test-popen.c: Likewise.
21112         * stdio-common/test-vfprintf.c: Likewise.
21113         * stdio-common/tst-cookie.c: Likewise.
21114         * stdio-common/tst-fileno.c: Likewise.
21115         * stdio-common/tst-gets.c: Likewise.
21116         * stdio-common/tst-obprintf.c: Likewise.
21117         * stdio-common/tst-perror.c: Likewise.
21118         * stdio-common/tst-sprintf2.c: Likewise.
21119         * stdio-common/tst-sprintf3.c: Likewise.
21120         * stdio-common/tst-sprintf.c: Likewise.
21121         * stdio-common/tst-swprintf.c: Likewise.
21122         * stdio-common/tst-tmpnam.c: Likewise.
21123         * stdio-common/tst-unbputc.c: Likewise.
21124         * stdio-common/tst-wc-printf.c: Likewise.
21125         * stdlib/tst-environ.c: Likewise.
21126         * stdlib/tst-fmtmsg.c: Likewise.
21127         * stdlib/tst-limits.c: Likewise.
21128         * stdlib/tst-rand48-2.c: Likewise.
21129         * stdlib/tst-rand48.c: Likewise.
21130         * stdlib/tst-random2.c: Likewise.
21131         * stdlib/tst-random.c: Likewise.
21132         * stdlib/tst-strtol.c: Likewise.
21133         * stdlib/tst-strtoll.c: Likewise.
21134         * stdlib/tst-tls-atexit.c: Likewise.
21135         * stdlib/tst-xpg-basename.c: Likewise.
21136         * string/test-ffs.c: Likewise.
21137         * string/tst-bswap.c: Likewise.
21138         * string/tst-inlcall.c: Likewise.
21139         * string/tst-strtok.c: Likewise.
21140         * string/tst-strxfrm.c: Likewise.
21141         * sysdeps/x86_64/tst-audit10.c: Likewise.
21142         * sysdeps/x86_64/tst-audit3.c: Likewise.
21143         * sysdeps/x86_64/tst-audit4.c: Likewise.
21144         * sysdeps/x86_64/tst-audit5.c: Likewise.
21145         * time/tst-ftime_l.c: Likewise.
21146         * time/tst-getdate.c: Likewise.
21147         * time/tst-mktime3.c: Likewise.
21148         * time/tst-mktime.c: Likewise.
21149         * time/tst-posixtz.c: Likewise.
21150         * time/tst-strptime2.c: Likewise.
21151         * time/tst-strptime3.c: Likewise.
21152         * wcsmbs/tst-btowc.c: Likewise.
21153         * wcsmbs/tst-mbrtowc.c: Likewise.
21154         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21155         * wcsmbs/tst-wchar-h.c: Likewise.
21156         * wcsmbs/tst-wcpncpy.c: Likewise.
21157         * wcsmbs/tst-wcrtomb.c: Likewise.
21158         * wcsmbs/tst-wcsnlen.c: Likewise.
21159         * wcsmbs/tst-wcstof.c: Likewise.
21161 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21163         [BZ #14132]
21164         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21165         INTDEF.
21166         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21167         declaration.
21168         (_dl_mcount): Use rtld_hidden_proto.
21169         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21170         _dl_mcount.
21171         * elf/rtld.c (_rtld_global_ro): Likewise.
21173         [BZ #14132]
21174         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21175         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21176         of _dl_init_internal.
21177         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21178         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21179         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21180         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21181         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21182         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21183         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21184         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21185         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21186         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21187         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21188         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21189         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21190         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21191         * sysdeps/tile/dl-start.S (_start): Likewise.
21192         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21193         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21195         [BZ #14132]
21196         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21197         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21198         (rtld_progname): Make macro definition unconditional.
21199         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21200         INTDEF.
21201         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21202         (dl_main): Likewise.
21203         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21204         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21205         instead of _dl_argv_internal.
21206         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21207         __GI__dl_argv instead of INTUSE(_dl_argv).
21208         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21209         __GI__dl_argv instead of _dl_argv_internal.
21211         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21212         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21213         macro.
21214         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21215         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21216         New macro.
21217         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21218         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21219         macro.
21220         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21221         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21223 2014-11-04  Andreas Schwab  <schwab@suse.de>
21225         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21227 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21229         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21230         mtvsrd instruction in binary form.
21232 2014-11-03  Andreas Schwab  <schwab@suse.de>
21234         [BZ #17522]
21235         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21236         for less than MB_LEN_MAX use a local buffer of that size.
21237         * libio/tst-fputws.c: New file.
21238         * libio/Makefile (tests): Add tst-fputws.
21240 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21242         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21243         the size of the fpu_fr.fpu_dregs[] array.
21245 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21247         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21248         (__nanosleep): Do not define as alias.
21249         (nanosleep): Define as alias of __nanosleep.
21250         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21251         __libc_nanosleep name.
21253 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21255         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21256         install.texi in comment.
21258 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21260         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21261         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21262         ... add here and use lwsync or sync ...
21263         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21264         ... and add here using lwsync.
21266 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21268         * elf/dl-machine-reject-phdr.h: New file.
21269         * elf/dl-load.c: #include that.
21270         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21271         if that returned true.
21273 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21275         [BZ #17496]
21276         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21277         gen-as-const-headers chunk.  Add a big scare comment after the last
21278         safe place to touch before-compile.
21280 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21282         * manual/install.texi (Tools for Compilation): Update autoconf
21283         version requirements.
21284         * INSTALL: Regenerated.
21286         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21287         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21288         (__libc_pselect): Likewise.
21290         [BZ #14138]
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21296 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21298         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21299         correct barrier instruction.
21300         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21301         Likewise.
21302         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21303         Likewise.
21305 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21307         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21308         after defining inlines.  Instead, just use parens to defeat macro
21309         expansion of __isctype in its declaration.
21311 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21313         * include/sys/uio.h (__libc_readv): Remove declaration.
21314         (__libc_writev): Likewise.
21315         * misc/readv.c (__libc_readv): Rename to __readv.
21316         (__readv): Do not define as alias.
21317         (readv): Define as alias of __readv.
21318         * misc/writev.c (__libc_writev): Rename to __writev.
21319         (__writev): Do not define as alias.
21320         (writev): Define as alias of __writev.
21321         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21322         (__readv): Do not define as alias.
21323         (readv): Define unconditionally as alias of __readv.
21324         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21325         (__writev): Do not define as alias.
21326         (writev): Define unconditionally as alias of __writev.
21327         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21328         name.
21329         (writev): Do not define __libc_writev name.
21331 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21333         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21334         (convert_charseq): New function, broken out of ...
21335         (use_from_charmap): ... here.  Call it.
21336         (use_to_charmap): Use convert_charseq and free instead of duplicating
21337         its code with a variable-length stack struct.
21339 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21341         * include/fcntl.h (__libc_creat): Remove declaration.
21342         * io/creat.c (__libc_creat): Rename to creat.
21343         (creat): Do not define as alias.
21344         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21345         of creat instead of __libc_creat.
21346         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21347         to creat.
21348         (creat): Do not define as alias.
21349         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21350         __libc_creat.
21351         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21352         __libc_creat name.
21353         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21354         Likewise.
21356 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21358         * manual/llio.texi: Add comments discussing why write() may be
21359         considered MT-unsafe on Linux.
21361 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21363         * dl-load.c (local_strdup): Remove.
21364         (expand_dynamic_string_token): Use __strdup.
21365         (decompose_rpath): Likewise.
21366         (_dl_map_object): Likewise.
21368 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21370         [BZ #14132]
21371         * sysdeps/generic/unwind-dw2-fde.c
21372         (__register_frame_info_bases_internal): Do not declare.
21373         (__register_frame_info_table_bases_internal): Likewise.
21374         (__deregister_frame_info_bases_internal): Likewise.
21375         (__register_frame_info_bases): Declare and use hidden_proto before
21376         definition.  Use hidden_def instead of INTDEF.
21377         (__register_frame_info_table_bases): Likewise.
21378         (__deregister_frame_info_bases): Likewise.
21379         (__register_frame_info): Do not use INTUSE.
21380         (__register_frame): Likewise.
21381         (__register_frame_info_table): Likewise.
21382         (__register_frame_table): Likewise.
21383         (__deregister_frame_info): Likewise.
21384         (__deregister_frame): Likewise.
21386 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21388         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21389         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21390         not undefine.
21391         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21392         Likewise.
21393         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21394         Likewise.
21396 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21398         [BZ #14138]
21399         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21400         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21401         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21402         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21403         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21404         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21405         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21406         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21407         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21408         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21409         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21410         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21411         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21412         syscall.
21413         (setfsuid): Likewise.
21414         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21415         (setfsuid): Likewise.
21416         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21417         (setfsuid): Likewise.
21418         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21419         Likewise.
21420         (setfsuid): Likewise.
21421         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21422         (setfsuid): Likewise.
21423         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21424         Likewise.
21425         (setfsuid): Likewise.
21427 2014-10-27  Andreas Schwab  <schwab@suse.de>
21429         [BZ #17501]
21430         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21431         check for Slow_SSE4_2 feature bit.
21432         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21433         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21434         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21435         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21437 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21439         * configure.ac: Validate compiler version with a empirical test of
21440         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21441         $CC -v output.
21442         * configure: Regenerated.
21444         * inet/htons.c (htons): Prototypify.
21445         * inet/htonl.c (htonl): Likewise.
21447 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21449         * string/strncat.c (strncat): Improve performance by using strlen.
21451 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21453         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21455 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21457         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21458         Call libc_fetestexcept_aarch64.
21460 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21462         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21463         Call libc_feholdexcept_aarch64.
21465 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21467         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21468         Call get_rounding_mode.
21470 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21472         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21473         Simplify logic.
21475 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21477         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21478         Simplify logic.
21480 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21482         [BZ #14138]
21483         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21484         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21485         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21486         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21487         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21488         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21489         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21490         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21491         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21492         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21493         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21494         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21495         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21496         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21497         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21498         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21499         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21500         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21501         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21502         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21503         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21504         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21505         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21506         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21507         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21508         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21509         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21510         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21511         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21512         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21513         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21514         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21515         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21516         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21517         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21518         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21519         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21520         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21521         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21522         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21523         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21524         syscall.
21525         (geteuid): Likewise.
21526         (getgid): Likewise.
21527         (getuid): Likewise.
21528         (getresgid): Likewise.
21529         (getresuid): Likewise.
21530         (getgroups): Likewise.
21531         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21532         (geteuid): Likewise.
21533         (getgid): Likewise.
21534         (getuid): Likewise.
21535         (getresgid): Likewise.
21536         (getresuid): Likewise.
21537         (getgroups): Likewise.
21538         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21539         (geteuid): Likewise.
21540         (getgid): Likewise.
21541         (getuid): Likewise.
21542         (getresgid): Likewise.
21543         (getresuid): Likewise.
21544         (getgroups): Likewise.
21545         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21546         Likewise.
21547         (geteuid): Likewise.
21548         (getgid): Likewise.
21549         (getuid): Likewise.
21550         (getresgid): Likewise.
21551         (getresuid): Likewise.
21552         (getgroups): Likewise.
21553         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21554         (geteuid): Likewise.
21555         (getgid): Likewise.
21556         (getuid): Likewise.
21557         (getresgid): Likewise.
21558         (getresuid): Likewise.
21559         (getgroups): Likewise.
21560         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21561         Likewise.
21562         (geteuid): Likewise.
21563         (getgid): Likewise.
21564         (getuid): Likewise.
21565         (getgroups): Likewise.
21567         [BZ #14138]
21568         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21569         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21570         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21571         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21572         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21573         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21574         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21575         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21576         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21577         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21578         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21579         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21580         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21581         __chown.
21582         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21583         (lchown): Likewise.
21584         (fchown): Likewise.
21585         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21586         Likewise.
21587         (lchown): Likewise.
21588         (fchown): Likewise.
21589         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21590         (lchown): Likewise.
21591         (fchown): Likewise.
21592         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21593         Likewise.
21594         (lchown): Likewise.
21595         (fchown): Likewise.
21597 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21599         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21600         Simplify logic.
21602 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21604         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21605         Cleanup logic.
21607 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21609         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21610         Remove unused include.
21612 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21614         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21615         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21616         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21617         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21619 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21620             Helge Deller <deller@gmx.de>
21622         [BZ #17508]
21623         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21624         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21625         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21627 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21629         [BZ #14132]
21630         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21631         Remove macro definition.
21632         (__ashrdi3_v_glibc20): Likewise.
21633         (__lshrdi3_v_glibc20): Likewise.
21634         (__cmpdi2_v_glibc20): Likewise.
21635         (__ucmpdi2_v_glibc20): Likewise.
21636         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21637         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21638         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21639         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21640         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21641         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21643 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21645         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21646         old GNU extension [0] syntax.
21647         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21648         alloca rather than an array member with variable length.
21649         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21650         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21651         (parse_opt): ... here.  Likewise use alloca there.
21652         Validate the -i argument before checking for rootness.
21653         (send_shutdown): New function, broken out of ...
21654         (parse_opt): ... here.
21656 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21658         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21659         macro to get at the _rt_local_ro field.
21660         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21661         ([PIC] case) or _dl_hwcap ([!PIC] case).
21662         * sysdeps/arm/setjmp.S: Likewise.
21664         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21665         * sysdeps/arm/configure.ac: New check to define it.
21666         * sysdeps/arm/configure: Regenerated.
21667         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21668         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21669         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21670         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21671         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21672         Use move/movt pair instead of a load.
21673         (LDST_GLOBAL): Macro removed.
21674         (LDR_GLOBAL): New macro replaces it.
21675         (LDR_HIDDEN): New macro.
21676         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21677         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21679         * setjmp/tst-setjmp-static.c: New file.
21680         * setjmp/Makefile (tests): Add it.
21681         (tests-static): New variable.
21683 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21685         [BZ #17485]
21686         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21688 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21690         [BZ #14132]
21691         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21693 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21695         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21697 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21699         * io/fts.c (dirent_not_directory): New function.
21700         (fts_build): Call it.
21702 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21704         * nptl/version.c (__nptl_main): Use normal __write rather than
21705         INTERNAL_SYSCALL.
21706         (banner): Update copyright years.
21708         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21709         gettimeofday.
21710         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21711         * nptl/pthread_cond_timedwait.c: Likewise.
21712         * nptl/pthread_mutex_timedlock.c: Likewise.
21713         * nptl/sem_timedwait.c: Likewise.
21715         * sysdeps/nptl/bits/libc-lock.h
21716         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21717         (__libc_lock_init_recursive): Return void, not 0.
21718         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21719         (__libc_rwlock_init): Likewise.
21720         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21722 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21724         [BZ #15215]
21725         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21726         (__pthread_once_slow): ... here.
21727         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21728         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21730 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21732         [BZ #15215]
21733         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21734         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21735         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21736         * nptl/pthread_once.c (__pthread_once): Likewise.
21737         Update comments.
21739 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21741         [BZ #14138]
21742         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21743         name.
21744         (writev): Use __libc_writev as strong name.
21745         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21746         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21748 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21750         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21752         * sysdeps/i386/nptl/tls.h
21753         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21754         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21755         New macros.
21756         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21757         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21758         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21759         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21760         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21761         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21763         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21764         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21765         on [__NR_futex].
21766         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21767         broken out of ...
21768         (__pthread_mutex_init): ... here.  Call it.
21769         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21770         Conditionalize PI cases on [__NR_futex].
21771         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21772         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21773         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21775         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21776         conditional on [SIGSETXID].
21777         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21778         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21779         is defined.  Likewise for SIGSETXID.
21780         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21781         Conditionalize definitions on [SIGSETXID].
21782         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21783         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21784         unblocking on [SIGCANCEL].
21786         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21787         [__NR_set_robust_list].
21789 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21791         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21792         (do_compare): Likewise.
21794 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21796         [BZ #15884]
21797         * string/strcoll_l.c: Don't include stdio.h.
21798         (coll_seq): Remove members idxarr and rulearr.
21799         (get_next_seq_cached): Remove function.
21800         (get_next_seq): Likewise.
21801         (get_next_seq_nocache): Rename to get_next_seq.
21802         (do_compare): Remove function.
21803         (do_compare_nocache): Rename to do_compare.
21804         (STRCOLL): Remove weight and rules cache.
21806 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21808         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21809         * sysdeps/arm/sfp-machine.h: ... to here.
21810         * sysdeps/arm/Implies: Remove arm/soft-fp.
21812 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21814         * conform/data/sys/utsname.h-data (*_t): Allow.
21815         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21816         [POSIX] (WEXITED): Do not expect constant.
21817         [POSIX] (WSTOPPED): Likewise.
21818         [POSIX] (WNOHANG): Likewise.
21819         [POSIX] (WNOWAIT): Likewise.
21820         [POSIX] (siginfo_t): Do not expect type or elements.
21821         [POSIX] (pid_t): Do not expect type.
21822         [POSIX] (signal.h): Do not allow header.
21823         [POSIX] (sys/resource.h): Likewise.
21824         [POSIX] (si_*): Do not allow pattern.
21825         [POSIX] (W*): Likewise.
21826         [POSIX] (P_*): Likewise.
21827         [POSIX] (BUS_*): Likewise.
21828         [POSIX] (CLD_*): Likewise.
21829         [POSIX] (FPE_*): Likewise.
21830         [POSIX] (ILL_*): Likewise.
21831         [POSIX] (POLL_*): Likewise.
21832         [POSIX] (SEGV_*): Likewise.
21833         [POSIX] (SI_*): Likewise.
21834         [POSIX] (TRAP_*): Likewise.
21835         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21836         variable.
21838 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21840         [BZ #12926]
21841         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21842         infinite loop when __recvmsg returns 0.
21844 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21846         * CANCEL-FCT-WAIVE: Remove file.
21847         * CANCEL-FILE-WAIVE: Likewise.
21849         [BZ #14132]
21850         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21851         instead of INTVARDEF.
21852         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21853         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21854         rtld_hidden_data_def instead of INTVARDEF.
21855         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21856         * elf/dl-deps.c (expand_dst): Likewise.
21857         * elf/dl-load.c (_dl_dst_count): Likewise.
21858         (_dl_dst_substitute): Likewise.
21859         (decompose_rpath): Likewise.
21860         (_dl_init_paths): Likewise.
21861         (open_path): Likewise.
21862         (_dl_map_object): Likewise.
21863         * elf/rtld.c (dl_main): Likewise.
21864         (process_dl_audit): Likewise.
21865         (process_envvars): Likewise.
21866         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21867         Remove declaration.
21868         (__libc_enable_secure): Use rtld_hidden_proto.
21870 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21872         * elf/dl-load.c
21873         (add_path): New function broken out of _dl_rtld_di_serinfo.
21874         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21876 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21878         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21879         parentheses around macro arguments.
21880         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21883         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21884         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21885         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21886         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21887         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21888         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21889         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21890         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21891         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21892         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21893         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21894         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21895         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21896         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21897         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21898         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21901         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21903         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21905         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21906         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21907         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21908         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21909         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21910         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21911         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21912         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21913         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21914         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21915         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21916         Likewise.
21917         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21918         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21920         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21924         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21925         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21926         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21927         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21928         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21929         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21930         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21931         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21932         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21934         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21935         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21936         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21937         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21938         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21939         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21940         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21941         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21942         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21943         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21944         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21945         (_FP_FRAC_SRS_1): Likewise.
21946         (_FP_FRAC_CLZ_1): Likewise.
21947         (_FP_MUL_MEAT_1_imm): Likewise.
21948         (_FP_MUL_MEAT_1_wide): Likewise.
21949         (_FP_MUL_MEAT_1_hard): Likewise.
21950         (_FP_SQRT_MEAT_1): Likewise.
21951         (_FP_FRAC_ASSEMBLE_1): Likewise.
21952         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21953         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21954         (__FP_CLZ_2): Likewise.
21955         (_FP_MUL_MEAT_2_wide): Likewise.
21956         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21957         (_FP_MUL_MEAT_2_gmp): Likewise.
21958         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21959         (_FP_SQRT_MEAT_2): Likewise.
21960         (_FP_FRAC_ASSEMBLE_2): Likewise.
21961         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21962         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21963         (_FP_FRAC_CLZ_4): Likewise.
21964         (_FP_MUL_MEAT_4_wide): Likewise.
21965         (_FP_MUL_MEAT_4_gmp): Likewise.
21966         (_FP_SQRT_MEAT_4): Likewise.
21967         (_FP_FRAC_ASSEMBLE_4): Likewise.
21968         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21969         * soft-fp/op-common.h (_FP_CMP): Likewise.
21970         (_FP_CMP_EQ): Likewise.
21971         (_FP_CMP_UNORD): Likewise.
21972         (_FP_TO_INT): Likewise.
21973         (_FP_FROM_INT): Likewise.
21974         [!__FP_CLZ] (__FP_CLZ): Likewise.
21975         (_FP_DIV_HELP_imm): Likewise.
21976         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21977         Likewise.
21978         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21979         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21980         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21981         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21982         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21983         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21984         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21985         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21986         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21987         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21988         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21989         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21990         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21991         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21992         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21993         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21994         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21995         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21996         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21997         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21998         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21999         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22000         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22001         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22003         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22007         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22008         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22009         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22010         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22011         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22012         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22013         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22014         (FP_UNPACK_RAW_SP): Likewise.
22015         (FP_PACK_RAW_S): Likewise.
22016         (FP_PACK_RAW_SP): Likewise.
22017         (FP_UNPACK_S): Likewise.
22018         (FP_UNPACK_SP): Likewise.
22019         (FP_UNPACK_SEMIRAW_S): Likewise.
22020         (FP_UNPACK_SEMIRAW_SP): Likewise.
22021         (FP_PACK_S): Likewise.
22022         (FP_PACK_SP): Likewise.
22023         (FP_PACK_SEMIRAW_S): Likewise.
22024         (FP_PACK_SEMIRAW_SP): Likewise.
22025         (_FP_SQRT_MEAT_S): Likewise.
22026         (FP_CMP_S): Likewise.
22027         (FP_CMP_EQ_S): Likewise.
22028         (FP_CMP_UNORD_S): Likewise.
22029         (FP_TO_INT_S): Likewise.
22030         (FP_FROM_INT_S): Likewise.
22032         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22034         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22035         (FP_EX_INVALID_IMZ): Likewise.
22036         (FP_EX_INVALID_IMZ_FMA): Likewise.
22037         (FP_EX_INVALID_ISI): Likewise.
22038         (FP_EX_INVALID_ZDZ): Likewise.
22039         (FP_EX_INVALID_IDI): Likewise.
22040         (FP_EX_INVALID_SQRT): Likewise.
22041         (FP_EX_INVALID_CVI): Likewise.
22042         (FP_EX_INVALID_VC): Likewise.
22043         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22044         "invalid" exceptions.
22045         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22046         (_FP_ADD_INTERNAL): Likewise.
22047         (_FP_MUL): Likewise.
22048         (_FP_FMA): Likewise.
22049         (_FP_DIV): Likewise.
22050         (_FP_CMP_CHECK_NAN): Likewise.
22051         (_FP_SQRT): Likewise.
22052         (_FP_TO_INT): Likewise.
22053         (FP_EXTEND): Likewise.
22055 2014-10-09  Allan McRae  <allan@archlinux.org>
22057         * po/fr.po: Update French translation from translation project.
22059 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22061         [BZ #14132]
22062         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22063         of INTDEF.
22064         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22065         (__cxa_atexit): Use libc_hidden_proto.
22066         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22068         [BZ #14132]
22069         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22070         declaration.
22071         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22072         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22073         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22074         [!_ISOMAC] (__iswctype_internal): Likewise.
22075         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22076         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22077         alias.
22078         (fcntl): Remove __fcntl_internal alias.
22079         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22080         __connect_internal alias.
22081         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22082         Likewise.
22084         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22085         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22086         FP_DENORM_ZERO.
22087         (_FP_CHECK_FLUSH_ZERO): New macro.
22088         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22089         (_FP_CMP): Likewise.
22090         (_FP_CMP_EQ): Likewise.
22091         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22092         FP_DENORM_ZERO.
22093         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22094         (FP_TRUNC): Likewise.
22096         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22097         treated as invalid conversion, not as normal exponent.
22099         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22100         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22101         (_FP_CMP_EQ): Likewise.
22102         (_FP_CMP_UNORD): Likewise.
22103         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22104         (FP_CMP_EQ_D): Likewise.
22105         (FP_CMP_UNORD_D): Likewise.
22106         * soft-fp/extended.h (FP_CMP_E): Likewise.
22107         (FP_CMP_EQ_E): Likewise.
22108         (FP_CMP_UNORD_E): Likewise.
22109         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22110         (FP_CMP_EQ_Q): Likewise.
22111         (FP_CMP_UNORD_Q): Likewise.
22112         * soft-fp/single.h (FP_CMP_S): Likewise.
22113         (FP_CMP_EQ_S): Likewise.
22114         (FP_CMP_UNORD_S): Likewise.
22115         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22116         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22117         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22118         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22119         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22120         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22121         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22122         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22123         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22124         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22125         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22126         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22127         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22128         to FP_CMP_Q.
22129         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22130         FP_CMP_Q.
22131         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22132         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22133         FP_CMP_EQ_Q.
22134         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22135         FP_CMP_Q.
22136         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22137         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22138         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22139         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22140         FP_CMP_EQ_Q.
22141         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22142         FP_CMP_Q.
22143         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22144         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22145         FP_CMP_EQ_Q.
22146         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22147         FP_CMP_Q.
22148         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22149         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22150         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22151         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22152         FP_CMP_EQ_Q.
22154         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22155         a subnormal result, set the underflow exception if trapping on
22156         underflow is enabled.
22157         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22158         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22159         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22160         redefine to 0.
22161         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22162         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22163         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22164         * soft-fp/extendxftf2.c (__extendxftf2): Use
22165         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22167         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22168         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22169         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22170         FP_HANDLE_EXCEPTIONS.
22171         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22172         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22173         FP_HANDLE_EXCEPTIONS.
22174         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22175         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22176         FP_HANDLE_EXCEPTIONS.
22177         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22178         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22179         FP_HANDLE_EXCEPTIONS.
22181 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22183         [BZ #14132]
22184         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22185         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22186         use INTUSE.
22187         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22188         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22189         Remove alias.
22190         (__adjtimex): Define using libc_hidden_ver.
22191         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22192         Remove declaration.
22193         (ntp_gettime): Call __adjtimex directly.
22194         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22195         Remove declaration.
22196         (ntp_gettimex): Call __adjtimex directly.
22197         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22198         __adjtimex_internal alias.
22200 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22202         [BZ #17460]
22203         * nscd/nscd.c (more_help): Rewrite list of tables collection
22204         using xstrdup and asprintf.
22206         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22208 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22209             Roland McGrath  <roland@hack.frob.com>
22211         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22212         (do_lookup_unique): ... local function 'enter' here; update callers.
22214 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22216         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22217         compat_symbol calls on [SHARED].
22218         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22219         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22220         Remove.
22221         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22222         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22223         (oldsetrlimit): Remove.
22224         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22226         (lchown): New syscall entry.
22227         (oldsetrlimit): Remove.
22228         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22230         (oldsetrlimit): Remove.
22231         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22233         [BZ #14138]
22234         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22235         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22236         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22237         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22238         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22239         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22240         (fchown): Likewise.
22241         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22242         (fchown): Likewise.
22243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22244         Likewise.
22246 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22248         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22249         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22250         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22251         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22252         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22253         Likewise.
22254         (__old_sem_post): Likewise.
22256 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22258         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22259         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22260         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22261         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22262         Use INLINE_VSYSCALL macro.
22263         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22264         __vdso_clock_gettime.
22265         * sysdeps/unix/sysv/linux/tile/init-first.c
22266         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22267         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22268         __vdso_clock_gettime.
22270         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22271         to set up frame more cleanly.
22273         * sysdeps/tile/memcmp.c: New file.
22275         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22277         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22278         * sysdeps/tile/tilegx/strcasestr.c: New file.
22279         * sysdeps/tile/tilegx/strnlen.c: New file.
22280         * sysdeps/tile/tilegx/strstr.c: New file.
22282         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22284 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22286         * nptl/tst-setuid3.c: Write errors to stdout.
22288 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22290         * elf/dl-deps.c
22291         (preload): New functions broken out of _dl_map_object_deps.
22292         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22294 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22296         [BZ #14138]
22297         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22298         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22300 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22302         * sysdeps/mips/strcmp.S: New.
22304 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22306         [BZ #14138]
22307         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22308         (linkat): Likewise.
22309         (mkdirat): Likewise.
22310         (readlinkat): Likewise.
22311         (renameat): Likewise.
22312         (symlinkat): Likewise.
22313         (unlinkat): Likewise.
22314         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22315         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22316         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22317         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22318         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22319         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22320         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22322 2014-09-30  Will Newton  <will.newton@linaro.org>
22324         * math/math.h: Define long double math functions if
22325         _LIBC_TEST is defined.
22326         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22328         * localedata/Makefile: Move assignment to tests-special
22329         into an ifdef testing run-built-tests.
22330         * timezone/Makefile: Likewise.
22332 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22334         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22335         with $(BASH) not $(SHELL).
22337 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22338             Matthew LeGendre  <legendre1@llnl.gov>
22340         [BZ #17411]
22341         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22342         l_reloc_result.
22344 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22346         * stdio-common/printf_fp.c
22347         (hack_digit): New function, broken out of ...
22348         (__printf_fp): ... local function here.  Update call sites.
22349         hack_digit now takes an additional parameter that is a pointer
22350         to a struct of the referenced locals.  Those locals moved inside
22351         the struct and references updated.
22353 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22355         * aclocal.m4: Require autoconf 2.69.
22356         * configure: Regenerated.
22357         * sysdeps/aarch64/configure: Likewise.
22358         * sysdeps/alpha/configure: Likewise.
22359         * sysdeps/arm/armv7/configure: Likewise.
22360         * sysdeps/arm/configure: Likewise.
22361         * sysdeps/ia64/configure: Likewise.
22362         * sysdeps/mach/configure: Likewise.
22363         * sysdeps/mips/configure: Likewise.
22364         * sysdeps/s390/configure: Likewise.
22365         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22368         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22369         file.
22370         * sysdeps/ia64/configure.ac: Likewise.
22372 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22375         specify symbol version for ld.so.  Do not include entry for
22376         libpthread.
22377         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22378         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22379         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22381         [BZ #14171]
22382         * Makeconfig [$(build-shared) = yes]
22383         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22384         makefiles.
22385         [$(build-shared) = yes && $(soversions.mk-done) = t]
22386         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22387         [$(build-shared) = yes && $(soversions.mk-done) = t]
22388         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22389         to Makerules.
22390         [$(build-shared) = yes && $(soversions.mk-done) = t]
22391         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22392         here.
22393         [$(build-shared) = yes && $(soversions.mk-done) = t]
22394         (common-generated): Don't append gnu/lib-names.h and
22395         gnu/lib-names.stmp here.
22396         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22397         (lib-names-h-abi): New variable.
22398         [$(build-shared) = yes && $(soversions.mk-done) = t]
22399         (lib-names-stmp-abi): Likewise.
22400         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22401         abi-variants] (before-compile): Append
22402         $(common-objpfx)$(lib-names-h-abi).
22403         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22404         abi-variants] (common-generated): Append gnu/lib-names.h.
22405         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22406         abi-variants] (install-others-nosubdir): Depend on
22407         $(inst_includedir)/$(lib-names-h-abi).
22408         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22409         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22410         [$(build-shared) = yes && $(soversions.mk-done) = t]
22411         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22412         [$(build-shared) = yes && $(soversions.mk-done) = t]
22413         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22414         [$(build-shared) = yes && $(soversions.mk-done) = t]
22415         (common-generated): Append $(lib-names-h-abi) and
22416         $(lib-names-stmp-abi).
22417         * scripts/lib-names.awk: Do not handle multi being set.
22418         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22419         Remove variable.
22420         (abi-lp64_be-ld-soname): Likewise.
22421         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22422         Likewise.
22423         (abi-hard-ld-soname): Likewise.
22424         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22425         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22426         Remove variable.
22427         (abi-o32_hard-ld-soname): Likewise.
22428         (abi-o32_soft_2008-ld-soname): Likewise.
22429         (abi-o32_hard_2008-ld-soname): Likewise.
22430         (abi-n32_soft-ld-soname): Likewise.
22431         (abi-n32_hard-ld-soname): Likewise.
22432         (abi-n32_soft_2008-ld-soname): Likewise.
22433         (abi-n32_hard_2008-ld-soname): Likewise.
22434         (abi-n64_soft-ld-soname): Likewise.
22435         (abi-n64_hard-ld-soname): Likewise.
22436         (abi-n64_soft_2008-ld-soname): Likewise.
22437         (abi-n64_hard_2008-ld-soname): Likewise.
22438         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22439         Likewise.
22440         (abi-64-v2-ld-soname): Likewise.
22441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22442         ld.so entries.
22443         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22444         variable.
22445         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22446         entry.
22447         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22448         variable.
22449         (abi-64-ld-soname): Likewise.
22450         (abi-x32-ld-soname): Likewise.
22451         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22452         entry.
22453         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22455 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22457         [BZ #14138]
22458         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22459         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22460         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22461         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22462         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22463         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22464         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22465         syscall entry for GLIBC_2.2 symbol version.
22466         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22467         Likewise.
22468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22469         (setrlimit): Likewise.
22470         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22471         Likewise.
22473 2014-09-23  Will Newton  <will.newton@linaro.org>
22475         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22476         _LINUX_ARM_SYSDEP_H include guard too.
22477         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22478         define.
22480 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22482         * sysdeps/unix/sysv/linux/eventfd.c:
22483         Make first argument unsigned.
22484         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22485         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22487 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22489         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22490         * socket/sys/socket.h: Likewise.
22491         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22493 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22495         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22497 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22499         * time/tst-ftime.c: New test.
22500         * time/Makefile (tests): Add tst-ftime.
22502 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22504         * soft-fp/extended.h: Fix comment formatting.
22505         * soft-fp/op-1.h: Likewise.
22506         * soft-fp/op-2.h: Likewise.
22507         * soft-fp/op-4.h: Likewise.
22508         * soft-fp/op-8.h: Likewise.
22509         * soft-fp/op-common.h: Likewise.
22510         * soft-fp/soft-fp.h: Likewise.
22512         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22514 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22516         [BZ #6652]
22517         * Makeconfig (soversions-default-setname): Remove variable.
22518         ($(common-objpfx)soversions.i): Don't pass default_setname to
22519         soversions.awk.
22520         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22521         oldest_abi to abi-versions.awk.
22522         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22523         * config.make.in (oldest-abi): Remove variable.
22524         * configure.ac (--enable-oldest-abi): Remove configure option.
22525         * configure: Regenerated.
22526         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22527         text.
22528         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22529         * scripts/soversions.awk: Do not handle default_setname variable.
22530         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22531         variable.
22532         * sysdeps/mach/hurd/configure: Regenerated.
22533         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22534         variable.
22535         * sysdeps/unix/sysv/linux/configure: Regenerated.
22537 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22539         * elf/Makefile (CFLAGS-interp.c): Remove.
22540         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22541         path string.
22542         * elf/interp.c: Include generated runtime-linker.h
22544         * Makerules (lib%.so): Don't include $(+interp) in
22545         prerequisites.
22546         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22547         * dlfcn/eval.c: Remove file.
22549         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22550         macros.
22552         [BZ #17266]
22553         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22554         4.2 and newer.
22556         [BZ #17370]
22557         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22559 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22560             Jakub Jelinek  <jakub@redhat.com>
22562         [BZ #17266]
22563         * libio/stdio.h: Check definition of __fortify_function
22564         instead of __extern_always_inline to include bits/stdio2.h.
22565         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22566         check if __extern_always_inline is defined.
22567         [__USE_MISC || __USE_XOPEN]: Likewise.
22568         [__USE_ISOC99] Likewise.
22569         * misc/sys/cdefs.h (__fortify_function): Define only if
22570         __extern_always_inline is defined.
22571         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22572         __extern_always_inline and __extern_inline only for g++-4.3
22573         and newer or a compatible gcc.
22575 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22577         [BZ #17371]
22578         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22579         last change to handle zero prefix length.
22581 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22583         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22584         _SC_REGEX_VERSION.
22586         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22587         _POSIX_RAW_SOCKETS.
22589 2014-09-13  Allan McRae  <allan@archlinux.org>
22591         * po/ru.po: Update Russian translation from translation project.
22593 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22595         * locale/programs/locale.c (show_locale_vars): Inline local function
22596         into its sole call site.  Clean up some style nits.
22597         (print_item): New function, broken out of ...
22598         (show_info): ... local function here.  Clean up style nits.
22600         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22601         out of ...
22602         (set_class_defaults): ... local function set_default here.
22603         Define set_default as a macro locally to pass constant parameters.
22604         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22605         rather than a shared local.
22607         * stdlib/rpmatch.c (try): New function, broken out of ...
22608         (rpmatch): ... local function here.  Also, prototypify definition.
22610 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22612         * scripts/soversions.awk: Do not handle configuration names.
22613         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22614         vendor and os variables to soversions.awk.
22615         * configure.ac: Do not modify gnu-* host_os.
22616         * configure: Regenerated
22617         * shlib-versions: Remove first column with configuration names.
22618         * nptl/shlib-versions: Likewise.
22619         * nptl_db/shlib-versions: Likewise.
22620         * sysdeps/hppa/shlib-versions: Likewise.
22621         * sysdeps/m68k/shlib-versions: Likewise.
22622         * sysdeps/mach/hurd/shlib-versions: Likewise.
22623         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22624         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22625         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22626         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22627         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22628         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22629         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22630         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22632         Likewise.
22633         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22634         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22635         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22636         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22637         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22638         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22639         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22640         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22643         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22645         Regenerated.
22646         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22648         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22650         * shlib-versions: Remove OS-specific entries.  Moved to files in
22651         sysdeps.
22652         * sysdeps/mach/hurd/shlib-versions: New file.
22653         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22655         * nptl/shlib-versions: Remove architecture-specific entries.
22656         Moved to files in sysdeps.
22657         * shlib-versions: Likewise.
22658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22659         file.
22660         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22661         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22662         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22663         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22665         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22666         (UDP_NO_CHECK6_RX): Likewise.
22668 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22670         * sysdeps/posix/sysconf.c (__sysconf): Spell
22671         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22673 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22675         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22676         loading.
22677         * iconv/Versions (__gconv_transliterate): Export for use from
22678         gconv modules.
22679         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22680         (struct __gconv_trans_data, __gconv_trans_fct,
22681         __gconv_trans_context_fct, __gconv_trans_query_fct,
22682         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22683         definitions.
22684         (struct __gconv_step_data): Remove __trans member.
22685         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22686         longer hidden.  Remove unused trans_data argument.
22687         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22688         (__gconv_translit_find): Remove declaration.
22689         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22690         prototype.
22691         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22692         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22693         trans_data argument.  Add hidden definition.
22694         (__gconv_translit_find): Remove.
22695         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22696         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22697         * iconv/skeleton.c: Remove transliteration initialization.
22698         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22699         __gconv_step_data initialization.
22700         * libio/iofwide.c (__libio_translit_): Remove.
22701         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22702         * wcsmbs/btowc.c (__btowc): Likewise.
22703         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22704         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22705         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22706         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22707         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22708         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22709         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22710         * wcsmbs/wctob.c (wctob): Likewise.
22712 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22714         [BZ #16194]
22715         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22716         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22717         register usage.
22718         * sysdeps/x86/Makefile: Adjust.
22720 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22721             Roland McGrath  <roland@hack.frob.com>
22723         * locale/weight.h: Add include guard.
22724         (findidx): Make static rather than auto; take new parameters
22725         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22726         * locale/weightwc.h: Likewise.
22727         * posix/fnmatch_loop.c
22728         (FCT): Change type of EXTRA from int32_t to wint_t.
22729         Don't include either header inside the function.
22730         Call FINDIDX rather than findidx, and pass new arguments.
22731         #undef FINDIDX at the end of the file.
22732         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22733         FINDIDX before including fnmatch_loop.c for the non-wide version.
22734         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22735         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22736         for the wide version.
22737         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22738         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22739         Pass new arguments to findidx.
22740         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22741         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22742         Don't #include it inside the function.  Pass new arguments to findidx.
22743         * posix/regex_internal.h
22744         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22745         (re_string_elem_size_at): Don't #include it inside the function.
22746         Pass new arguments to findidx.
22747         * string/strcoll_l.c: #include WEIGHT_H at top level.
22748         (get_next_seq): Don't #include it inside the function.
22749         Pass new arguments to findidx.
22750         (get_next_seq_nocache): Likewise.
22751         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22752         (STRXFRM): Don't #include it inside the function.
22753         Pass new arguments to findidx.
22755 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22757         [BZ #17344]
22758         * malloc/malloc.c (unlink): Turn asserts into a call to
22759         malloc_printerr.
22761 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22763         [BZ #17370]
22764         * libio/wfileops (do_ftell_wide): Free OUT.
22766 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22768         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22770 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22772         [BZ #17363]
22773         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22774         group if the current group is empty.
22776 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22778         * benchtests/bench-memset.c (test_main): Add more test from size
22779         from 32 to 512 bytes.
22780         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22781         Add POWER8 memset object.
22782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22783         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22784         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22785         implementation.
22786         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22787         Likewise.
22788         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22789         multiarch POWER8 memset optimization.
22790         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22791         POWER8 memset optimization.
22793         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22794         Remove bzero multiarch objects.
22795         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22796         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22797         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22798         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22799         Remove define.
22800         [__bzero]: Redefine to specific name.
22801         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22802         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22803         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22804         define.
22805         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22806         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22808 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22810         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22811         warnings into errors.
22813         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22814         __cxa_thread_atexit_impl prototype.
22816 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22818         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22819         Fix capitalization of error message.
22821 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22823         * sysdeps/mips/preconfigure: Modify ABI tests.
22825 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22827         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22829 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22830             Carlos O'Donell  <carlos@systemhalted.org>
22832         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22833         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22834         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22835         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22836         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22837         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22838         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22839         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22840         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22841         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22842         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22843         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22844         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22845         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22846         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22847         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22848         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22849         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22850         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22851         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22852         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22853         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22854         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22855         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22856         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22857         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22858         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22859         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22860         Deconditionalize the code that was previously under [RESET_PID].
22861         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22862         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22863         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22864         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22865         include sysdep.h.
22867 2014-09-08  Allan McRae  <allan@archlinux.org>
22869         * version.h (RELEASE): Set to "development".
22870         (VERSION): Set to "2.20.90"
22872 2014-09-07  Allan McRae  <allan@archlinux.org
22874         * version.h (RELEASE): Set to "stable".
22875         (VERSION): Set to "2.20"
22876         * include/features.h (__GLIBC_MINOR__): Set to 20.
22878         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22879         Liebler.
22881         * po/ko.po: Update Korean translation from translation project.
22883 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22885         [BZ #17354]
22886         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22887         macro for handling signed relocations.
22889 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22891         [BZ #17325]
22892         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22893         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22894         assert.
22895         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22896         * iconvdata/ibm935.c (BODY): Likewise.
22897         * iconvdata/ibm937.c (BODY): Likewise.
22898         * iconvdata/ibm939.c (BODY): Likewise.
22899         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22900         assert.
22901         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22902         script.
22903         * iconvdata/run-iconv-test.sh: New test loop for checking for
22904         decoder crashers.
22906 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22908         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22909         libm_hidden_ver.
22911 2014-09-01  Allan McRae  <allan@archlinux.org>
22913         * po/eo.po: Update Esperanto translation from translation project.
22915         * po/ca.po: Update Catalan translation from translation project.
22917 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22919         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22920         __proc_dostop call.
22922 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22924         [BZ #17319]
22925         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22926         to call set_thread_area instead of hand written asm.
22927         (__NR_set_thread_area): Removed define.
22928         (TLS_FLAG_WRITABLE): Likewise.
22929         (__ASSUME_SET_THREAD_AREA): Remove check.
22930         (TLS_EBX_ARG): Remove define.
22931         (TLS_LOAD_EBX): Likewise.
22933 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22935         Simplify atomicity of socket creation in bind.
22937         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22938         looking up the name after linking the file.
22940 2014-08-27  Allan McRae  <allan@archlinux.org>
22942         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22944 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22946         [BZ #17187]
22947         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22948         trans_compare, open_translit, __gconv_translit_find):
22949         Remove module loading code.
22951 2014-08-26  Allan McRae  <allan@archlinux.org>
22953         * po/vi.po: Update Vietnamese translation from translation project.
22955         * po/uk.po: Update Ukrainian translation from translation project.
22957         * po/fr.po: Update French translation from translation project.
22959         * po/ru.po: Update Russian translation from translation project.
22961         * po/pl.po: Update Polish translation from translation project.
22963         * po/cs.po: Update Czech translation from translation project.
22965         * po/de.po: Update German translation from translation project.
22967         * po/bg.po: Update Bulgarian translation from translation project.
22969         * po/sv.po: Update Sweedish translation from translation project.
22971         * po/nl.po: Update Dutch translation from translation project.
22973         * po/es.po: Update Spanish translation from translation project.
22975 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22977         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22979         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22980         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22981         (CPPFLAGS-iconvconfig): Likewise.
22982         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22984         * include/libc-symbols.h: Remove unnecessary check for
22985         NOT_IN_libc.
22986         * nptl/pthreadP.h: Likewise.
22987         * sysdeps/aarch64/setjmp.S: Likewise.
22988         * sysdeps/alpha/setjmp.S: Likewise.
22989         * sysdeps/arm/sysdep.h: Likewise.
22990         * sysdeps/i386/setjmp.S: Likewise.
22991         * sysdeps/m68k/setjmp.c: Likewise.
22992         * sysdeps/posix/getcwd.c: Likewise.
22993         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22994         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22995         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22996         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22997         * sysdeps/sh/sh3/setjmp.S: Likewise.
22998         * sysdeps/sh/sh4/setjmp.S: Likewise.
22999         * sysdeps/unix/alpha/sysdep.h: Likewise.
23000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23001         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23002         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23003         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23008         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23010         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23011         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23013         * sysdeps/x86_64/setjmp.S: Likewise.
23015 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23017         [BZ #17263]
23018         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23019         <stdint.h>.
23020         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23021         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23023 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23025         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23027         [BZ #17262]
23028         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23029         and __x86_64__ when disabling x87 inline functions.
23031 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23033         [BZ #17259]
23034         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23035         asm statement with __cpuid_count.
23037 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23039         * configure.ac: Change __ehdr_start code to dereference the struct.
23040         Run readelf on the output to look for relocations.
23041         * configure: Regenerated.
23043 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23045         [BZ #17261]
23046         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23047         value to 0.
23048         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23050 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23052         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23054 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23056         [BZ #16892]
23057         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23058         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23060 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23062         * malloc/malloc.c: Fix typo in comment.
23064 2014-08-09  Allan McRae  <allan@archlinux.org>
23066         * Regenerate libc.po.
23068 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23070         * intl/tst-gettext2.sh: Check every lang file for creation.
23072 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23074         * sysdeps/aarch64/fpu/math_private.h
23075         (libc_feholdsetround_noex_aarch64_ctx): New function.
23077 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23079         * sysdeps/arm/armv6/strcpy.S (strcpy):
23080         Fix performance issue in misaligned cases.
23082 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23084         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23085         Move definition from termios.h.
23086         (struct termio): Likewise.
23087         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23088         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23089         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23090         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23091         Likewise.
23092         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23093         Move definition to ioctl-types.h
23094         (struct termio): Likewise.
23095         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23096         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23097         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23098         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23099         Likewise.
23101 2014-08-05  Richard Henderson  <rth@redhat.com>
23103         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23104         exceptions.
23105         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23106         Add fraiseexcpt.
23107         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23108         Use __feraiseexcept.
23109         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23110         Protect libm symbols with IS_IN_libm.
23112         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23114 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23116         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23118 2014-08-04  Will Newton  <will.newton@linaro.org>
23120         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23121         file.
23123 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23125         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23126         variants for each function.
23128 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23130         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23131         appended ...
23132         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23133         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23134         appended ...
23135         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23136         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23137         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23138         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23139         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23140         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23141         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23142         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23143         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23144         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23145         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23146         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23147         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23148         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23149         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23150         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23151         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23152         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23153         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23154         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23155         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23156         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23157         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23158         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23159         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23160         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23161         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23162         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23163         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23164         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23165         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23166         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23167         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23168         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23169         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23170         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23171         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23172         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23173         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23174         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23175         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23176         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23177         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23178         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23179         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23180         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23181         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23182         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23183         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23185         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23186         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23187         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23188         Update #include.
23189         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23190         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23192 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23194         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23195         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23196         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23197         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23198         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23199         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23201 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23203         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23204         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23205         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23206         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23208 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23210         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23211         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23212         (__libc_vfork): Define function under this name.
23213         (__vfork): Define as an alias.
23214         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23215         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23217 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23219         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23220         that was previously under [RESET_PID].
23221         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23223 2014-08-04  Andreas Schwab  <schwab@suse.de>
23225         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23227 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23229         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23230         (main): Likewise.
23232 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23234         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23236 2014-08-01  Richard Henderon  <rth@redhat.com>
23238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23239         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23240         typo in exact zero test.
23241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23242         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23243         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23245 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23247         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23248         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23249         * sysdeps/arm/sysdep.h: ... here.
23250         [!__ASSEMBLER__]: Include <stdint.h>.
23252 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23254         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23255         (HAVE_WCTYPE_H): Likewise.
23256         (HAVE_ISWCTYPE): Likewise.
23257         (ENABLE_NLS): Likewise.
23258         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23259         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23261         * posix/regex_internal.c: Check if DEBUG is defined and is
23262         set.
23264         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23265         (HAVE_MBSRTOWCS): Likewise.
23266         * posix/fnmatch.c: Include string.h unconditionally.
23268 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23270         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23271         reversal.
23273 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23275         * sysdeps/generic/safe-fatal.h: New file.
23276         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23277         * nptl/forward.c: Include it.
23278         (__pthread_unwind): Use __safe_fatal as default action, rather
23279         than a bogus use of INTERNAL_SYSCALL that could never work.
23281         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23282         * configure.ac (libc_cv_builtin_trap): New test.
23283         * configure: Regenerated.
23284         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23285         (ABORT_INSTRUCTION): Define using __builtin_trap.
23287         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23288         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23289         * sysdeps/nptl/nptl-signals.h: New file.
23290         * nptl/pthreadP.h: Include <nptl-signals.h>.
23292 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23294         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23295         (ONE_DIRECTION): Define.
23296         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23297         (ONE_DIRECTION): Define.
23298         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23299         (ONE_DIRECTION): Define.
23301 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23303         * sysdeps/s390/Makefile: Delete file.
23304         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23305         * sysdeps/s390/__longjmp.c: Delete file.
23306         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23307         Remove fields __flags and __reserved.
23308         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23309         and add versioning.
23310         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23311         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23312         * sysdeps/s390/rtld-setjmp.S: Likewise.
23313         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23314         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23315         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23316         * sysdeps/s390/s390-32/setjmp.S: ... here.
23317         Add versioning.
23318         (__sigsetjmp): Remove setting __flags field.
23319         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23320         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23321         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23322         * sysdeps/s390/s390-64/setjmp.S: ... here.
23323         Add versioning.
23324         (__sigsetjmp): Remove setting __flags field.
23325         * sysdeps/s390/setjmp.S: Delete file.
23326         * sysdeps/s390/sigjmp.c: Likewise.
23327         * sysdeps/s390/v1-longjmp.c: Likewise.
23328         * sysdeps/s390/v1-setjmp.h: Likewise.
23329         * sysdeps/s390/v1-sigjmp.c: Likewise.
23330         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23331         Remove v1-longjmp_chk.
23332         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23333         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23334         Include debug/longjmp_chk.c and add versioning.
23335         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23336         Include nptl/pt-longjmp.c and add versioning.
23337         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23338         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23339         Include __longjmp.c.
23340         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23341         Move to ...
23342         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23343         (__getcontext): Remove setting __flags field.
23344         Add versioning.
23345         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23346         Don't restore upper high grps.
23347         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23348         Likewise.
23349         (__swapcontext): Remove setting uc_flags field.
23350         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23351         Delete file.
23352         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23353         Include __longjmp.c.
23354         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23355         Move to ...
23356         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23357         (__getcontext): Remove setting __flags field.
23358         Add versioning.
23359         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23360         (__swapcontext): Remove setting uc_flags field.
23361         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23362         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23363         Remove fields uc_high_gprs and __reserved.
23364         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23365         New file with reverted content.
23366         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23367         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23368         Regenerated.
23369         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23370         Regenerated.
23372 2014-07-31  Andreas Schwab  <schwab@suse.de>
23374         * config.h.in (HAVE_IFUNC): Define to 0.
23375         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23376         definedness.
23378 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23381         memmove-avx-unaligned, memcpy-avx-unaligned and
23382         mempcpy-avx-unaligned.
23383         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23384         Add tests for AVX memcpy functions.
23385         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23386         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23387         memcpy_chk.
23388         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23389         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23390         memmove_chk.
23391         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23392         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23393         mempcpy_chk.
23394         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23395         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23396         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23398 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23400         [BZ #17213]
23401         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23402         powerpc64le.
23404 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23406         [BZ #16839]
23407         * manual/llio.texi: Add section about open file description locks.
23408         * manual/examples/ofdlocks.c: Example of open file description
23409         lock usage.
23410         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23411         F_OFD_SETLK, and F_OFD_SETLKW.
23413 2014-07-23  Allan McRae  <allan@archlinux.org>
23415         * po/es.po: Update Spanish translation from translation project.
23417 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23419         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23421 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23423         [BZ #17078]
23424         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23425         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23426         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23428 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23430         [BZ #17088]
23431         * math/fesetenv.c (__fesetenv)
23432         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23433         * math/feupdateenv.c (__feupdateenv)
23434         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23436         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23437         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23438         (__ASSUME_SOCKETCALL): Do not define.
23440         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23441         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23442         (__ASSUME_SOCKETCALL): Do not define.
23443         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23444         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23445         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23446         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23447         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23448         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23449         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23450         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23452         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23453         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23454         (__ASSUME_SOCKETCALL): Do not define.
23455         (__ASSUME_IPC64): Define unconditionally.
23456         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23457         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23458         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23460         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23462         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23463         Likewise.
23465         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23466         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23467         (__ASSUME_SOCKETCALL): Do not define.
23468         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23469         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23470         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23471         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23472         (__ASSUME_REQUEUE_PI): Define unconditionally.
23473         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23474         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23475         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23476         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23477         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23478         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23480         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23481         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23482         (__ASSUME_SOCKETCALL): Do not define.
23483         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23484         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23485         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23486         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23487         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23488         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23490         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23491         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23492         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23493         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23494         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23495         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23496         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23497         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23498         (__ASSUME_GETCPU_SYSCALL): Likewise.
23500         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23501         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23502         cases for individual architectures.
23503         * sysdeps/gnu/configure: Regenerated.
23504         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23505         LIBC_SLIBDIR_RTLDDIR.
23506         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23507         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23508         LIBC_SLIBDIR_RTLDDIR.
23509         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23511         LIBC_SLIBDIR_RTLDDIR.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23513         Regenerated.
23514         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23515         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23516         file.
23517         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23518         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23519         file.
23520         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23521         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23522         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23523         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23525         * sysdeps/aarch64/shlib-versions: Move to ...
23526         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23527         * sysdeps/alpha/shlib-versions: Move to ...
23528         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23529         * sysdeps/arm/shlib-versions: Move to ...
23530         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23531         * sysdeps/hppa/shlib-versions: Move all contents except for
23532         libgcc_s entry to ...
23533         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23534         entry from ...
23535         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23536         * sysdeps/ia64/shlib-versions: Move to ...
23537         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23538         entry from ...
23539         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23540         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23541         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23542         * sysdeps/microblaze/shlib-versions: Move to ...
23543         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23544         * sysdeps/mips/shlib-versions: Move to ...
23545         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23546         entry from ...
23547         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23548         * sysdeps/tile/shlib-versions: Move to ...
23549         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23550         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23551         from ...
23552         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23553         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23554         entry from ...
23555         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23557 2014-07-17  Will Newton  <will.newton@linaro.org>
23559         * sysdeps/arm/bits/atomic.h
23560         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23561         (__arch_compare_and_exchange_bool_16_int): Likewise.
23562         (__arch_compare_and_exchange_bool_64_int): Likewise.
23564         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23565         into an #else block.
23567 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23569         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23570         just Linux configurations.  Test empirically that the compiler sets
23571         __ARM_EABI__, rather than using the tuple to decide.
23572         * sysdeps/arm/preconfigure: Regenerated.
23573         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23574         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23575         contents appended ...
23576         * sysdeps/arm/configure.ac: ... here.
23577         * sysdeps/arm/configure: Regenerated.
23579 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23581         * nptl/pthread_kill.c: New file.
23582         * nptl/pthread_sigmask.c: New file.
23583         * nptl/pthread_sigqueue.c: New file.
23585         * sysdeps/nptl/lowlevellock.h: New file.
23586         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23587         * sysdeps/nptl/lowlevellock-futex.h: New file.
23589         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23590         Remove dead declarations.
23592 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23594         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23595         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23596         config-cflags-avx2.
23597         * sysdeps/x86_64/configure.ac: Likewise.
23598         * sysdeps/i386/configure: Regenerated.
23599         * sysdeps/x86_64/configure: Likewise.
23600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23601         memset-avx2 only if config-cflags-avx2 is yes.
23602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23603         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23604         defined.
23605         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23606         only if HAVE_AVX2_SUPPORT is defined.
23607         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23609 2014-07-14  Alan Modra  <amodra@gmail.com>
23611         [BZ #17153]
23612         * elf/elf.h (DT_PPC64_NUM): Correct value.
23613         * NEWS: Add to fixed bug list.
23615 2014-07-13  Jim Meyering  <meyering@fb.com>
23617         [BZ 17150]
23618         regex: don't deref NULL upon heap allocation failure
23619         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23620         failure in one more place.
23621         To trigger the segfault, configure grep -with-included-regex,
23622         build it, and run these commands:
23623         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23625 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23627         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23629 2014-07-11  Richard Henderson  <rth@redhat.com>
23631         * sysdeps/aarch64/libm-test-ulps: Update.
23633 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23635         [BZ #17135]
23636         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23637         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23638         (__nptl_setxid): Initialize error member.  Call
23639         __nptl_setxid_error.
23640         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23641         * nptl/descr.h (struct xid_command): Add error member.
23642         * nptl/tst-setuid3.c: New file.
23643         * nptl/Makefile (tests): Add it.
23645 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23647         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23648         New define.
23649         (__lll_trylock): Use __lll_base_trylock.
23650         (__lll_cond_trylock): Likewise.
23652 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23654         * nptl/pthread_create.c (start_thread): Use atomic_or and
23655         lll_futex_wake directly rather than lll_robust_dead.
23656         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23657         (lll_robust_dead): Macro removed.
23658         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23659         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23660         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23661         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23662         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23663         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23664         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23665         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23666         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23667         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23668         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23669         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23670         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23671         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23672         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23674         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23675         Use atomic_compare_and_exchange_val_acq directly rather than
23676         lll_robust_trylock.
23677         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23678         (__lll_robust_trylock, lll_robust_trylock): Removed.
23679         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23680         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23681         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23682         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23683         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23684         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23685         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23686         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23688         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23689         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23690         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23691         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23692         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23694 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23696         * manual/locale.texi (Locale Names): New section documenting
23697         locale name syntax.  Adjust menu and node chaining accordingly.
23698         (Choosing Locale): Reference Locale Names, Locale Categories.
23699         Mention setting LC_ALL=C.  Reflect that name syntax is now
23700         documented.
23701         (Locale Categories): New section title.  Reference Locale Names.
23702         LC_ALL is an environment variable, but not a category.
23703         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23704         description, now in Locale Name.  Reference that section.  Locale
23705         name syntax is now documented.
23707 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23709         [BZ #17137]
23710         * locale/findlocale.c (name_present, valid_locale_name): New
23711         functions.
23712         (_nl_find_locale): Use the loc_name variable to store name
23713         candidates.  Call name_present and valid_locale_name to check and
23714         validate locale names.  Return an error if the locale is invalid.
23716 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23718         * locale/setlocale.c (setlocale): Use strdup for allocating
23719         composite name copy.
23721 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23723         Sync up with gnulib.
23724         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23725         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23726         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23727         and _GL_ARG_NONNULL.
23728         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23729         [!_LIBC]: Include code for Windows and Cygwin.
23730         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23731         Include prototype for int strerror_r.
23732         [!_LIBC] (is_open): New function.
23733         (flush_stdout): New function.
23734         (print_errno_message): Use it.
23735         (error): Likewise.
23736         (error_at_line): Likewise.
23737         (error_tail) Add function attribute macros.  Use
23738         __builtin_expect.
23740         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23742         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23744         * io/ftw.c: Include sys/param.h unconditionally.
23746         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23748         [BZ #17125]
23749         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23750         libc_freeres_ptr.
23751         (freecache): New function to free CACHE on exit.
23753         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23754         initialization.
23756 2014-07-09  David S. Miller  <davem@davemloft.net>
23758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23760         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23761         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23762         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23763         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23764         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23765         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23766         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23767         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23768         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23769         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23770         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23771         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23772         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23774 2014-07-09  Andreas Schwab  <schwab@suse.de>
23776         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23777         output.
23778         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23779         (do_test): Likewise.
23781         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23783 2014-07-09  Will Newton  <will.newton@linaro.org>
23785         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23786         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23787         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23788         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23789         * sysdeps/hppa/start.S (_start): Likewise.
23791 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23793         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23795         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23796         defined.
23798 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23800         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23801         after checking that it is non-NULL.
23803         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23805 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23807         * sysdeps/powerpc/memmove.c: Remove file.
23808         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23809         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23810         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23811         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23812         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23813         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23814         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23815         string memmove instead of removed powerpc one.
23817         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23818         [weak_alias]: Fix compiler warning due trailing data.
23819         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23820         [weak_alias]: Likewise.
23821         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23822         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23825         (__libc_ifunc_impl_list): Add memmove functions.
23827 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23829         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23830         Remove code.
23831         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23832         Likewise.
23833         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23834         Likewise.
23835         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23836         Likewise.
23837         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23838         Likewise.
23839         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23840         Likewise.
23841         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23842         Likewise.
23843         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23844         Likewise.
23845         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23846         Likewise.
23847         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23848         Likewise.
23849         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23850         Likewise.
23851         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23852         Likewise.
23853         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23854         Likewise.
23855         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23856         Likewise.
23857         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23858         Likewise.
23859         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23860         Likewise.
23861         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23862         Likewise.
23864 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23866         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23867         to avoid alignment traps in non-cacheable memory.
23868         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23871         multiarch objects.
23872         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23873         file: multiarch power7 memmove.
23874         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23875         multiarch default memmove.
23876         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23877         multiarch memove for powerpc32/power4.
23879         * string/bcopy.c: Use full path to include memmove.c.
23880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23881         multiarch objects.
23882         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23883         bcopy for powerpc64.
23884         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23885         bcopy for powerpc64.
23886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23887         and memmove implementations.
23888         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23889         optimized multiarch memmove for POWER7/powerpc64.
23890         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23891         default multiarch memmove for powerpc64.
23892         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23893         multiarch for powerpc64.
23894         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23895         for POWER7/powerpc64.
23896         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23897         memmove for POWER7/powerpc64.
23899         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23900         glibc default one.
23902         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23903         __ELF_NATIVE_CLASS equal to 64.
23905 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23907         * sysdeps/nptl/lowlevellock.h: File removed.
23909         * NEWS: NPTL is no longer an add-on!
23910         * nptl/internaltypes.h: Moved ...
23911         * sysdeps/nptl/internaltypes.h: ... here.
23912         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23913         * sysdeps/nptl/fork.c: Likewise.
23914         * sysdeps/nptl/gai_misc.h: Likewise.
23915         * sysdeps/nptl/librt-cancellation.c: Likewise.
23916         * sysdeps/nptl/jmp-unwind.c: Likewise.
23917         * sysdeps/nptl/setxid.h: Likewise.
23918         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23919         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23920         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23921         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23922         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23923         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23924         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23925         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23926         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23927         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23928         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23929         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23930         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23931         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23932         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23933         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23934         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23935         * nptl/Makeconfig: Moved ...
23936         * sysdeps/nptl/Makeconfig: ... here.
23937         * nptl/configure: File removed.
23938         * nptl/ANNOUNCE: File removed.
23939         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23940         * sysdeps/unix/sysv/linux/configure: Regenerated.
23942         * nptl/Makefile (routines): Add libc_pthread_init,
23943         libc_multiple_threads, register-atfork and unregister-atfork.
23944         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23945         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23946         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23947         pthread-pi-defines.sym, structsem.sym.
23948         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23949         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23950         [$(subdir) = nptl] (tests): Add tst-setgetname.
23951         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23952         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23953         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23954         [!LIBC_SIGACTION]: Remove aliases.
23955         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23956         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23957         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23958         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23959         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23960         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23961         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23962         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23963         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23964         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23965         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23966         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23967         __libc_allocate_rtsig_private.
23968         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23969         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23970         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23971         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23972         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23973         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23974         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23975         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23976         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23977         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23978         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23979         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23980         * nptl/internaltypes.h: ... here.
23981         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23982         * sysdeps/nptl/jmp-unwind.c: ... here.
23983         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23984         * nptl/libc-lowlevellock.c: ... here.
23985         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23986         * nptl/libc_multiple_threads.c: ... here.
23987         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23988         * nptl/libc_pthread_init.c: ... here.
23989         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23990         * nptl/lowlevelbarrier.sym: ... here.
23991         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23992         * nptl/lowlevelcond.sym: ... here.
23993         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23994         * nptl/lowlevellock.c: ... here.
23995         * nptl/lowlevellock.h: Moved ...
23996         * sysdeps/nptl/lowlevellock.h: ... here.
23997         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23998         * nptl/lowlevelrobustlock.c: ... here.
23999         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24000         * nptl/lowlevelrobustlock.sym: ... here.
24001         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24002         * nptl/lowlevelrwlock.sym: ... here.
24003         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24004         * nptl/pt-fork.c: ... here.
24005         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24006         * nptl/pthread-pi-defines.sym: ... here.
24007         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24008         * nptl/pthread_attr_getaffinity.c: ... here.
24009         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24010         * nptl/pthread_attr_setaffinity.c: ... here.
24011         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24012         * nptl/pthread_mutex_cond_lock.c: ... here.
24013         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24014         Update #include.
24015         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24016         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24017         * nptl/pthread_once.c: ... here, replacing old file.
24018         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24019         * nptl/pthread_yield.c: ... here.
24020         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24021         * nptl/register-atfork.c: ... here.
24022         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24023         * nptl/sem_post.c: ... here.
24024         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24025         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24026         * nptl/sem_timedwait.c: ... here.
24027         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24028         * nptl/sem_trywait.c: ... here.
24029         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24030         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24031         * nptl/sem_wait.c: ... here.
24032         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24033         * nptl/structsem.sym: ... here.
24034         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24035         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24036         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24037         * nptl/unregister-atfork.c: ... here.
24038         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24039         * nptl/unwindbuf.sym: ... here.
24040         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24041         * sysdeps/nptl/fork.c: ... here.
24042         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24043         * sysdeps/nptl/fork.h: ... here.
24044         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24045         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24046         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24047         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24048         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24049         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24050         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24051         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24052         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24053         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24054         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24055         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24056         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24057         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24058         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24059         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24060         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24061         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24062         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24063         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24064         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24065         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24066         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24067         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24068         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24069         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24070         * sysdeps/unix/sysv/linux/raise.c: ... here.
24071         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24072         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24073         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24074         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24075         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24076         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24077         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24078         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24079         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24080         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24081         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24082         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24083         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24084         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24085         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24087 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24089         * sysdeps/generic/memcopy.h: Add comment for
24090         MEMCPY_OK_FOR_FWD_MEMMOVE.
24092 2014-07-04  Will Newton  <will.newton@linaro.org>
24094         * string/memchr.c: Merge from gnulib.
24095         [_LIBC]: Remove conditionals.
24096         (__ptr_t): Remove define.
24097         (LONG_MAX_32_BITS): Likewise.
24098         (LONG_MAX): Likewise.
24099         (MEMCHR): Use ANSI prototype and optimize algorithm.
24101         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24103 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24105         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24106         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24108         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24109         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24110         in a bare environment with no <stdlib.h> installed.
24111         * sysdeps/nptl/configure: Regenerated.
24113         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24115         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24116         AC_EGREP_CPP for kernel header checks, so they only succeed if
24117         including <linux/version.h> actually works right.
24118         * sysdeps/unix/sysv/linux/configure: Regenerated.
24120         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24121         value so it's not diagnosed as unused.
24123         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24124         thing) with "ifeq ($(subdir),rt)".
24126 2014-07-03  Richard Henderson  <rth@redhat.com>
24128         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24129         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24130         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24132         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24133         (math_force_eval): New.
24135         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24136         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24138         * sysdeps/alpha/fpu/s_round.c: Remove file.
24139         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24141         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24142         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24143         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24144         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24145         (_dl_start, print_statistics): Likewise.
24146         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24147         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24149         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24150         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24151         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24152         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24153         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24154         (HP_SMALL_TIMING_AVAIL): Define.
24155         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24156         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24157         (HP_SMALL_TIMING_AVAIL): Define.
24158         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24159         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24161         * sysdeps/aarch64/hp-timing.h: New file.
24163         * sysdeps/generic/hp-timing.h: Remove dead comment.
24164         * sysdeps/generic/hp-timing-common.h: New file.
24165         * sysdeps/alpha/hp-timing.h: Include it.
24166         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24167         * sysdeps/i386/i686/hp-timing.h: Likewise.
24168         * sysdeps/ia64/hp-timing.h: Likewise.
24169         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24170         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24171         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24172         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24173         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24174         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24175         (hp_timing_t): New.
24177         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24178         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24179         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24180         * elf/rtld.c (_dl_start_final): Likewise.
24181         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24182         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24183         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24184         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24185         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24186         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24187         (HP_TIMING_DIFF_INIT): Remove.
24188         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24189         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24190         (HP_TIMING_DIFF_INIT): Remove.
24191         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24192         * sysdeps/i386/i686/hp-timing.c: Remove file.
24193         * sysdeps/x86_64/hp-timing.c: Remove file.
24194         * sysdeps/ia64/hp-timing.c: Remove file.
24195         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24196         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24197         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24198         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24200         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24201         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24202         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24203         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24204         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24205         (HP_TIMING_ACCUM): Remove.
24206         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24207         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24208         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24210         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24211         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24212         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24213         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24214         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24215         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24216         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24217         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24219         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24221 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24223         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24225 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24227         Sync up with gettext.
24228         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24229         [_MSC_VER]: Include malloc.h
24230         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24231         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24232         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24233         TEMP_FAILURE_RETRY.  Cast return of alloca.
24234         [!_LIBC] Call gl_rwlock_init.
24235         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24237 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24239         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24240         before checking its value.
24242 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24244         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24246         * debug/memcpy_chk.c: Don't include pagecopy.h.
24247         * debug/mempcpy_chk.c: Likewise.
24248         * string/memcpy.c: Likewise.
24249         * string/memmove.c: Likewise.
24250         * sysdeps/powerpc/memmove.c: Likewise.
24251         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24252         definition of PAGE_COPY_FWD_MAYBE here...
24253         * sysdeps/generic/pagecopy.h: ... from here.
24254         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24256 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24257             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24259         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24261         optimizations.
24262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24263         (__libc_ifunc_impl_list): Likewise.
24264         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24265         multiarch strcat for PPC64.
24266         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24267         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24269 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24271         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24273 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24275         * intl/loadmsgcat.c: Remove declaration of
24276         get_sysdep_segment_value.
24277         (get_sysdep_segment_value): Use ISO C style.
24278         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24279         semicolon.  Fix typo and formatting in comment.
24280         (_nl_unload_domain): Use ISO C style.
24282         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24284 2014-07-02  Will Newton  <will.newton@linaro.org>
24286         * malloc/obstack.c: Merge from gnulib master.
24287         [HAVE_CONFIG_H]: Remove conditional code.
24288         [!_LIBC]: Include config.h.
24289         [!ELIDE_CODE]: Don't include inttypes.h, include
24290         stdint.h unconditionally.
24291         (print_and_abort): Mark as _Noreturn.
24292         (_obstack_allocated_p): Mark as __attribute_pure__.
24293         (obstack_free): Rename to __obstack_free.
24294         [!__attribute__]: Remove conditional code.
24295         * malloc/obstack.h: Merge from gnulib master.
24296         [__cplusplus]: Move conditional down.
24297         [!__attribute_pure__]: Define __attribute_pure__ here
24298         if it is not already defined.
24299         (_obstack_memory_used): Mark as __attribute_pure__.
24300         [!__obstack_free]: Define as obstack_free.
24301         [__GNUC__]: Remove check for ancient NeXT gcc.
24303 2014-07-02  Will Newton  <will.newton@linaro.org>
24304             Paul Eggert  <eggert@cs.ucla.edu>
24306         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24308 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24310         * resolv/gethnamaddr.c: Add comment warning that the file is
24311         not maintained.
24313 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24315         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24316         entries.
24318         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24319         entry for aio_cancel and aio_cancel64.
24320         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24321         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24322         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24323         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24324         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24325         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24326         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24327         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24328         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24329         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24330         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24331         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24332         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24334 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24336         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24337         * nptl/pthread_mutex_lock.c: Likewise.
24338         * nptl/pthread_mutex_timedlock.c: Likewise.
24339         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24341 2014-07-01  Richard henderson  <rth@redhat.com>
24343         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24344         (__isnan, __isnanl): Remove.
24345         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24347         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24349 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24351         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24353 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24355         * resolv/nss_dns/dns-host.c (getanswer_r)
24356         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24358 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24360         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24361         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24362         undefine.
24363         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24364         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24366 2014-07-01  Roland McGrath <roland@hack.frob.com>
24368         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24369         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24371         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24372         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24374         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24375         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24376         ... here.
24377         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24378         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24380         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24381         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24382         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24383         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24385         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24386         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24387         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24388         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24389         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24390         Moved ...
24391         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24392         ... here.
24393         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24394         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24395         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24396         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24397         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24398         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24399         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24400         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24401         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24402         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24403         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24404         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24405         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24406         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24407         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24408         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24409         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24410         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24411         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24412         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24413         ... here.
24414         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24415         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24416         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24417         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24418         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24419         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24420         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24421         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24423 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24425         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24426         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24427         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24428         Add sysdep.
24430 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24434 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24436         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24437         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24439         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24441         * sysdeps/arm/libm-test-ulps: Regenerated.
24443 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24444             Roland McGrath <roland@hack.frob.com>
24446         * test-skeleton.c (signal_handler): Kill the whole process group
24447         before killing the child individually.
24448         (main): Report any failure on `setpgid'.
24450 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24452         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24453         from _TLS_H to _ARM_NPTL_TLS_H.
24454         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24455         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24457 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24459         [BZ #16539]
24460         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24461         (__expm1l): Return argument unchanged when small but not
24462         subnormal.
24464         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24465         include macro name.
24466         (_FP_UNPACK_RAW_1_P): Likewise.
24467         (_FP_PACK_RAW_1): Likewise.
24468         (_FP_PACK_RAW_1_P): Likewise.
24469         (_FP_MUL_MEAT_1_wide): Likewise.
24470         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24471         (_FP_MUL_MEAT_1_hard): Likewise.
24472         (_FP_DIV_MEAT_1_imm): Likewise.
24473         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24474         (_FP_DIV_MEAT_1_udiv): Likewise.
24475         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24476         (_FP_UNPACK_RAW_2): Likewise.
24477         (_FP_UNPACK_RAW_2_P): Likewise.
24478         (_FP_PACK_RAW_2): Likewise.
24479         (_FP_PACK_RAW_2_P): Likewise.
24480         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24481         (_FP_MUL_MEAT_2_wide): Likewise.
24482         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24483         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24484         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24485         (_FP_MUL_MEAT_2_gmp): Likewise.
24486         (_FP_DIV_MEAT_2_udiv): Likewise.
24487         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24488         (_FP_FRAC_SRL_4): Likewise.
24489         (_FP_FRAC_SRST_4): Likewise.
24490         (_FP_FRAC_SRS_4): Likewise.
24491         (_FP_UNPACK_RAW_4): Likewise.
24492         (_FP_UNPACK_RAW_4_P): Likewise.
24493         (_FP_PACK_RAW_4): Likewise.
24494         (_FP_PACK_RAW_4_P): Likewise.
24495         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24496         (_FP_MUL_MEAT_4_wide): Likewise.
24497         (_FP_MUL_MEAT_4_gmp): Likewise.
24498         (umul_ppppmnnn): Likewise.
24499         (_FP_DIV_MEAT_4_udiv): Likewise.
24500         (__FP_FRAC_ADD_4): Likewise.
24501         (__FP_FRAC_SUB_3): Likewise.
24502         (__FP_FRAC_SUB_4): Likewise.
24503         (__FP_FRAC_DEC_3): Likewise.
24504         (__FP_FRAC_DEC_4): Likewise.
24505         (__FP_FRAC_ADDI_4): Likewise.
24506         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24507         (_FP_FRAC_SRL_8): Likewise.
24508         (_FP_FRAC_SRS_8): Likewise.
24510         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24511         include macro name.
24512         (FP_UNPACK_RAW_EP): Likewise.
24513         (FP_PACK_RAW_E): Likewise.
24514         (FP_PACK_RAW_EP): Likewise.
24515         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24516         (_FP_ISSIGNAN): Likewise.
24517         (_FP_ADD_INTERNAL): Likewise.
24518         (_FP_FMA): Likewise.
24519         (_FP_CMP): Likewise.
24520         (_FP_SQRT): Likewise.
24521         (_FP_TO_INT): Likewise.
24522         (_FP_FROM_INT): Likewise.
24523         (FP_EXTEND): Likewise.
24524         (_FP_DIV_MEAT_N_loop): Likewise.
24526 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24528         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24529         throughout.
24531 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24533         [BZ #17097]
24534         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24535         result with correct sign in case of exponents that produce
24536         overflow except for X very close to 1.
24538 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24540         mktime: merge #if/#ifdef usage from glibc
24541         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24542         as that works with both Glibc's and Gnulib's style.
24543         See thread starting at Siddhesh Poyarekar's bug report at:
24544         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24546 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24548         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24549         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24550         * sysdeps/tile/tilegx/memmove.c: Remove file.
24552 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24554         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24555         abi-name definition.
24556         * scripts/soversions.awk: Do not handle or generate ABI lines.
24557         * shlib-versions: Remove ABI entries.
24558         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24559         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24561 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24564         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24565         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24566         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24568         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24569         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24570         Moved ...
24571         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24572         ... here.
24573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24574         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24576         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24578         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24579         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24580         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24582         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24584         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24586         Moved ...
24587         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24588         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24589         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24590         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24591         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24593         Moved ...
24594         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24596         Moved ...
24597         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24598         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24599         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24601         Moved ...
24602         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24604         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24606         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24608         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24610         Moved ...
24611         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24613         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24614         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24615         Moved ...
24616         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24618         Moved ...
24619         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24620         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24621         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24623         Moved ...
24624         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24625         ... here.
24626         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24627         Identical file removed.
24628         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24629         Moved ...
24630         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24632         Identical file removed.
24633         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24634         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24636         Moved ...
24637         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24638         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24639         Identical file removed.
24640         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24641         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24642         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24643         Identical file removed.
24644         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24645         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24646         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24647         Identical file removed.
24648         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24649         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24651         Identical file removed.
24652         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24653         Moved ...
24654         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24655         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24656         Identical file removed.
24657         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24658         Moved ...
24659         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24660         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24661         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24662         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24663         Identical file removed.
24664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24665         Moved ...
24666         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24667         ... here.
24668         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24669         Identical file removed.
24670         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24671         Moved ...
24672         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24673         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24674         Identical file removed.
24675         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24676         Moved ...
24677         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24678         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24679         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24680         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24681         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24682         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24683         Moved ...
24684         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24685         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24686         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24688         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24689         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24690         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24691         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24692         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24694 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24696         [BZ #17092]
24697         * nscd/nscd.c (monitor_child): Return exit status of child
24698         instead of return value from wait syscall.
24700 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24702         * configure.ac (libc_commonpagesize): Remove variable.
24703         (libc_relro_required): Likewise.
24704         (libc_cv_z_relro): Remove configure test.
24705         * configure: Regenerated.
24706         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24707         variable.
24708         (libc_relro_required): Likewise.
24709         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24710         (libc_relro_required): Likewise.
24711         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24712         (libc_relro_required): Likewise.
24713         * sysdeps/arm/preconfigure: Regenerated.
24714         * sysdeps/ia64/preconfigure: Remove file.
24715         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24716         variable.
24717         (libc_relro_required): Likewise.
24719         [BZ #16561]
24720         [BZ #16562]
24721         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24722         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24723         recompute overflowing results in original rounding mode.
24724         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24725         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24726         recompute overflowing results in original rounding mode.
24727         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24728         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24729         recompute overflowing results in original rounding mode.
24730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24731         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24732         recompute overflowing results in original rounding mode.
24733         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24734         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24735         recompute overflowing results in original rounding mode.
24736         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24737         (libc_feholdsetround_ctx): New macro.
24738         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24739         * sysdeps/i386/fpu/libm-test-ulps: Update.
24740         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24742 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24744         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24745         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24746         corresponding .cpsetup call.
24748 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24750         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24751         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24752         * sysdeps/arm/Makefile [$(subdir) = csu]
24753         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24754         (static-only-routines): Add aeabi_read_tp here.
24755         (shared-only-routines): Add libc-aeabi_read_tp here.
24756         (CFLAGS-libc-start.c): Add -fexceptions here.
24757         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24758         (sysdep_routines, static-only-routines, shared-only-routines):
24759         Don't add to these here.
24760         (CFLAGS-libc-start.c): Likewise.
24762         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24763         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24764         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24765         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24766         * sysdeps/arm/Makefile [$(subdir) = rt]
24767         (librt-sysdep_routines, librt-shared-only-routines):
24768         Append rt-aeabi_unwind_cpp_pr1 here.
24769         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24770         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24771         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24772         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24773         Append nptl-aeabi_unwind_cpp_pr1 here.
24774         (tests): Filter out tst-cleanupx4 here.
24775         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24776         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24777         Don't do those here.
24779 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24781         * scripts/list-sources.sh: Do not handle ports specially.
24783 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24785         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24786         * sysdeps/arm/feupdateenv.c: Likewise.
24788         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24790 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24792         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24793         trailing whitespace removed.
24794         * scripts/config.guess: Update to version 2014-03-23.
24795         * scripts/config.sub: Update to version 2014-05-01
24796         * scripts/install-sh: Update to version 2013-12-25.23.
24797         * scripts/move-if-change: Update from gnulib.
24799 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801         * debug/memmove_chk.c: Remove pagecopy.h include.
24803 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24805         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24806         identical to gnulib mktime.
24808 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24810         * configure.ac: Do not test for machine being rs6000.  Do not test
24811         for powerpc*-*soft.
24812         * configure: Regenerated.
24814         [BZ #11505]
24815         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24816         test.
24817         * configure: Regenerated.
24818         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24819         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24820         Remove configure test.
24821         * sysdeps/arm/configure: Regenerated.
24822         * sysdeps/nptl/configure.ac: Do not check
24823         libc_cv_asm_cfi_directives.
24824         * sysdeps/nptl/configure: Regenerated.
24825         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24826         * sysdeps/x86_64/nptl/configure: Remove generated file.
24827         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24828         unconditional.
24829         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24831 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24833         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24834         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24835         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24836         it is defined.
24838         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24839         instead of whether it is defined.
24840         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24841         * sysdeps/hppa/dl-machine.h: Likewise.
24842         * sysdeps/ia64/dl-machine.h: Likewise.
24843         * sysdeps/m68k/dl-machine.h: Likewise.
24844         * sysdeps/microblaze/dl-machine.h: Likewise.
24845         * sysdeps/mips/dl-machine.: Likewise.
24846         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24847         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24848         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24849         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24850         * sysdeps/sh/dl-machine.h: Likewise.
24851         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24852         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24853         * sysdeps/tile/dl-machine.h: Likewise.
24854         * sysdeps/x86_64/dl-machine.h: Likewise.
24856         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24857         code.
24858         (verify_persistent_db): Likewise.
24860 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24863         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24865         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24867         Moved ...
24868         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24869         ... here.
24870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24871         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24873         Identical file removed.
24874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24875         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24877         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24879         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24881         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24883         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24885         Moved ...
24886         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24888         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24890         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24892         Moved ...
24893         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24895         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24897         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24899         Identical file removed.
24900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24901         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24903         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24905         Moved ...
24906         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24907         ... here.
24908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24909         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24911         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24913         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24915         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24917         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24919         Moved ...
24920         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24922         Moved ...
24923         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24925         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24927         Moved ...
24928         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24930         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24932         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24933         folded into ...
24934         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24935         * sysdeps/unix/sysv/linux/s390/Versions
24936         (libpthread: GLIBC_2.19): New version set.
24937         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24938         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24939         (librt: GLIBC_2.3.3): New version set.
24940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24941         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24942         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24943         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24944         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24945         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24946         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24947         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24948         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24949         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24950         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24951         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24952         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24953         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24954         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24955         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24956         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24957         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24958         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24959         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24960         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24961         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24962         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24963         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24964         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24965         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24966         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24968         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24970         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24971         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24972         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24975         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24976         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24978         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24979         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24980         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24982         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24984         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24986         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24987         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24988         (__libc_vfork): Define the function under this name.
24989         [!NOT_IN_libc] (__vfork): Make this an alias.
24990         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24992         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24993         (__libc_vfork): Define the function under this name.
24994         [!NOT_IN_libc] (__vfork): Make this an alias.
24995         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24996         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24997         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24998         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24999         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25000         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25002         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25003         code that was previously under [RESET_PID].
25004         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25005         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25008         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25009         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25010         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25011         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25012         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25013         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25014         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25015         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25016         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25017         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25018         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25019         Moved ...
25020         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25021         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25022         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25023         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25024         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25025         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25026         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25027         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25028         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25029         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25030         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25031         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25032         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25033         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25034         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25035         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25036         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25037         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25038         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25039         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25040         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25041         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25042         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25043         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25044         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25045         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25046         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25047         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25048         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25050 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25052         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25053         that was previously under [RESET_PID].
25054         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25056 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25058         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25059         not undefine and redefine.
25060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25061         [O_CLOEXEC]: Make code unconditional.
25062         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25063         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25064         <kernel-features.h>.
25065         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25066         conditional variable definition.
25067         (shm_open) [O_CLOEXEC]: Make code unconditional.
25068         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25069         code.
25071         * configure.ac (USE_REGPARMS): Don't define here.
25072         * configure: Regenerated.
25073         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25074         * sysdeps/i386/configure: Regenerated.
25076         * nptl/createthread.c: Don't include kernel-features.h.
25077         * nptl/pthread_cancel.c: Likewise.
25078         * nptl/pthread_condattr_setclock.c: Likewise.
25079         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25080         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25081         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25082         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25083         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25084         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25085         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25088         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25089         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25090         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25091         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25092         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25093         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25094         * nscd/gai.c: Likewise.
25095         * nss/nss_db/db-open.c: Likewise.
25096         * sysdeps/generic/ldsodefs.h: Likewise.
25097         * sysdeps/sh/nptl/tls.h: Likewise.
25098         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25099         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25100         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25101         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25102         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25103         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25104         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25105         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25107         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25108         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25109         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25110         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25111         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25112         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25113         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25114         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25115         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25116         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25117         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25118         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25120         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25121         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25122         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25123         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25124         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25125         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25126         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25127         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25128         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25129         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25130         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25131         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25132         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25133         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25134         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25135         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25136         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25137         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25138         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25139         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25140         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25141         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25142         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25143         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25144         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25145         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25146         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25147         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25148         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25149         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25150         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25151         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25152         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25153         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25154         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25155         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25178         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25179         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25180         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25181         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25182         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25183         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25184         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25185         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25186         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25187         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25188         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25189         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25190         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25191         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25192         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25193         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25194         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25195         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25196         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25197         * sysdeps/unix/sysv/linux/system.c: Likewise.
25198         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25199         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25200         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25201         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25202         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25203         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25204         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25206         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25207         * configure: Regenerated.
25208         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25210         * configure.ac (base_machine): Do not set specially for particular
25211         machines here.
25212         * configure: Regenerated.
25213         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25214         settings from configure.ac.
25215         * sysdeps/i386/preconfigure: New file.
25216         * sysdeps/s390/preconfigure: Likewise.
25217         * sysdeps/sh/preconfigure: Likewise.
25218         * sysdeps/sparc/preconfigure: Likewise.
25220 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25222         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25223         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25224         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25225         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25226         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25227         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25228         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25229         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25230         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25231         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25232         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25233         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25234         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25235         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25236         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25237         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25238         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25239         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25240         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25242         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25243         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25244         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25245         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25246         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25247         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25248         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25249         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25250         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25251         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25252         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25253         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25254         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25255         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25256         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25257         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25258         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25259         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25260         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25261         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25262         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25263         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25264         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25265         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25266         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25267         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25268         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25269         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25270         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25271         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25272         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25273         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25274         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25275         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25276         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25277         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25278         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25279         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25282         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25284         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25286         Moved ...
25287         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25288         ... here.
25289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25290         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25292         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25294         Moved ...
25295         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25297         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25299         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25301         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25303         Moved ...
25304         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25306         Moved ...
25307         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25309         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25311         Moved ...
25312         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25314         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25316         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25318         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25320         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25322         Moved ...
25323         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25324         ... here.
25325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25326         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25328         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25330         Moved ...
25331         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25333         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25335         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25337         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25339         Moved ...
25340         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25342         Moved ...
25343         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25345         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25347         Moved ...
25348         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25350         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25352         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25354 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25356         * timezone/checktab.awk: Update from tzcode 2014e.
25357         * timezone/private.h: Likewise.
25358         * timezone/tzfile.h: Likewise.
25359         * timezone/zdump.c: Likewise.
25360         * timezone/zic.c: Likewise.
25362         * sysdeps/unix/sysv/linux/kernel-features.h
25363         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25364         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25365         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25366         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25367         Remove conditional code.
25369 2014-06-25  Will Newton  <will.newton@linaro.org>
25371         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25372         (_dl_arm_cap_flags): Add HWCAP2 values.
25373         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25374         (_DL_HWCAP_COUNT): Increase to 37.
25375         (_DL_HWCAP_LAST): New define.
25376         (_DL_HWCAP2_LAST): New define.
25377         (_dl_procinfo): Add support for printing
25378         AT_HWCAP2 entries.
25379         (_dl_string_hwcap): Use _dl_hwcap_string.
25381 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25385 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25387         * README: Do not mention ports directory.
25389         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25390         Remove macro.
25391         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25392         <kernel-features.h>.
25393         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25394         conditional variable definition.
25395         (__futimes): Update comment.
25396         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25397         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25399         [BZ #16560]
25400         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25401         arguments close to 0.
25402         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25403         Likewise.
25404         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25405         Likewise.
25406         * math/auto-libm-test-in: Add more tests of exp10.
25407         * math/auto-libm-test-out: Regenerated.
25408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25410         * sysdeps/unix/sysv/linux/kernel-features.h
25411         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25412         * sysdeps/unix/sysv/linux/readv.c: Do not include
25413         <kernel-features.h>.
25414         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25415         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25416         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25417         unconditional.
25418         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25419         conditional code.
25420         * sysdeps/unix/sysv/linux/writev.c: Do not include
25421         <kernel-features.h>.
25422         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25423         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25424         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25425         unconditional.
25426         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25427         conditional code.
25429 2014-06-25  Will Newton  <will.newton@linaro.org>
25431         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25432         comment changes throughout the file.  Remove checks
25433         for HAVE_*_H definitions that are not required.
25434         (__gen_tempname): Call abort if an unknown kind value is
25435         passed.
25437 2014-06-25  Andreas Schwab  <schwab@suse.de>
25439         [BZ #17086]
25440         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25441         scalbln, scalblnf, scalblnl in libc.
25443 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25445         [BZ #17086]
25446         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25447         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25448         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25450 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25452         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25453         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25454         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25455         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25456         Update #include.
25457         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25458         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25459         Update #include.
25460         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25461         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25462         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25463         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25464         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25465         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25466         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25467         * sysdeps/x86/bits/semaphore.h: ... here.
25468         * sysdeps/x86/nptl/elide.h: Moved ...
25469         * sysdeps/x86/elide.h: ... here.
25470         * sysdeps/x86_64/nptl/Implies: File removed.
25471         * sysdeps/i386/nptl/Implies: File removed.
25473 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25475         [BZ #16539]
25476         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25477         return the argument for normal arguments with exponent below -64.
25478         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25479         Likewise.
25480         * math/auto-libm-test-in: Add another test of expm1.
25481         * math/auto-libm-test-out: Regenerated.
25483         [BZ #16287]
25484         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25485         calling __erfcl for arguments at least 16.
25486         * math/auto-libm-test-in: Add more tests of erf.
25487         * math/auto-libm-test-out: Regenerated.
25489         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25490         individual architectures.
25491         * sysdeps/unix/sysv/linux/configure: Regenerated.
25492         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25493         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25494         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25495         (ldd_rewrite_script): Define variable.
25496         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25498         file.
25499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25500         generated file.
25501         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25502         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25503         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25504         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25505         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25506         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25507         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25508         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25510 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25512         [BZ #17084]
25513         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25514         Rename member __data.d to __data.__elision_data.
25516 2014-06-24  Wilco  <wdijkstr@arm.com>
25518         * NEWS: Add 16918 to fixed bug list.
25520 2014-06-24  Wilco  <wdijkstr@arm.com>
25522         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25524 2014-06-24  Wilco  <wdijkstr@arm.com>
25526         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25527         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25528         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25529         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25530         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25531         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25532         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25533         Use _FPU_MASK_RM.
25535 2014-06-24  Wilco  <wdijkstr@arm.com>
25537         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25539 2014-06-24  Wilco  <wdijkstr@arm.com>
25541         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25542         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25543         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25544         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25546 2014-06-24  Wilco  <wdijkstr@arm.com>
25548         [BZ #16918]
25549         * sysdeps/arm/feupdateenv.c (feupdateenv):
25550         Rewrite to reduce FPSCR accesses and fix return value.
25552 2014-06-24  Wilco  <wdijkstr@arm.com>
25554         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25555         Optimize to avoid unnecessary FPSCR writes.
25556         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25557         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25558         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25559         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25561 2014-06-24  Wilco  <wdijkstr@arm.com>
25563         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25564         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25565         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25566         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25567         Call libc_fetestexcept_vfp.
25568         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25569         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25570         __SOFTFP__ ifdef so that they can be built for softfp.
25572 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25574         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25575         argument type signed char.
25577         * Makerules (check-abi): Dump diff of symlist if the test
25578         fails.
25580 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25582         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25583         using abort.
25585         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25586         Remove unused variable ST.
25588 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25590         [BZ #16354]
25591         [BZ #17061]
25592         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25593         small arguments before calling __expm1.
25594         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25595         small arguments before calling __expm1f.
25596         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25597         small arguments before calling __expm1l.
25598         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25599         Likewise.
25600         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25601         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25602         spurious underflow for some cosh tests.
25603         * math/auto-libm-test-out: Regenerated.
25604         * sysdeps/i386/fpu/libm-test-ulps: Update.
25606         [BZ #17050]
25607         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25608         (__ieee754_y1): Set errno if return value overflows.
25609         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25610         (__ieee754_y1f): Set errno if return value overflows.
25611         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25612         (__ieee754_y1l): Set errno if return value overflows.
25613         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25614         (__ieee754_y1l): Set errno if return value overflows.
25615         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25616         * math/auto-libm-test-out: Regenerated.
25618         * math/gen-auto-libm-tests.c: Document use of
25619         ignore-zero-inf-sign.
25620         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25621         (input_flags): Add ignore-zero-inf-sign.
25622         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25623         * math/gen-libm-test.pl (generate_testfile): Handle
25624         ignore-zero-inf-sign.
25625         * math/auto-libm-test-in: Mark some cpow tests with
25626         ignore-zero-inf-sign and some with xfail-rounding.
25627         * math/auto-libm-test-out: Regenerated.
25628         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25629         * sysdeps/i386/fpu/libm-test-ulps: Update.
25630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25632         [BZ #16315]
25633         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25634         overflowing or underflowing operations take place with sign of
25635         result.
25636         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25637         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25638         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25639         (__ieee754_pow): Recompute overflowing and underflowing results in
25640         original rounding mode.
25641         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25642         (__powl_helper): Allow negative argument X and scale negated value
25643         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25644         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25645         overflowing or underflowing operations take place with sign of
25646         result.
25647         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25648         Include <math.h>.
25649         * math/auto-libm-test-in: Add more tests of pow.
25650         * math/auto-libm-test-out: Regenerated.
25651         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25652         (pow_tonearest_test_data): Remove.
25653         (pow_test_tonearest): Likewise.
25654         (pow_towardzero_test_data): Likewise.
25655         (pow_test_towardzero): Likewise.
25656         (pow_downward_test_data): Likewise.
25657         (pow_test_downward): Likewise.
25658         (pow_upward_test_data): Likewise.
25659         (pow_test_upward): Likewise.
25660         (main): Don't call removed functions.
25661         * sysdeps/i386/fpu/libm-test-ulps: Update.
25662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25664 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25667         Moved ...
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25670         Moved ...
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25673         Moved ...
25674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25676         Moved ...
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25679         File removed.
25680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25681         File removed.
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25683         File removed.
25684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25685         File removed.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25687         File removed.
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25689         File removed.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25691         File removed.
25692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25693         File removed.
25694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25695         File removed.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25697         File removed.
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25699         File removed.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25701         File removed.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25703         Moved ...
25704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25706         Moved ...
25707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25708         ... here.
25709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25710         Moved ...
25711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25713         Moved ...
25714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25716         Moved ...
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25719         Moved ...
25720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25722         Moved ...
25723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25725         Moved ...
25726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25728         Moved ...
25729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25732         ... here.
25733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25734         Moved ...
25735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25737         Moved ...
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25739         ... here.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25741         Moved ...
25742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25743         ... here.
25744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25745         Moved ...
25746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25747         ... here.
25748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25749         Moved ...
25750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25752         Moved ...
25753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25757         Moved ...
25758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25759         ... here.
25760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25761         Moved ...
25762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25763         ... here.
25764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25765         Moved ...
25766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25768         Moved ...
25769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25771         Moved ...
25772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25774         Moved ...
25775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25777         Moved ...
25778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25779         ... here.
25780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25781         Moved ...
25782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25784         Moved ...
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25787         Moved ...
25788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25790         Moved ...
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25795         Moved ...
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25798         Moved ...
25799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25801         Moved ...
25802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25803         ... here.
25804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25805         Moved ...
25806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25807         ... here.
25808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25809         Moved ...
25810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25811         ... here.
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25813         Moved ...
25814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25816         Moved ...
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25819         Moved ...
25820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25822         Moved ...
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25824         ... here.
25825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25826         Moved ...
25827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25828         ... here.
25829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25830         Moved ...
25831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25832         ... here.
25833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25834         Moved ...
25835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25837         Moved ...
25838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25840 2014-06-23  Will Newton  <will.newton@linaro.org>
25841             Wilco  <wdijkstr@arm.com>
25843         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25844         implementation.  Include get-rounding-mode.h.
25845         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25846         [!libc_feholdsetround_noex_ctx]: Define
25847         libc_feholdsetround_noex_ctx.
25848         [!libc_feholdsetround_noexf_ctx]: Define
25849         libc_feholdsetround_noexf_ctx.
25850         [!libc_feholdsetround_noexl_ctx]: Define
25851         libc_feholdsetround_noexl_ctx.
25852         (libc_feholdsetround_ctx): New function.
25853         (libc_feresetround_ctx): New function.
25854         (libc_feholdsetround_noex_ctx): New function.
25855         (libc_feresetround_noex_ctx): New function.
25857 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25859         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25860         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25861         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25862         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25863         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25864         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25866         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25867         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25868         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25869         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25870         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25871         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25872         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25873         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25874         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25875         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25877         Moved ...
25878         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25879         ... here.
25880         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25881         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25882         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25883         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25884         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25885         Moved ...
25886         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25887         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25888         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25889         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25890         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25891         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25892         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25893         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25894         Moved ...
25895         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25897         Moved ...
25898         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25899         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25900         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25901         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25902         Moved ...
25903         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25905         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25906         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25907         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25908         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25909         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25910         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25911         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25912         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25913         Moved ...
25914         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25915         ... here.
25916         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25917         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25918         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25919         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25920         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25921         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25922         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25923         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25924         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25925         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25926         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25927         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25928         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25929         Moved ...
25930         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25931         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25932         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25933         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25934         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25935         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25936         Moved ...
25937         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25938         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25939         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25940         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25941         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25943         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25944         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25945         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25946         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25947         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25948         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25949         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25950         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25951         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25952         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25953         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25954         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25955         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25956         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25957         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25958         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25959         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25960         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25961         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25962         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25963         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25964         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25965         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25966         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25967         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25968         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25969         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25970         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25972 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25975         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25976         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25977         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25978         (IPV6_PMTUDISC_INTERFACE): Likewise.
25979         (IPV6_PMTUDISC_OMIT): Likewise.
25981 2014-06-23  Andreas Schwab  <schwab@suse.de>
25983         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25984         Remove unused errout label.
25986 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25988         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25989         macro: hardware supports Vector Crypto instructions.
25991 2014-06-23  Will Newton  <will.newton@linaro.org>
25993         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25994         rather than __builtin_expect.
25996         * elf/dl-lookup.c (undefined_msg): Remove variable.
25997         (_dl_lookup_symbol_x): Replace undefined_msg with string
25998         literal.
26000         * elf/dl-lookup.c (do_lookup_unique): New function.
26001         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26002         to a separate function.
26004 2014-06-23  Andreas Schwab  <schwab@suse.de>
26006         [BZ #17079]
26007         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26008         before reading the next line.
26010 2014-06-23  Will Newton  <will.newton@linaro.org>
26012         * test-skeleton.c (signal_handler): Use printf and %m
26013         rather than perror.  Use printf rather than fprintf to
26014         stderr.  Use puts rather than fputs to stderr.
26015         (main): Likewise.
26017 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26019         * nscd/nscd.c (thread_info_t): Remove typedef.
26020         (thread_info): Remove variable.
26022 2014-06-21  Allan McRae  <allan@archlinux.org>
26024         * NEWS: Mention CVE-2014-4043.
26026 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26028         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26029         * nptl/smp.h: ... here.
26031         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26033         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26034         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26035         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26036         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26038         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26039         * nptl/stack-aliasing.h: New file.
26040         * sysdeps/i386/i686/stack-aliasing.h: New file.
26041         * sysdeps/i386/i686/nptl/Makefile: File removed.
26042         * sysdeps/x86_64/stack-aliasing.h: New file.
26043         * sysdeps/x86_64/nptl/Makefile
26044         (CFLAGS-pthread_create.c): Variable removed.
26046         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26047         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26048         old file.
26049         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26050         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26051         old file.
26053 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26055         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26056         (__ASSUME_SIGFRAME_V2): Remove macro.
26057         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26058         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26059         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26060         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26061         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26062         Declare as function.  Remove conditional macro definitions.
26063         (__default_rt_sa_restorer): Likewise.
26064         (__default_sa_restorer_v1): Remove declaration.
26065         (__default_sa_restorer_v2): Likewise.
26066         (__default_rt_sa_restorer_v1): Likewise.
26067         (__default_rt_sa_restorer_v2): Likewise.
26068         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26069         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26070         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26072 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26074         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26075         (libpthread-routines): Add sysdep.
26076         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26077         * sysdeps/unix/sysv/linux/sparc/Versions
26078         (libpthread: GLIBC_2.3.3): New version set.
26079         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26080         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26081         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26082         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26083         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26084         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26085         Moved ...
26086         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26087         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26088         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26089         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26090         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26091         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26092         * sysdeps/sparc/nptl/sem_init.c: ... here.
26093         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26094         * sysdeps/sparc/nptl/sem_post.c: ... here.
26095         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26096         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26097         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26098         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26099         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26100         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26101         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26102         (libpthread-routines): Add cpu_relax.
26103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26104         File removed.
26105         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26106         (librt: GLIBC_2.3.3): New version set.
26107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26108         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26109         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26110         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26113         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26115         Moved ...
26116         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26118         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26120         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26122         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26124         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26126         Moved ...
26127         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26128         Update #include.
26129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26130         Moved ...
26131         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26132         Update #include.
26133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26134         Moved ...
26135         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26136         Update #include.
26137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26138         Moved ...
26139         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26140         Update #include.
26141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26142         Moved ...
26143         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26144         Update #include.
26145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26146         Moved ...
26147         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26148         Update #include.
26149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26150         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26154         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26156         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26158         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26160         Moved ...
26161         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26163         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26165         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26167 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26169         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26170         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26171         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26172         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26173         * nscd/nscd.c: Likewise.
26174         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26175         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26176         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26177         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26179         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26180         <kernel-features.h>.
26181         (init_mq_netlink): Remove conditional have_sock_cloexec
26182         definitions.  Remove code conditional on have_sock_cloexec < 0.
26183         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26184         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26185         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26186         <kernel-features.h>.
26187         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26188         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26190 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26193         Add tests for memset_chk and memset.
26195         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26196         with AVX2_Usable.
26198 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26200         [BZ #16046]
26201         * elf/tst-dl-iter-static.c: New file.
26202         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26204         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26205         error.
26207 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26209         * sysdeps/unix/sysv/linux/kernel-features.h
26210         (__ASSUME_F_GETOWN_EX): Remove macro.
26211         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26212         <kernel-features.h>.
26213         (miss_F_GETOWN_EX): Remove variable or macro.
26214         (do_fcntl): Do not check miss_F_GETOWN_EX.
26215         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26218         Remove macro.
26219         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26220         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26221         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26223         * sysdeps/unix/sysv/linux/kernel-features.h
26224         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26225         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26226         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26227         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26229 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26231         [BZ #17075]
26232         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26233         Fix calculation of the symbol's value.
26234         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26235         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26236         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26237         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26238         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26239         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26240         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26241         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26242         (modules-names): Add `tst-armtlsdescmod',
26243         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26244         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26245         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26246         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26247         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26248         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26249         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26250         ($(objpfx)tst-armtlsdescloc): New dependency.
26251         ($(objpfx)tst-armtlsdescextnow): Likewise.
26252         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26253         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26254         TLS scheme support.
26255         * sysdeps/arm/configure: Regenerate.
26257 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26259         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26260         (__atfct_seterrno_2): Likewise.
26261         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26262         <kernel-features.h>.
26263         (__ASSUME_ATFCTS): Do not undefine and redefine.
26264         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26265         (__have_atfcts): Remove conditional definition.
26266         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26267         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26268         unreachable if [__ASSUME_ATFCTS].
26269         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26270         not undefine and redefine.
26271         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26272         <kernel-features.h>.
26273         (faccessat) [__NR_faccessat]: Make code unconditional.
26274         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26275         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26276         <kernel-features.h>.
26277         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26278         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26279         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26280         <kernel-features.h>.
26281         (fchownat) [__NR_fchownat]: Make code unconditional.
26282         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26283         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26284         <kernel-features.h>.
26285         (futimesat) [__NR_futimesat]: Make code unconditional.
26286         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26287         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26288         <kernel-features.h>.
26289         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26290         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26291         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26292         <kernel-features.h>.
26293         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26294         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26295         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26296         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26297         <kernel-features.h>.
26298         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26299         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26300         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26301         <kernel-features.h>.
26302         (linkat) [__NR_linkat]: Make code unconditional.
26303         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26304         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26305         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26306         <kernel-features.h>.
26307         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26308         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26309         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26310         <kernel-features.h>.
26311         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26312         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26313         * sysdeps/unix/sysv/linux/openat.c: Do not include
26314         <kernel-features.h>.
26315         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26316         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26317         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26318         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26319         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26320         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26321         <kernel-features.h>.
26322         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26323         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26324         result of INLINE_SYSCALL directly, not via int variable.
26325         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26326         <kernel-features.h>.
26327         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26328         (renameat) [__NR_renameat]: Make code unconditional.
26329         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26330         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26331         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26332         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26333         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26334         (__ASSUME_ATFCTS): Do not undefine and redefine.
26335         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26336         <kernel-features.h>.
26337         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26338         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26339         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26340         <kernel-features.h>.
26341         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26342         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26343         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26344         (__ASSUME_ATFCTS): Do not undefine and redefine.
26345         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26346         <kernel-features.h>.
26347         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26348         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26349         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26350         <kernel-features.h>.
26351         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26352         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26354 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26356         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26358 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26360         [BZ #17069]
26361         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26362         constructed tree before returning error.
26363         * posix/bug-regexp36.c: Expand test case.
26365 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26367         [BZ #6803]
26368         * math/libm-test.inc (scalbln_test_date):
26369         Add errno expectations.
26370         * math/w_scalblnf.c: New File.
26371         Add wrapper which checks for setting errno to ERANGE.
26372         Add weak_alias for corresponding scalbln function.
26373         * math/w_scalbln.c: Likewise.
26374         * math/w_scalblnl.c: Likewise.
26375         * math/Makefile (libm-calls): Add w_scalbln.
26376         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26377         Remove weak_alias for corresponding scalbln function.
26378         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26379         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26380         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26381         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26382         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26383         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26384         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26385         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26386         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26387         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26388         Remove long_double_symbol for scalblnl function in libm, libc.
26389         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26390         Add wrapper which checks for setting errno to ERANGE.
26391         Add long_double_symbol for scalblnl function in libm, libc.
26392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26393         Remove long_double_symbol for scalblnl in libm.
26394         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26395         Add wrapper which checks for setting errno to ERANGE.
26396         Add long_double_symbol for scalblnl function in libm.
26397         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26398         Do not use wrapper because of own implementation.
26400 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26402         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26403         3 bytes for __pad1 for x32.
26404         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26406 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26407             H.J. Lu  <hongjiu.lu@intel.com>
26409         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26410         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26411         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26412         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26413         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26415 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26417         [BZ #17069]
26418         * posix/regcomp.c (parse_expression): Deallocate partially
26419         constructed tree before returning error.
26420         * posix/Makefile.c (tests): Add bug-regex36.
26421         (generated): Add bug-regex36.mtrace.
26422         (tests-special): Add $(objpfx)bug-regex36-mem.out
26423         (bug-regex36-ENV): New variable.
26424         ($(objpfx)bug-regex36-mem.out): New rule.
26425         * posix/bug-regex36.c: New file.
26427 2014-06-19  Will Newton  <will.newton@linaro.org>
26429         * malloc/malloc.c (systrim): If extra is zero then return
26430         early.
26432 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26434         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26436 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26438         * sysdeps/aarch64/strchr.S: New file.
26440 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26442         [BZ #17022]
26443         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26444         from arguments -2 or below.
26445         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26446         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26448 2014-06-18  Andreas Schwab  <schwab@suse.de>
26450         [BZ #17062]
26451         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26452         of a bracket expr not to run off the end of the string.
26453         * posix/Makefile (tests): Add tst-fnmatch3.
26454         * posix/tst-fnmatch3.c: New file.
26456 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26458         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26459         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26460         [$(cross-compiling) = no]: Likewise.
26461         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26462         [$(cross-compiling) = no]: Likewise.
26464 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26466         [BZ #17031]
26467         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26468         double, adjusted for any remainder from the high double.
26469         * math/libm-test.inc (nearbyint): Add tests.
26470         (rint): Likewise.
26472 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26474         * nptl/sysdeps/powerpc/Makefile: Moved ...
26475         * sysdeps/powerpc/nptl/Makefile: ... here.
26476         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26477         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26478         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26479         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26480         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26481         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26482         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26483         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26484         * nptl/sysdeps/powerpc/tls.h: Moved ...
26485         * sysdeps/powerpc/nptl/tls.h: ... here.
26487 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26489         [BZ #16681]
26490         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26491         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26492         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26493         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26494         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26495         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26496         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26497         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26498         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26500 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26502         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26504 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26506         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26507         defined operator.
26509         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26510         $TIMEOUTFACTOR.
26512 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26514         [BZ #17058]
26515         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26516         non-executed part of the test.
26518 2014-06-16  Andreas Schwab  <schwab@suse.de>
26520         * string/bits/string2.h (strdup, strndup): Update feature guard.
26522 2014-06-14  David S. Miller  <davem@davemloft.net>
26524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26526 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26528         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26529         that was previously under [RESET_PID].
26530         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26532         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26533         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26534         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26535         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26536         (__libc_vfork): New strong alias.
26537         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26539 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26541         * sysdeps/generic/elide.h: New file.
26543 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26545         * Makefile (installed-headers): Adjust path of pthread.h header.
26547 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26549         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26550         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26551         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26552         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26554         * nptl/sysdeps/s390/Makefile: Moved ...
26555         * sysdeps/s390/nptl/Makefile: ... here.
26556         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26557         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26558         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26559         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26560         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26561         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26562         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26563         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26564         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26565         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26566         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26567         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26568         * nptl/sysdeps/s390/tls.h: Moved ...
26569         * sysdeps/s390/nptl/tls.h: ... here.
26571         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26572         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26574 2014-06-13  David S. Miller  <davem@davemloft.net>
26576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26579         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26583         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26584         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26585         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26586         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26587         Remove RESET_PID cpp guards.
26588         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26589         Remove RESET_PID cpp guards.
26590         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26592 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26594         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26595         __sp to uintptr_t.
26597 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26599         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26600         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26601         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26602         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26604         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26605         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26606         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26607         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26608         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26609         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26610         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26611         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26612         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26613         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26614         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26615         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26616         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26617         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26618         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26620         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26621         (pthread_rwlock_rdlock): Add elision.
26622         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26623         (pthread_rwlock_wrlock): Add elision.
26624         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26625         (pthread_rwlock_trywrlock): Add elision.
26626         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26627         (pthread_rwlock_tryrdlock): Add elision.
26628         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26629         (pthread_rwlock_tryrdlock): Add elision unlock.
26630         * nptl/sysdeps/pthread/pthread.h:
26631         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26632         (PTHREAD_RWLOCK_INITIALIZER,
26633         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26634         Handle new elision field.
26635         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26636         * sysdeps/arm/nptl/bits/pthreadtypes.h
26637         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26638         * sysdeps/sh/nptl/bits/pthreadtypes.h
26639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26640         * sysdeps/tile/nptl/bits/pthreadtypes.h
26641         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26642         * sysdeps/a/nptl/bits/pthreadtypes.h
26643         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26644         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26645         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26646         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26647         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26648         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26650         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26652         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26654         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26655         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26656         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26658         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26660         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26661         (elision_init): Set try_xbegin to zero when no RTM.
26662         * sysdeps/x86/nptl/bits/pthreadtypes.h
26663         (pthread_rwlock_t): Change __pad1 to __rwelision.
26664         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26666 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26668         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26669         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26670         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26671         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26673 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26675         [BZ #16996]
26676         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26677         that the cached result has been set before returning it.
26679 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26681         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26682         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26683         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26684         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26685         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26686         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26688         * nptl/sysdeps/sparc/Makefile: Moved ...
26689         * sysdeps/sparc/nptl/Makefile: ... here.
26690         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26691         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26692         * nptl/sysdeps/sparc/tls.h: Moved ...
26693         * sysdeps/sparc/nptl/tls.h: ... here.
26694         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26695         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26696         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26697         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26698         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26699         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26700         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26701         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26702         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26703         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26704         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26705         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26706         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26707         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26708         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26709         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26710         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26712         Update #include.
26713         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26714         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26715         Update #include.
26716         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26718         Update #include.
26719         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26720         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26721         Update #include.
26723         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26725         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26726         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26728         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26729         (struct list_links): Type removed.
26730         (struct thread_node, struct timer_node): Replace struct list_links
26731         with struct list_head.
26732         (list_unlink_ip): Likewise.
26733         * sysdeps/pthread/timer_routines.c
26734         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26735         (list_append, list_insbefore): Likewise.
26736         (list_init): Function removed.
26737         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26738         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26739         * sysdeps/pthread/Makefile: ... here, new file.
26741         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26742         * sysdeps/nptl/Implies: ... here.
26743         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26744         * nptl/sysdeps/pthread/list.h: Moved ...
26745         * include/list.h: ... here.
26746         * nptl/sysdeps/pthread/createthread.c: Moved ...
26747         * nptl/createthread.c: ... here.
26748         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26749         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26750         * nptl/pt-longjmp.c: ... here.
26751         * nptl/sysdeps/pthread/Makefile: Moved ...
26752         * sysdeps/nptl/Makefile: ... here.
26753         * nptl/sysdeps/pthread/Subdirs: Moved ...
26754         * sysdeps/nptl/Subdirs: ... here.
26755         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26756         * sysdeps/nptl/aio_misc.h: ... here.
26757         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26758         * sysdeps/nptl/bits/libc-lock.h: ... here.
26759         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26760         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26761         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26762         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26763         * nptl/sysdeps/pthread/configure: Moved ...
26764         * sysdeps/nptl/configure: ... here.
26765         * nptl/sysdeps/pthread/configure.ac: Moved ...
26766         * sysdeps/nptl/configure.ac: ... here.
26767         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26768         * sysdeps/nptl/gai_misc.h: ... here.
26769         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26770         * sysdeps/nptl/librt-cancellation.c: ... here.
26771         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26772         * sysdeps/nptl/malloc-machine.h: ... here.
26773         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26774         * sysdeps/nptl/pthread-functions.h: ... here.
26775         * nptl/sysdeps/pthread/pthread.h: Moved ...
26776         * sysdeps/nptl/pthread.h: ... here.
26777         * nptl/sysdeps/pthread/setxid.h: Moved ...
26778         * sysdeps/nptl/setxid.h: ... here.
26779         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26780         * sysdeps/nptl/sigfillset.c: ... here.
26781         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26782         * sysdeps/nptl/tcb-offsets.h: ... here.
26783         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26784         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26785         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26786         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26787         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26788         * sysdeps/pthread/allocalim.h: ... here.
26789         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26790         * sysdeps/pthread/bits/sigthread.h: ... here.
26791         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26792         * sysdeps/pthread/flockfile.c: ... here.
26793         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26794         * sysdeps/pthread/ftrylockfile.c: ... here.
26795         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26796         * sysdeps/pthread/funlockfile.c: ... here.
26797         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26798         * sysdeps/pthread/posix-timer.h: ... here.
26799         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26800         * sysdeps/pthread/timer_create.c: ... here.
26801         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26802         * sysdeps/pthread/timer_delete.c: ... here.
26803         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26804         * sysdeps/pthread/timer_getoverr.c: ... here.
26805         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26806         * sysdeps/pthread/timer_gettime.c: ... here.
26807         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26808         * sysdeps/pthread/timer_routines.c: ... here.
26809         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26810         * sysdeps/pthread/timer_settime.c: ... here.
26811         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26812         * sysdeps/pthread/tst-timer.c: ... here.
26813         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26814         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26816         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26817         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26819         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26820         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26821         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26822         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26823         Update #include target.
26824         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26825         * sysdeps/i386/i686/nptl/Makefile: ... here.
26826         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26827         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26828         Update #include target.
26829         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26830         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26831         * nptl/sysdeps/i386/Makefile: Moved ...
26832         * sysdeps/i386/nptl/Makefile: ... here.
26833         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26834         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26835         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26836         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26837         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26838         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26839         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26840         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26841         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26842         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26843         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26844         * nptl/sysdeps/i386/tls.h: Moved ...
26845         * sysdeps/i386/nptl/tls.h: ... here.
26847         * sysdeps/sh/Makefile [$(subdir) = csu]
26848         (gen-as-const-headers): Add tcb-offsets.sym.
26849         * nptl/sysdeps/sh/Makefile: File removed.
26850         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26851         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26852         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26853         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26854         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26855         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26856         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26857         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26858         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26859         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26860         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26861         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26862         * nptl/sysdeps/sh/tls.h: Moved ...
26863         * sysdeps/sh/nptl/tls.h: ... here.
26864         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26865         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26866         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26867         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26868         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26869         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26870         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26871         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26872         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26873         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26874         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26875         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26876         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26877         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26878         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26879         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26880         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26881         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26882         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26883         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26884         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26885         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26886         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26887         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26888         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26889         Moved ...
26890         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26891         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26892         Moved ...
26893         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26894         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26895         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26897         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26898         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26899         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26900         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26901         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26902         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26903         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26904         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26905         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26906         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26907         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26908         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26909         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26910         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26911         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26913 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26915         * posix/spawn_faction_addopen.c: Include string.h.
26917 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26919         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26920         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26921         * nptl/sysdeps/x86_64/Makefile: Moved ...
26922         * sysdeps/x86_64/nptl/Makefile: ... here.
26923         * nptl/sysdeps/x86_64/configure: Moved ...
26924         * sysdeps/x86_64/nptl/configure: ... here.
26925         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26926         * sysdeps/x86_64/nptl/configure.ac: ... here.
26927         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26928         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26929         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26930         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26931         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26932         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26933         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26934         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26935         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26936         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26937         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26938         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26939         * nptl/sysdeps/x86_64/tls.h: Moved ...
26940         * sysdeps/x86_64/nptl/tls.h: ... here.
26941         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26942         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26943         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26944         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26946         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26948 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26952 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26954         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26955         type.
26956         [POSIX] (off_t): Likewise.
26957         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26958         [POSIX] (S_ISBLK): Require macro.
26959         [POSIX] (S_ISCHR): Likewise.
26960         [POSIX] (S_ISDIR): Likewise.
26961         [POSIX] (S_ISFIFO): Likewise.
26962         [POSIX] (S_ISREG): Likewise.
26963         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26964         optional-macro.
26965         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26966         type.
26967         [POSIX] (time_t): Likewise.
26968         [POSIX] (timer_t): Likewise.
26970 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26972         [BZ #17048]
26973         * posix/spawn_int.h (struct __spawn_action): Make the path string
26974         non-const to support deallocation.
26975         * posix/spawn_faction_addopen.c
26976         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26977         * posix/spawn_faction_destroy.c
26978         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26979         path in all spawn_do_open actions.
26980         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26981         posix_spawn_file_actions_addopen.
26983 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26985         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26986         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26987         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26988         conditional code always true.
26989         (__libc_vfork): New alias.
26991 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26993         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26994         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26996         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26998         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26999         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27001         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27002         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27004         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27005         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27007 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27009         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27010         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27011         multiarch strcmp for PPC64.
27012         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27013         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27015         multiarch optimizations.
27016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27017         (__libc_ifunc_impl_list): Likewise.
27019 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27021         * benchtests/scripts/validate_benchout.py: New script.
27022         * benchtests/Makefile (bench-func): Call it.
27023         * benchtests/scripts/benchout.schema.json: New file.
27025 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27027         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27028         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27029         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27030         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27031         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27032         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27033         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27034         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27035         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27036         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27037         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27038         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27039         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27040         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27041         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27042         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27044         Moved ...
27045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27046         ... here.
27047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27048         Moved ...
27049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27051         Moved ...
27052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27053         ... here.
27054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27055         Moved ...
27056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27057         ... here.
27058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27059         Moved ...
27060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27062         Moved ...
27063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27064         ... here.
27065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27066         Moved ...
27067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27068         ... here.
27069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27070         Moved ...
27071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27073         Moved ...
27074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27075         ... here.
27076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27077         Moved ...
27078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27079         ... here.
27080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27081         Moved ...
27082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27083         ... here.
27084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27085         Moved ...
27086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27088         Moved ...
27089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27090         ... here.
27091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27092         Moved ...
27093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27094         ... here.
27095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27096         Moved ...
27097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27098         ... here.
27099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27100         Moved ...
27101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27103         Moved ...
27104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27105         ... here.
27106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27107         Moved ...
27108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27109         ... here.
27110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27111         Moved ...
27112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27114         Moved ...
27115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27116         ... here.
27117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27118         Moved ...
27119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27121         Moved ...
27122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27124         Moved ...
27125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27126         ... here.
27127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27128         Moved ...
27129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27130         ... here.
27131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27132         Moved ...
27133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27134         ... here.
27135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27136         Moved ...
27137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27139         Moved ...
27140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27141         ... here.
27142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27143         Moved ...
27144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27145         ... here.
27146         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27147         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27148         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27149         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27150         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27151         Moved ...
27152         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27153         ... here.
27154         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27155         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27156         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27157         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27158         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27159         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27160         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27161         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27163         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27164         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27165         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27166         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27167         Moved ...
27168         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27169         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27170         Moved ...
27171         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27173         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27174         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27175         Moved ...
27176         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27177         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27178         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27179         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27180         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27181         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27182         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27184 2014-06-10  Wilco  <wdijkstr@arm.com>
27186         * math/test-fenv-return.c: New file.
27187         * math/Makefile: Add new test test-fenv-return.
27189 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27191         [BZ #17042]
27192         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27193         when x - 1 is zero.
27194         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27195         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27196         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27197         0.0L for an argument of 1.0L.
27198         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27199         Likewise.
27200         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27201         value when x - 1 is zero.
27202         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27203         * sysdeps/i386/fpu/libm-test-ulps: Update.
27204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27206 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27208         [BZ #15119]
27209         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27211 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27213         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27214         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27216 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27218         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27219         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27221         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27222         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27224         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27225         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27227         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27228         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27230         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27231         if not already defined.
27232         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27233         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27234         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27235         (TLS_INIT_TP): Use it.
27236         (TLS_DEFINE_INIT_TP): New macro.
27237         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27239 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27241         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27242         constant.
27243         [POSIX] (IXANY): Likewise.
27244         [POSIX] (OLCUC): Likewise.
27245         [POSIX || POSIX2008] (CBAUD): Do not allow.
27246         [POSIX || POSIX2008] (DEFECHO): Likewise.
27247         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27248         [POSIX || POSIX2008] (ECHOKE): Likewise.
27249         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27250         [POSIX || POSIX2008] (EXTA): Likewise.
27251         [POSIX || POSIX2008] (EXTB): Likewise.
27252         [POSIX || POSIX2008] (FLUSHO): Likewise.
27253         [POSIX || POSIX2008] (LOBLK): Likewise.
27254         [POSIX || POSIX2008] (PENDIN): Likewise.
27255         [POSIX || POSIX2008] (SWTCH): Likewise.
27256         [POSIX || POSIX2008] (VDISCARD): Likewise.
27257         [POSIX || POSIX2008] (VDSUSP): Likewise.
27258         [POSIX || POSIX2008] (VLNEXT): Likewise.
27259         [POSIX || POSIX2008] (VREPRINT): Likewise.
27260         [POSIX || POSIX2008] (VSTATUS): Likewise.
27261         [POSIX || POSIX2008] (VWERASE): Likewise.
27262         (B*): Change to B[0123456789]*.
27263         * conform/data/time.h-data [POSIX || UNIX98]
27264         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27265         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27266         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27267         [POSIX] (tm_*): Do not allow.
27269 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27271         * Makefile (install): Don't set LANGUAGE.
27272         * Makefile.in (install): Likewise.
27273         * assert/Makefile (test-assert-ENV): Remove variable.
27274         (test-assert-perr-ENV): Likewise.
27275         * elf/Makefile (neededtest4-ENV): Likewise.
27276         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27277         [$(cross-compiling) = no]: Don't set LANGUAGE.
27278         * io/ftwtest-sh (LANG): Remove variable.
27279         * libio/Makefile (tst-widetext-ENV): Likewise.
27280         * manual/install.texi (Running make install): Don't refer to
27281         environment settings for make install.
27282         * INSTALL: Regenerated.
27283         * nptl/tst-tls6.sh: Don't set LANG.
27284         * posix/globtest.sh (LANG): Remove variable.
27285         * string/Makefile (tester-ENV): Likewise.
27286         (inl-tester-ENV): Likewise.
27287         (noinl-tester-ENV): Likewise.
27288         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27289         [$(cross-compiling) = no]: Don't set LANGUAGE.
27290         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27291         without explicit environment settings.
27293 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27295         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27296         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27297         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27298         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27300 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27302         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27303         other files in the crypt directory.
27304         * crypt/crypt.c: Remove duplicate includes.
27305         * crypt/crypt-entry.c: Likewise.
27306         * crypt/crypt_util.c: Likewise.
27308 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27310         * Makeconfig (run-program-env): New variable.
27311         (run-program-prefix-before-env): Likewise.
27312         (run-program-prefix-after-env): Likewise.
27313         (run-program-prefix): Define in terms of new variables.
27314         (built-program-cmd-before-env): New variable.
27315         (built-program-cmd-after-env): Likewise.
27316         (built-program-cmd): Define in terms of new variables.
27317         (test-program-prefix-before-env): New variable.
27318         (test-program-prefix-after-env): Likewise.
27319         (test-program-prefix): Define in terms of new variables.
27320         (test-program-cmd-before-env): New variable.
27321         (test-program-cmd-after-env): Likewise.
27322         (test-program-cmd): Define in terms of new variables.
27323         * Rules (make-test-out): Use $(run-program-env).
27324         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27325         (help): Do not mention environment variables.  Mention
27326         --timeoutfactor option.
27327         (timeoutfactor): New variable.
27328         (blacklist_exports): Remove function.
27329         (exports): Remove variable.
27330         (command): Do not include ${exports}.
27331         * manual/install.texi (Configuring and compiling): Do not mention
27332         test wrappers preserving environment variables.  Mention that last
27333         assignment to a variable must take precedence.
27334         * INSTALL: Regenerated.
27335         * benchtests/Makefile (run-bench): Use $(run-program-env).
27336         * catgets/Makefile ($(objpfx)test1.cat): Use
27337         $(built-program-cmd-before-env), $(run-program-env) and
27338         $(built-program-cmd-after-env).
27339         ($(objpfx)test2.cat): Do not specify environment variables
27340         explicitly.
27341         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27342         $(run-program-env) and $(built-program-cmd-after-env).
27343         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27344         $(run-program-env) and $(test-program-cmd-after-env).
27345         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27346         explicitly.
27347         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27348         run_program_env and test_program_cmd_after_env arguments.
27349         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27350         * elf/tst-pathopt.sh: Use run_program_env argument.
27351         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27352         $(test-wrapper-env) and $(run-program-env).
27353         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27354         run_program_env arguments.
27355         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27356         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27357         $(test-program-prefix-before-env), $(run-program-env) and
27358         $(test-program-prefix-after-env).
27359         ($(objpfx)tst-gettext2.out): Likewise.
27360         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27361         run_program_env and test_program_prefix_after_env arguments.
27362         * intl/tst-gettext2.sh: Likewise.
27363         * intl/tst-gettext4.sh: Do not set environment variables
27364         explicitly.
27365         * intl/tst-gettext6.sh: Likewise.
27366         * intl/tst-translit.sh: Likewise.
27367         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27368         $(test-program-prefix-before-env), $(run-program-env) and
27369         $(test-program-prefix-after-env).
27370         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27371         run_program_env and test_program_prefix_after_env arguments.
27372         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27373         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27374         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27375         explicitly with each use of ${test_wrapper_env}.
27376         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27377         $(test-program-prefix-before-env), $(run-program-env) and
27378         $(test-program-prefix-after-env).
27379         * posix/tst-getconf.sh: Do not set environment variables
27380         explicitly.
27381         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27382         run_program_env and test_program_prefix_after_env arguments.
27383         * stdio-common/tst-printf.sh: Do not set environment variables
27384         explicitly.
27385         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27386         $(test-program-prefix-before-env), $(run-program-env) and
27387         $(test-program-prefix-after-env).
27388         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27389         run_program_env and test_program_prefix_after_env arguments.
27390         Split $test calls into $test_pre and $test.
27391         * timezone/Makefile (build-testdata): Use
27392         $(built-program-cmd-before-env), $(run-program-env) and
27393         $(built-program-cmd-after-env).
27395 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27397         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27398         strlen for non SHARED builds.
27400 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27402         * nptl/allocatestack.c (check_list): Inlined function...
27403         (__reclaim_stacks): ... here.
27405 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27407         [BZ #15698]
27408         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27409         memory overrun.
27411 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27413         * Rules (make-test-out): Include
27414         LOCPATH=$(common-objpfx)localedata in default environment.
27415         * debug/Makefile (tst-chk1-ENV): Remove variable.
27416         (tst-chk2-ENV): Likewise.
27417         (tst-chk3-ENV): Likewise.
27418         (tst-chk4-ENV): Likewise.
27419         (tst-chk5-ENV): Likewise.
27420         (tst-chk6-ENV): Likewise.
27421         (tst-lfschk1-ENV): Likewise.
27422         (tst-lfschk2-ENV): Likewise.
27423         (tst-lfschk3-ENV): Likewise.
27424         (tst-lfschk4-ENV): Likewise.
27425         (tst-lfschk5-ENV): Likewise.
27426         (tst-lfschk6-ENV): Likewise.
27427         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27428         (tst-iconv7-ENV): Likewise.
27429         * intl/Makefile (LOCPATH-ENV): Likewise.
27430         (tst-codeset-ENV): Likewise.
27431         (tst-gettext3-ENV): Likewise.
27432         (tst-gettext5-ENV): Likewise.
27433         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27434         (tst-fopenloc-ENV): Likewise.
27435         (tst-fgetws-ENV): Remove variable.
27436         (tst-ungetwc1-ENV): Likewise.
27437         (tst-ungetwc2-ENV): Likewise.
27438         (bug-ungetwc2-ENV): Likewise.
27439         (tst-swscanf-ENV): Likewise.
27440         (bug-ftell-ENV): Likewise.
27441         (tst-fgetwc-ENV): Likewise.
27442         (tst-fseek-ENV): Likewise.
27443         (tst-ftell-partial-wide-ENV): Likewise.
27444         (tst-ftell-active-handler-ENV): Likewise.
27445         (tst-ftell-append-ENV): Likewise.
27446         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27447         (tst-regexloc-ENV): Likewise.
27448         (bug-regex1-ENV): Likewise.
27449         (tst-regex-ENV): Likewise.
27450         (tst-regex2-ENV): Likewise.
27451         (bug-regex5-ENV): Likewise.
27452         (bug-regex6-ENV): Likewise.
27453         (bug-regex17-ENV): Likewise.
27454         (bug-regex18-ENV): Likewise.
27455         (bug-regex19-ENV): Likewise.
27456         (bug-regex20-ENV): Likewise.
27457         (bug-regex22-ENV): Likewise.
27458         (bug-regex23-ENV): Likewise.
27459         (bug-regex25-ENV): Likewise.
27460         (bug-regex26-ENV): Likewise.
27461         (bug-regex30-ENV): Likewise.
27462         (bug-regex32-ENV): Likewise.
27463         (bug-regex33-ENV): Likewise.
27464         (bug-regex34-ENV): Likewise.
27465         (bug-regex35-ENV): Likewise.
27466         (tst-rxspencer-ENV): Likewise.
27467         (tst-rxspencer-no-utf8-ENV): Likewise.
27468         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27469         (tst-sscanf-ENV): Likewise.
27470         (tst-swprintf-ENV): Likewise.
27471         (tst-swscanf-ENV): Likewise.
27472         (test-vfprintf-ENV): Likewise.
27473         (scanf13-ENV): Likewise.
27474         (bug14-ENV): Likewise.
27475         (tst-grouping-ENV): Likewise.
27476         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27477         (tst-strtod3-ENV): Likewise.
27478         (tst-strtod4-ENV): Likewise.
27479         (tst-strtod5-ENV): Likewise.
27480         (testmb2-ENV): Likewise./
27481         * string/Makefile (tst-strxfrm-ENV): Likewise.
27482         (tst-strxfrm2-ENV): Likewise.
27483         (bug-strcoll1-ENV): Likewise.
27484         (test-strcasecmp-ENV): Likewise.
27485         (test-strncasecmp-ENV): Likewise.
27486         * time/Makefile (tst-strptime-ENV): Likewise.
27487         (tst-ftime_l-ENV): Likewise.
27488         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27489         (tst-mbrtowc-ENV): Likewise.
27490         (tst-wcrtomb-ENV): Likewise.
27491         (tst-mbrtowc2-ENV): Likewise.
27492         (tst-c16c32-1-ENV): Likewise.
27493         (tst-mbsnrtowcs-ENV): Likewise.
27495 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27497         * manual/resource.texi (How to get information about the memory
27498         subsystem?): Fix typo.
27499         Reported by Peon de la Parra Ivan <peon@keba.com>
27501 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27503         [BZ #16882]
27504         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27505         (pthread_spin_lock): Branch out of spin loop to proper location.
27506         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27507         (pthread_spin_lock): Likewise.
27509         * nptl/tst-spin4.c: New test.
27510         * nptl/Makefile (tests): Add tst-spin4.
27512 2014-06-03  Andreas Schwab  <schwab@suse.de>
27514         [BZ #15946]
27515         * resolv/res_send.c (send_dg): Reload file descriptor after
27516         calling reopen.
27518 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27520         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27522 2014-06-03  Richard Henderson  <rth@redhat.com>
27524         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27525         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27526         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27527         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27528         in the SAVE_PID block.
27529         (__libc_vfork): New alias.
27530         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27532         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27533         child in registers, not on the stack.  Remove RESET_PID conditionals.
27534         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27536 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27538         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27540 2014-06-03  Wilco  <wdijkstr@arm.com>
27542         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27543         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27544         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27545         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27546         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27547         Likewise.
27549 2014-06-03  Wilco  <wdijkstr@arm.com>
27551         * sysdeps/aarch64/fpu/math_private.h
27552         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27553         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27554         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27555         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27556         Fix declarations.
27558 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27560         * crypt/crypt-private.h: Include ufc-crypt.h.
27561         (__b64_from_24bit): Declare extern.
27562         * crypt/crypt_util.c(__b64_from_24bit): New function.
27563         (b64t): New static const variable.
27564         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27565         (b64t): Remove variable.
27566         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27567         * crypt/sha256-crypt.c: Include crypt-private.h.
27568         (b64t): Remove variable.
27569         (__sha256_crypt_r): Remove b64_from_24bit and replace
27570         with __b64_from_24bit.
27571         * crypt/sha512-crypt.c: Likewise.
27573 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27575         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27576         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27577         Label the code __libc_vfork rather than __vfork.
27578         [!NOT_IN_libc] (vfork): Define as weak alias.
27579         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27580         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27581         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27583 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27585         * malloc/malloc.c (malloc_info): Fix format specifier for
27586         n_mmaps.
27588 2014-06-02  Wilco  <wdijkstr@arm.com>
27590         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27591         FPCR write.
27593 2014-06-02  Wilco  <wdijkstr@arm.com>
27595         [BZ #17009]
27596         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27597         Rewrite to reduce FPCR/FPSR accesses.
27599 2014-06-01  David S. Miller  <davem@davemloft.net>
27601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27603 2014-05-31  David S. Miller  <davem@davemloft.net>
27605         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27606         to occur in round to nearest mode when |x| >= 2.0
27608 2014-05-30  Richard Henderson  <rth@twiddle.net>
27610         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27611         (PSEUDO_RET_NOERRNO): Remove.
27612         (ret): Don't redefine.
27613         (ret_NOERRNO): Define in terms of ret.
27614         (ret_ERRVAL): Likewise.
27616         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27617         use of PSEUDO_RET; perform the error check directly.
27619 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27621         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27622         with __int128_t.
27624 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27626         * malloc/malloc (malloc_info): Fix formatting.
27628 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27629             Roland McGrath  <roland@hack.frob.com>
27631         * malloc/malloc (malloc_info): Also print mmapped statistics.
27633 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27635         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27636         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27638 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27640         * malloc/malloc.c (malloc_info): Inline mi_arena.
27642 2014-05-29  Richard Henderson  <rth@twiddle.net>
27644         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27645         Remove comma before expanding ASM_ARGS_##nr.
27646         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27647         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27648         of ASM_ARGS_##nr.
27649         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27650         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27651         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27652         (ASM_ARGS_1): Add leading comma.
27654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27655         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27656         to __errno_location.
27657         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27658         Remove the expected plt for __errno_location.
27660         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27661         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27662         call to __read_tp.
27664         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27665         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27666         it and break it down.
27667         (DOCARGS_0, DOCARGS_1): Do nothing.
27668         (DOCARGS_2): Update to store into the new stack frame.
27669         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27670         (UNDOCARGS_1): Update to restore from the new stack frame.
27671         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27672         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27674         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27675         (SINGLE_THREAD_P): New parameter for result regno.
27676         (PSEUDO): Update to match; use cbz instead of beq.
27678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27679         Use ENTRY to define the _nocancel entry point.  Share the syscall
27680         and syscall error check paths with the cancel path.
27681         (PSEUDO_END): New.
27683         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27684         whitespace; tabs before and after asm mnemonics.
27686 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27688         [BZ #15132]
27689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27690         Call fstat64 or stat64 internally, depending on arguments passed.
27691         Replace stat buffer argument with file descriptor argument.
27692         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27693         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27694         Pass fd to __internal_statvfs instead of calling fstat64.
27695         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27696         Pass fd to __internal_statvfs64 instead of calling fstat64.
27697         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27698         Pass -1 to __internal_statvfs instead of calling stat64.
27699         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27700         Pass -1 to __internal_statvfs64 instead of calling stat64.
27702 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27704         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27705         that was previously under [RESET_PID].
27706         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27708         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27709         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27711 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27713         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27715         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27716         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27718 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27720         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27722 2014-05-27  Andreas Schwab  <schwab@suse.de>
27724         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27725         TLS_INIT_TP macro.
27726         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27727         * elf/rtld.c (init_tls, dl_main): Likewise.
27728         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27729         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27730         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27731         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27732         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27733         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27734         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27735         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27736         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27737         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27738         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27739         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27740         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27741         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27742         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27743         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27744         * sysdeps/generic/tls.h: Update description.
27746 2014-05-27  Will Newton  <will.newton@linaro.org>
27748         [BZ #16990]
27749         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27750         and restore r2 rather than just restoring.
27752 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27754         [BZ #16724]
27755         * libio/tst-ftell-append.c: New test case.
27756         * libio/Makefile (tests): Add test case.
27757         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27758         append mode.
27759         * libio/wfileops.c (do_ftell_wide): Likewise.
27761 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27765         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27766         ...
27767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27769         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27770         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27771         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27772         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27773         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27775         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27776         Moved ...
27777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27779         Moved ...
27780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27781         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27782         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27783         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27784         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27786         ...
27787         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27788         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27789         Moved ...
27790         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27791         here.
27792         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27793         ...
27794         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27795         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27796         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27798         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27799         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27800         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27801         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27804         merge into ...
27805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27807         ...
27808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27809         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27810         ...
27811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27813         Moved ...
27814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27815         here.
27816         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27817         Moved ...
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27820         Moved ...
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27824         conditional [RESET_PID].
27825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27826         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27827         removed.
27828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27829         removed.
27831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27832         <tcb-offsets.h>.
27833         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27834         (__libc_vfork): New strong alias.
27835         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27836         removed.
27837         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27838         Removed.
27840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27841         <tcb-offsets.h>.
27842         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27843         (__libc_vfork): New strong alias.
27844         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27845         removed.
27846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27847         removed.
27849 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27851         * malloc/malloc.c (mi_arena): New function.
27852         (malloc_info): Remove nested function mi_arena. Call non-nosted
27853         function mi_arena.
27855 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27857         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27858         by insrwi.
27859         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27860         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27861         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27862         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27863         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27864         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27865         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27867 2014-05-26  Andreas Schwab  <schwab@suse.de>
27869         [BZ #16984]
27870         * locale/programs/repertoire.c (repertoire_read): Add slash
27871         between I18NPATH element and file name.
27872         * locale/programs/locfile.c (locfile_read): Likewise.
27874 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27876         * nptl/pthread_mutexattr_settype.c
27877         (__pthread_mutexattr_settype):
27878         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27880 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27882         * nptl/tst-mutex5 (do_test):
27883         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27885 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27887         * benchtests/README: Document 'init' directive.
27888         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27889         BENCH_INIT.
27890         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27891         (parse_file): Recognize 'init' directive.
27893 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27895         [BZ #16796]
27896         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27897         alignment of struct pthread.
27899 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27901         [BZ #16878]
27902         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27903         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27904         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27905         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27907 2014-05-25  Richard Henderson  <rth@twiddle.net>
27909         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27910         (SINGLE_THREAD_P_PIC): Remove.
27911         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27912         (SINGLE_THREAD_P_PIC): Remove.
27914         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27915         branch to syscall error ...
27916         (PSEUDO): ... here.
27917         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27918         from __local_syscall_error to .Lsyscall_error.
27919         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27920         (SYSCALL_ERROR): Update label name.
27922         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27923         Do not use DOARGS/UNDOARGS.
27924         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27925         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27926         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27927         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27928         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27930         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27931         block comment.
27933         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27934         define if !NOT_IN_libc.
27935         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27936         define with non-default symbol versions.
27938 2014-05-23  Richard Henderson  <rth@twiddle.net>
27940         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27941         (vfork, __vfork): Define via compat_symbol.
27943         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27944         [!HAVE_IFUNC] (vfork_compat): Remove.
27945         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27947 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27949         [BZ #16978]
27950         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27951         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27952         variable.
27954 2014-05-23  Richard Henderson  <rth@twiddle.net>
27956         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27957         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27958         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27959         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27961         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27962         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27963         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27964         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27965         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27966         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27967         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27968         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27969         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27970         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27971         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27972         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27973         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27974         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27975         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27976         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27977         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27978         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27979         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27980         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27981         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27982         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27983         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27984         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27985         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27986         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27987         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27988         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27989         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27990         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27991         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27992         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27993         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27994         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27995         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27996         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27997         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27998         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27999         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28000         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28001         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28002         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28003         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28004         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28005         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28006         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28007         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28008         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28009         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28010         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28011         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28012         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28013         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28014         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28015         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28016         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28018         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28019         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28020         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28021         before exiting on error.
28022         (__libc_vfork): New strong alias.
28023         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28024         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28026         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28027         that was previously under [RESET_PID].
28028         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28030         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28032 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28034         [BZ #16977]
28035         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28036         value when x - 1 is zero.
28037         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28038         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28039         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28040         0.0L for an argument of 1.0L.
28041         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28042         Likewise.
28043         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28044         value when x - 1 is zero.
28045         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28046         * sysdeps/i386/fpu/libm-test-ulps: Update.
28047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28049 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28051         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28052         alphasort and versionsort.
28054 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28056         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28057         macro.
28058         [copysignf]: Likewise.
28060 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28062         * crypt/md5-crypt.c: Fix formatting.
28064 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28066         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28067         (b64_from_24bit): New function.
28069 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28071         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28072         libc_hidden_builtin_def to ifunc.
28073         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28074         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28076 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28078         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28079         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28081 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28083         * nscd/Depend (linuxthreads): Remove.
28084         (nptl): Add.
28085         * resolv/Depend (linuxthreads): Remove.
28086         * rt/Depend (linuxthreads): Remove.
28088         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28089         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28090         $(common-objpfx)elf/.
28091         (link-libc-before-gnulib): Likewise.
28092         (elfobjdir): Remove variable.
28093         * Makefile (install): Use $(elf-objpfx) instead of
28094         $(common-objpfx)elf/.
28095         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28096         $(elfobjdir)/.
28097         (link-libc-deps): Likewise.
28098         ($(common-objpfx)libc.so): Likewise.
28099         ($(common-objpfx)linkobj/libc.so): Likewise.
28100         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28101         instead of $(common-objpfx)elf/.
28102         (symbolic-link-list): Likewise.
28103         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28104         [$(cross-compiling) = no]: Likewise.
28105         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28106         $(elfobjdir)/.
28107         (static-gnulib-arch): Likewise.
28108         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28109         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28110         $(common-objpfx)elf/.
28112 2014-05-21  Richard Henderson  <rth@redhat.com>
28114         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28115         (SINGLE_THREAD_P): Use the correct width load.  Fold
28116         into the ldr offset.
28118         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28119         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28121 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28123         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28124         (libgcc_s_resume): Use __attribute_used__.
28125         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28126         Likewise.
28128 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28130         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28131         optimization when used with float constants.
28133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28135 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28137         [BZ #16915]
28138         * locale/nl_langinfo_l.c: Make direct reference to every
28139         _nl_current_CATEGORY symbol.
28140         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28141         (tests-static): Add tst-langinfo-static.
28142         (tests-special): Add tst-langinfo-static.out.
28143         ($(objpfx)tst-langinfo.out): Redirect output.
28144         ($(objpfx)tst-langinfo-static.out): New.
28145         * localedata/tst-langinfo.sh: Send output to stdout.
28146         * localedata/tst-langinfo-static.c: New file.
28148         [BZ #16965]
28149         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28150         when the shift amount is modulo the limb size.
28152 2014-05-20  Richard Henderson  <rth@redhat.com>
28154         [BZ #16967]
28155         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28156         Change type of sa_flags from unsigned int to int.
28158         [BZ #16966]
28159         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28161         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28163 2014-05-20  Will Newton  <will.newton@linaro.org>
28165         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28166         Test the return value of the system call in the nocancel case.
28168 2014-05-20  Will Newton  <will.newton@linaro.org>
28169             Yvan Roux  <yvan.roux@linaro.org>
28171         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28172         #include of asm/ptrace.h.
28173         (PTRACE_GET_THREAD_AREA): Remove #undef.
28174         (PTRACE_GETHBPREGS): Likewise.
28175         (PTRACE_SETHBPREGS): Likewise.
28176         (struct user_regs_struct): New structure.
28177         (struct user_fpsimd_struct): New structure.
28178         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28179         #include of asm/ptrace.h and second #include of sys/user.h.
28180         (PTRACE_GET_THREAD_AREA): Remove #undef.
28181         (PTRACE_GETHBPREGS): Likewise.
28182         (PTRACE_SETHBPREGS): Likewise.
28183         (ELF_NGREG): Use new struct user_regs_struct.
28184         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28186 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28188         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28191 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28193         [BZ #16958]
28194         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28195         membar to avoid block loads/stores to overlap previous stores.
28197 2014-05-17  Richard Henderson  <rth@redhat.com>
28199         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28200         Create the __##syscall_name##_nocancel entry point.
28201         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28202         Remove; let the sysdep-cancel.h code create it.
28204 2014-05-17  David S. Miller  <davem@davemloft.net>
28206         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28207         Protect with __USE_GNU.
28208         (TIOCSET_TEMPT): Likewise.
28209         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28210         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28211         these are already provided in bits/ioctl-types.h
28213 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28215         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28216         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28218         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28219         Use wait4 regardless of [__NR_waitpid].
28221 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28223         PR libgcc/60166
28224         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28225         (_FP_NANSIGN_Q): Set the quiet bit.
28227 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28229         * benchtests/Makefile
28230         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28231         not $(common-objpfx)math/libm.so.
28232         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28233         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28234         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28235         $(common-objpfx)dlfcn/libdl.so.
28236         ($(objpfx)tst-audit8): Depend on $(libm), not
28237         $(common-objpfx)math/libm.so.
28238         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28239         not $(common-objpfx)dlfcn/libdl.so.
28240         * math/Makefile
28241         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28242         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28243         [$(build-shared) = yes].
28244         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28245         $(common-objpfx)nptl/libpthread.so.
28246         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28247         $(common-objpfx)math/libm.so$(libm.so-version) or
28248         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28249         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28250         $(common-objpfx)dlfcn/libdl.so.
28251         * setjmp/Makefile (link-libm): Remove variable.
28252         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28253         * stdio-common/Makefile (link-libm): Remove variable.
28254         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28255         * stdlib/Makefile (link-libm): Remove variable.
28256         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28257         ($(objpfx)tst-strtod-round): Likewise.
28258         ($(objpfx)tst-tininess): Likewise.
28259         ($(objpfx)tst-strtod-underflow): Likewise.
28260         ($(objpfx)tst-strtod6): Likewise.
28261         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28262         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28263         $(common-objpfx)dlfcn/libdl.so.
28265 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28267         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28268         BSD terminal modes definitions.
28270 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28272         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28273         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28275         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28276         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28277         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28278         Don't do #include_next.
28279         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28280         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28281         Don't do #include_next.
28282         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28283         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28284         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28285         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28287 2014-05-16  Allan McRae  <allan@archlinux.org>
28289         * po/sv.po: Update Swedish translation from translation project.
28291         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28292         in sed expression.
28294 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28296         [BZ #16917]
28297         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28298         errno if the TIOCGPTN ioctl fails with an error different than
28299         EINVAL.
28300         * login/tst-ptsname.c: New file.
28301         * login/Makefile (tests): Add tst-ptsname.
28303         [BZ #16943]
28304         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28305         and prlimit64.
28307 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28309         [BZ #16849]
28310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28311         herrno to return EAI_AGAIN.
28313 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28315         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28316         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28317         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28320         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28321         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28322         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28323         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28324         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28325         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28326         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28328         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28329         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28330         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28331         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28332         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28333         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28334         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28335         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28336         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28337         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28338         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28339         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28340         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28341         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28342         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28343         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28344         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28346         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28348         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28350         Moved ...
28351         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28353         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28355         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28357         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28359         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28361         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28363         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28365         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28367         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28369         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28371         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28373         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28375         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28377         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28379         Moved ...
28380         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28382         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28384         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28386         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28388         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28390         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28392         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28394         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28396         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28398         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28400         Moved ...
28401         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28403         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28405         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28406         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28407         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28408         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28409         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28410         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28411         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28412         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28413         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28414         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28415         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28416         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28417         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28418         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28419         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28421         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28422         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28423         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28424         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28425         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28426         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28427         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28428         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28429         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28430         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28431         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28432         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28433         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28434         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28435         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28437         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28438         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28440         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28441         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28442         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28443         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28444         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28445         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28446         Moved ...
28447         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28448         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28449         Moved ...
28450         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28451         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28452         Moved ...
28453         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28454         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28455         Moved ...
28456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28457         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28458         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28459         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28460         Moved ...
28461         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28462         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28463         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28464         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28465         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28466         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28467         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28468         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28469         Moved ...
28470         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28471         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28472         Moved ...
28473         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28474         ... here.
28475         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28476         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28477         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28478         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28479         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28480         Moved ...
28481         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28482         ... here.
28483         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28484         Moved ...
28485         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28486         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28487         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28488         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28489         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28490         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28491         Moved ...
28492         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28493         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28494         Moved ...
28495         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28496         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28497         Moved ...
28498         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28499         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28500         Moved ...
28501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28502         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28503         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28504         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28505         Moved ...
28506         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28507         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28508         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28509         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28510         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28511         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28512         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28513         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28514         Moved ...
28515         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28516         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28517         Moved ...
28518         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28519         ... here.
28520         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28521         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28522         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28523         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28524         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28525         Moved ...
28526         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28527         ... here.
28528         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28529         Moved ...
28530         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28531         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28532         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28533         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28534         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28535         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28536         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28537         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28538         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28540         Moved ...
28541         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28543         Moved ...
28544         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28545         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28546         Moved ...
28547         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28548         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28549         Moved ...
28550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28551         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28552         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28553         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28554         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28555         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28556         Moved ...
28557         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28558         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28559         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28560         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28561         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28562         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28563         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28564         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28565         Moved ...
28566         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28567         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28568         Moved ...
28569         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28570         ... here.
28571         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28572         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28573         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28574         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28575         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28576         Moved ...
28577         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28578         ... here.
28579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28580         Moved ...
28581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28582         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28583         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28584         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28585         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28586         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28587         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28588         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28589         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28590         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28591         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28593         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28594         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28596         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28597         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28599         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28600         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28601         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28602         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28603         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28604         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28605         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28606         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28607         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28608         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28609         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28610         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28611         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28612         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28613         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28615         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28616         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28617         Moved ...
28618         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28619         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28620         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28621         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28622         Moved ...
28623         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28624         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28625         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28626         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28627         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28628         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28629         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28630         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28631         Moved ...
28632         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28634         Moved ...
28635         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28637         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28639         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28640         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28641         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28642         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28643         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28644         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28645         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28646         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28647         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28648         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28649         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28650         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28651         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28653         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28654         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28655         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28656         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28657         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28659         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28660         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28661         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28662         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28663         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28664         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28665         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28666         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28667         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28668         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28673         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28674         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28675         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28676         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28677         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28678         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28679         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28680         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28681         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28682         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28683         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28684         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28685         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28686         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28688         Update #include.
28689         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28690         Likewise.
28691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28692         Likewise.
28693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28694         Likewise.
28695         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28696         Likewise.
28697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28698         Likewise.
28699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28700         Likewise.
28701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28702         Likewise.
28703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28704         Likewise.
28705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28706         Likewise.
28707         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28712         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28713         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28714         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28715         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28716         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28717         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28718         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28719         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28720         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28721         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28723         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28724         that was previously under [RESET_PID].
28725         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28726         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28727         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28729         * sysdeps/i386/nptl/Implies: New file.
28730         * sysdeps/x86_64/nptl/Implies: New file.
28731         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28732         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28733         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28734         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28736         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28737         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28738         (__libc_vfork): New strong alias.
28739         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28740         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28742         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28743         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28744         (__libc_vfork): New strong alias.
28745         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28746         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28748         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28749         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28750         (__libc_vfork): New strong alias.
28751         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28752         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28753         * nptl/pt-vfork.c: New file.
28754         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28755         (libpthread: GLIBC_2.20): New version set (empty).
28757 2014-05-14  Will Newton  <will.newton@linaro.org>
28759         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28760         rather than #if.
28762 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28764         [BZ #16564]
28765         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28766         arguments with exponent 65 or above.
28767         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28768         arguments 0x1p113L or above.
28769         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28770         to arguments 0x1p107L or above.
28771         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28772         positive arguments with exponent 65 or above.
28773         * math/auto-libm-test-in: Add more tests of log1p.
28774         * math/auto-libm-test-out: Regenerated.
28776         [BZ #16928]
28777         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28778         non-finite arguments is +0.
28779         * math/s_cacosf.c (__cacosf): Likewise.
28780         * math/s_cacosl.c (__cacosl): Likewise.
28781         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28782         * sysdeps/i386/fpu/libm-test-ulps: Update.
28783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28785         [BZ #16927]
28786         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28787         value.
28788         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28789         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28790         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28791         for explicit high bit of mantissa when testing for argument equal
28792         to 1.
28793         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28794         * sysdeps/i386/fpu/libm-test-ulps: Update.
28795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28797         [BZ #16516]
28798         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28799         (__erf): Scale by 16 instead of 8 in potentially underflowing
28800         case.  Ensure exception if result actually underflows.
28801         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28802         (__erff): Scale by 16 instead of 8 in potentially underflowing
28803         case.  Ensure exception if result actually underflows.
28804         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28805         (efx8): Remove variable.
28806         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28807         case.  Ensure exception if result actually underflows.
28808         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28809         (efx8): Remove variable.
28810         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28811         case.  Ensure exception if result actually underflows.
28812         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28813         (efx8): Remove variable.
28814         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28815         case.  Ensure exception if result actually underflows.
28816         * math/auto-libm-test-in: Add more tests of erf.
28817         * math/auto-libm-test-out: Regenerated.
28819 2014-05-14  Andreas Schwab  <schwab@suse.de>
28821         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28822         Remove code conditionalized on USE___THREAD.
28824         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28825         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28826         not definedness.
28828 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28830         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28831         Define unconditionally.
28832         (__ASSUME_O_CLOEXEC): Likewise.
28833         (__ASSUME_SOCK_CLOEXEC): Likewise.
28834         (__ASSUME_IN_NONBLOCK): Likewise.
28835         (__ASSUME_PIPE2): Likewise.
28836         (__ASSUME_EVENTFD2): Likewise.
28837         (__ASSUME_SIGNALFD4): Likewise.
28838         (__ASSUME_DUP3): Likewise.
28839         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28840         (__ASSUME_DUP3): Do not define.
28841         (__ASSUME_EVENTFD2): Likewise.
28842         (__ASSUME_IN_NONBLOCK): Likewise.
28843         (__ASSUME_O_CLOEXEC): Likewise.
28844         (__ASSUME_PIPE2): Likewise.
28845         (__ASSUME_SIGNALFD4): Likewise.
28846         (__ASSUME_SOCK_CLOEXEC): Likewise.
28847         (__ASSUME_UTIMES): Undefine.
28848         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28849         (__ASSUME_UTIMES): Do not define.
28850         (__ASSUME_O_CLOEXEC): Likewise.
28851         (__ASSUME_SOCK_CLOEXEC): Likewise.
28852         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28853         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28854         0x020621].
28855         (__ASSUME_PIPE2): Likewise.
28856         (__ASSUME_EVENTFD2): Likewise.
28857         (__ASSUME_SIGNALFD4): Likewise.
28858         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28859         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28860         Do not define.
28861         (__ASSUME_EVENTFD2): Likewise.
28862         (__ASSUME_SIGNALFD4): Likewise.
28863         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28864         (__ASSUME_32BITUIDS): Likewise.
28865         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28866         (__ASSUME_IPC64): Likewise.
28867         (__ASSUME_ST_INO_64_BIT): Likewise.
28868         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28869         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28870         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28871         (__ASSUME_UTIMES): Do not define.
28872         (__ASSUME_PSELECT): Likewise.
28873         (__ASSUME_PPOLL): Likewise.
28874         (__ASSUME_O_CLOEXEC): Likewise.
28875         (__ASSUME_SOCK_CLOEXEC): Likewise.
28876         (__ASSUME_IN_NONBLOCK): Likewise.
28877         (__ASSUME_PIPE2): Likewise.
28878         (__ASSUME_EVENTFD2): Likewise.
28879         (__ASSUME_SIGNALFD4): Likewise.
28880         (__ASSUME_DUP3): Likewise.
28881         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28882         (__ASSUME_UTIMES): Likewise.
28883         (__ASSUME_O_CLOEXEC): Likewise.
28884         (__ASSUME_SOCK_CLOEXEC): Likewise.
28885         (__ASSUME_IN_NONBLOCK): Likewise.
28886         (__ASSUME_PIPE2): Likewise.
28887         (__ASSUME_EVENTFD2): Likewise.
28888         (__ASSUME_SIGNALFD4): Likewise.
28889         (__ASSUME_DUP3): Likewise.
28890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28891         (__ASSUME_UTIMES): Likewise.
28892         (__ASSUME_O_CLOEXEC): Likewise.
28893         (__ASSUME_SOCK_CLOEXEC): Likewise.
28894         (__ASSUME_IN_NONBLOCK): Likewise.
28895         (__ASSUME_PIPE2): Likewise.
28896         (__ASSUME_EVENTFD2): Likewise.
28897         (__ASSUME_SIGNALFD4): Likewise.
28898         (__ASSUME_DUP3): Likewise.
28899         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28900         Likewise.
28901         (__ASSUME_UTIMES): Likewise.
28902         (__ASSUME_EVENTFD2): Likewise.
28903         (__ASSUME_SIGNALFD4): Likewise.
28904         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28905         (__ASSUME_O_CLOEXEC): Likewise.
28906         (__ASSUME_SOCK_CLOEXEC): Likewise.
28907         (__ASSUME_IN_NONBLOCK): Likewise.
28908         (__ASSUME_PIPE2): Likewise.
28909         (__ASSUME_EVENTFD2): Likewise.
28910         (__ASSUME_SIGNALFD4): Likewise.
28911         (__ASSUME_DUP3): Likewise.
28912         (__ASSUME_UTIMES): Undefine.
28914         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28915         feclearexcept.  Remove symbol versioning code.
28916         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28917         symbol versioning code.
28918         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28919         symbol versioning code.
28920         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28921         feupdateenv.  Remove symbol versioning code.
28922         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28923         fegetexceptflag.  Remove symbol versioning code.
28924         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28925         fesetexceptflag.  Remove symbol versioning code.
28926         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28927         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28928         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28929         (__posix_fadvise64_l32): Remove prototype.
28930         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28931         code.
28933 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28935         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28936         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28937         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28938         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28940 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28942         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28943         current working directory
28945 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28947         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28948         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28949         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28950         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28951         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28952         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28953         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28954         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28955         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28956         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28957         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28958         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28959         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28960         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28961         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28962         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28963         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28964         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28965         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28966         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28967         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28968         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28969         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28970         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28971         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28972         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28973         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28974         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28975         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28976         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28977         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28978         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28979         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28980         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28981         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28982         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28983         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28984         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28985         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28986         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28987         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28988         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28990         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28991         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28993         * sysdeps/unix/sysv/linux/arm/Makefile
28994         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28995         Add rt-aeabi_unwind_cpp_pr1.
28996         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28997         Add nptl-aeabi_unwind_cpp_pr1.
28998         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28999         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29000         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29001         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29002         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29003         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29005         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29006         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29007         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29008         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29010         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29011         Deconditionalize the code that was previously under [RESET_PID].
29012         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29014         * sysdeps/generic/exit-thread.h: New file.
29015         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29016         * include/unistd.h (__exit_thread): Remove declaration.
29017         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29018         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29019         * csu/libc-start.c: Include <exit-thread.h>.
29020         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29021         * nptl/pthread_create.c: Include <exit-thread.h>.
29022         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29023         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29024         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29025         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29026         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29027         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29028         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29029         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29030         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29031         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29032         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29033         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29034         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29035         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29036         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29037         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29038         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29040 2014-05-13  Andreas Schwab  <schwab@suse.de>
29042         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29044 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29046         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29047         (__ASSUME_UTIMES): Do not condition on kernel version.
29048         (__ASSUME_PSELECT): Define unconditionally.
29049         (__ASSUME_PPOLL): Likewise.
29050         (__ASSUME_ATFCTS): Likewise.
29051         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29052         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29053         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29054         (__ASSUME_UTIMENSAT): Define unconditionally.
29055         (__ASSUME_PRIVATE_FUTEX): Likewise.
29056         (__ASSUME_FALLOCATE): Likewise.
29057         (__ASSUME_O_CLOEXEC): Likewise.
29058         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29059         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29060         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29061         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29062         (__ASSUME_IN_NONBLOCK): Likewise.
29063         (__ASSUME_PIPE2): Likewise.
29064         (__ASSUME_EVENTFD2): Likewise.
29065         (__ASSUME_SIGNALFD4): Likewise.
29066         (__ASSUME_DUP3): Likewise.
29067         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29068         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29069         (__ASSUME_AT_RANDOM): Likewise.
29070         (__ASSUME_PREADV): Likewise.
29071         (__ASSUME_PWRITEV): Likewise.
29072         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29073         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29074         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29075         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29076         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29077         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29078         (__ASSUME_O_CLOEXEC): Define unconditionally.
29079         (__ASSUME_PSELECT): Do not undefine conditionally.
29080         (__ASSUME_PPOLL): Likewise.
29081         (__ASSUME_ATFCTS): Likewise.
29082         (__ASSUME_SET_ROBUST_LIST): Likewise.
29083         (__ASSUME_UTIMENSAT): Likewise.
29084         (__ASSUME_FDATASYNC): Define unconditionally.
29085         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29086         (__ASSUME_SIGFRAME_V2): Likewise.
29087         )__ASSUME_EVENTFD2): Likewise.
29088         (__ASSUME_SIGNALFD4): Likewise.
29089         (__ASSUME_PSELECT): Do not undefine conditionally.
29090         (__ASSUME_PPOLL): Likewise.
29091         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29092         (__ASSUME_PSELECT): Define unconditionally.
29093         (__ASSUME_PPOLL): Likewise.
29094         (__ASSUME_O_CLOEXEC): Likewise.
29095         (__ASSUME_SOCK_CLOEXEC): Likewise.
29096         (__ASSUME_IN_NONBLOCK): Likewise.
29097         (__ASSUME_PIPE2): Likewise.
29098         (__ASSUME_EVENTFD2): Likewise.
29099         (__ASSUME_SIGNALFD4): Likewise.
29100         (__ASSUME_DUP3): Likewise.
29101         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29102         (__ASSUME_O_CLOEXEC): Likewise.
29103         (__ASSUME_SOCK_CLOEXEC): Likewise.
29104         (__ASSUME_IN_NONBLOCK): Likewise.
29105         (__ASSUME_PIPE2): Likewise.
29106         (__ASSUME_EVENTFD2): Likewise.
29107         (__ASSUME_SIGNALFD4): Likewise.
29108         (__ASSUME_DUP3): Likewise.
29109         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29110         (__ASSUME_EVENTFD2): Likewise.
29111         (__ASSUME_SIGNALFD4): Likewise.
29112         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29114 2014-05-12  Andreas Schwab  <schwab@suse.de>
29116         [BZ #16932]
29117         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29118         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29119         than maximum RPC packet size.
29120         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29121         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29122         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29123         (_nss_nis_getservbyport_r): Likewise.
29125 2014-05-12  Will Newton  <will.newton@linaro.org>
29127         * malloc/Makefile (tests): Add tst-mallopt.
29128         * malloc/tst-mallopt.c: New file.
29130 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29132         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29133         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29135 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29137         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29138         (tst-tlsmod6.so): Likewise.
29140 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29142         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29144 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29146         [BZ #16064]
29147         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29148         and <dl-procinfo.h>.
29149         (__fegetenv): Save SSE state in envp->__eip if supported.
29150         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29151         envp->__eip if supported.
29152         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29153         and <dl-procinfo.h>.
29154         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29155         __data_offset and __data_selector in environment to 0.  Set SSE
29156         state if supported.
29157         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29158         test-fenv-sse.
29159         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29160         -mfpmath=sse.
29161         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29163 2014-05-09  Will Newton  <will.newton@linaro.org>
29165         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29166         and libc_relro_required for ARM.
29167         * sysdeps/arm/preconfigure: Regenerate.
29169 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29170             Stefan Liebler  <stli@linux.vnet.ibm.com>
29172         * config.make.in (enable-lock-elision): New Makefile variable.
29173         * configure.ac: Likewise.
29174         * configure: Regenerate.
29175         * sysdeps/s390/configure.ac:
29176         Add check for gcc transactions support.
29177         * sysdeps/s390/configure: Regenerate.
29178         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29179         Build elision files if enabled.
29180         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29181         Add lock elision support for s390.
29182         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29183         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29184         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29185         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29186         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29187         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29188         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29189         Likewise.
29190         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29191         Likewise.
29192         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29193         Likewise.
29194         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29195         Likewise.
29196         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29197         (__lll_timedlock_elision, __lll_lock_elision)
29198         (__lll_unlock_elision, __lll_trylock_elision)
29199         (lll_timedlock_elision, lll_lock_elision)
29200         (lll_unlock_elision, lll_trylock_elision): Add.
29201         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29202         (pthread_mutex_t): Add lock elision support for s390.
29204 2014-05-14  Wilco  <wdijkstr@arm.com>
29206         * sysdeps/arm/fclrexcpt.c: Cleanup.
29207         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29208         * sysdeps/arm/feenablxcpt.c: Cleanup.
29209         * sysdeps/arm/fegetenv.c: Cleanup.
29210         * sysdeps/arm/fegetexcept.c: Cleanup.
29211         * sysdeps/arm/fegetround.c: Cleanup.
29212         * sysdeps/arm/feholdexcpt.c: Cleanup.
29213         * sysdeps/arm/fesetenv.c: Cleanup.
29214         * sysdeps/arm/fesetround.c: Cleanup.
29215         * sysdeps/arm/feupdateenv.c: Cleanup.
29216         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29217         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29218         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29219         * sysdeps/arm/ftestexcept.c: Cleanup.
29220         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29221         * sysdeps/arm/setfpucw.c: Cleanup.
29223 2014-05-09  Will Newton  <will.newton@linaro.org>
29225         * sysdeps/arm/armv7/strcmp.S: New file.
29226         * NEWS: Mention addition of ARMv7 optimized strcmp.
29228 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29230         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29231         look for %.ac rather than %.in.
29233         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29234         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29235         * sysdeps/mach/hurd/configure: Regenerated.
29236         * sysdeps/unix/sysv/linux/configure: Regenerated.
29238         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29240 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29242         [BZ# 16922]
29243         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29244         (LONG_SUB): Ditto.
29245         (PTR_SUB): Ditto.
29247 2014-05-07  Andreas Schwab  <schwab@suse.de>
29249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29250         when skipping over non-matching result from nscd.
29252 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29254         [BZ #16876]
29255         * nptl/sockperf.c (client): Check socket return value.
29257         [BZ #16877]
29258         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29259         nscd security class.
29261 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29263         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29264         * sysdeps/arm/unwind.h: ... here.
29266 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29268         [BZ# 16916]
29269         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29270         Define.
29272 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29274         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29275         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29276         multiarch strncpy for PPC64.
29277         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29278         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29280         multiarch optimizations.
29281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29282         (__libc_ifunc_impl_list): Likewise.
29283         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29284         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29285         multiarch stpncpy for PPC64.
29286         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29287         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29289 2014-05-06  Andreas Schwab  <schwab@suse.de>
29291         [BZ #16912]
29292         * gmon/mcount.c (_MCOUNT_DECL): Use
29293         atomic_compare_and_exchange_bool_acq instead of
29294         catomic_compare_and_exchange_bool_acq.
29296 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29298         * elf/Makefile (others, install-bin): Remove pldd.
29299         (pldd-modules): Variable removed.
29300         ($(objpfx)pldd): Target removed.
29301         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29302         (others, install-bin): Append pldd here.
29303         ($(objpfx)pldd): New target.
29305         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29306         to 0, so the first #if test emitted later doesn't see it undefined.
29307         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29308         * sysdeps/gnu/errlist.c: Regenerated.
29310 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29312         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29313         [libc_hidden_builtin_def]: Define to empty value.
29314         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29315         [libc_hidden_builtin_def]: Likewise.
29316         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29317         [libc_hidden_builtin_def]: Likewise.
29318         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29319         [libc_hidden_builtin_def]: Likewise.
29320         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29321         __redirect_memcpy and define ifunc as default hidden symbol.
29322         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29323         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29325 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29327         * locale/iso-4217.def: Reintroduce XDR currency.
29329 2014-05-04  Allan McRae  <allan@archlinux.org>
29331         * po/eo.po: Update Esperanto translation from translation project.
29333 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29335         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29336         and FEATURE_INDEX_MAX to 1.
29337         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29339 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29341         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29342         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29343         * iconvdata/big5.c (ONE_DIRECTION): Define.
29344         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29345         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29346         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29347         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29348         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29349         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29350         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29351         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29352         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29353         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29354         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29355         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29356         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29357         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29358         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29359         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29360         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29361         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29362         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29363         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29364         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29365         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29366         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29367         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29368         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29369         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29370         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29371         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29372         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29373         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29374         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29375         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29376         * iconvdata/johab.c (ONE_DIRECTION): Define.
29377         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29378         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29379         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29380         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29381         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29382         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29383         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29384         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29385         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29386         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29388 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29390         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29391         (_IO_JUMPS_OFFSET): Define to 0.
29393         * nptl/sysdeps/pthread/bits/libc-lock.h
29394         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29395         (__libc_lock_define_initialized_recursive): Always define using
29396         initializer.  Modern compilers treat uninitialized (implicit zero) and
29397         explicit zero initializers the same (i.e. put the datum in bss).
29399 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29401         * nscd/nscd-client.h: Include <string.h>.
29403 2014-05-01  David S. Miller  <davem@davemloft.net>
29405         [BZ #16885]
29406         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29407         multiple zero bytes exist at the end of a string.
29408         Reported by Aurelien Jarno <aurelien@aurel32.net>
29410         * string/test-strcmp.c (check): Add explicit test for situations where
29411         there are multiple zero bytes after the first.
29413 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29415         [BZ #16890]
29416         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29417         when compiling wprintf.
29418         * stdio-common/tstdiomisc.c (t3): New function.
29419         (main): Call it.
29421 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29423         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29424         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29425         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29426         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29428 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29430         * stdlib/longlong.h: Updated from GCC.
29432 2014-05-01  Will Newton  <will.newton@linaro.org>
29433             Bernard Ogden  <bernie.ogden@linaro.org>
29435         * NEWS: Update fixed bug list.
29437         [BZ #15119]
29438         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29440 2014-04-30  David S. Miller  <davem@davemloft.net>
29442         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29443         (libc_feholdexcept_setround_sparc_ctx): New function.
29444         (libc_fesetenv_sparc_ctx): Likewise.
29445         (libc_feupdateenv_sparc_ctx): Likewise.
29446         (libc_feholdsetround_sparc_ctx): Likewise.
29447         (libc_feholdexcept_setround_ctx): Define.
29448         (libc_feholdexcept_setroundf_ctx): Likewise.
29449         (libc_feholdexcept_setroundl_ctx): Likewise.
29450         (libc_fesetenv_ctx): Likewise.
29451         (libc_fesetenvf_ctx): Likewise.
29452         (libc_fesetenvl_ctx): Likewise.
29453         (libc_feupdateenv_ctx): Likewise.
29454         (libc_feupdateenvf_ctx): Likewise.
29455         (libc_feupdateenvl_ctx): Likewise.
29456         (libc_feresetround_ctx): Likewise.
29457         (libc_feresetroundf_ctx): Likewise.
29458         (libc_feresetroundl_ctx): Likewise.
29459         (libc_feholdsetround_ctx): Likewise.
29460         (libc_feholdsetroundf_ctx): Likewise.
29461         (libc_feholdsetroundl_ctx): Likewise.
29463         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29464         with __USE_GNU instead of XOPEN cpp guards.
29466         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29467         0.
29469         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29470         with XOPEN cpp guards.
29472 2014-04-30  Julian Brown  <julian@codesourcery.com>
29474         [BZ #16888]
29475         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29476         handling.
29478 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29480         [BZ #9894]
29481         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29482         Change to 2.6.32.
29483         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29484         * sysdeps/unix/sysv/linux/configure: Regenerated.
29485         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29486         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29487         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29488         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29489         * README: Update reference to required Linux kernel version.
29490         * manual/install.texi (Linux): Update reference to required Linux
29491         kernel headers version.
29492         * INSTALL: Regenerated.
29494         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29495         header inclusion.
29496         [POSIX] (limits.h): Likewise.
29497         [POSIX] (math.h): Likewise.
29498         [POSIX] (sys/wait.h): Likewise.
29499         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29500         function.
29501         [POSIX] (stddef.h): Do not allow header inclusion.
29503 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29505         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29507 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29509         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29510         Return immediately after lll_futex_wake.
29512 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29514         [BZ #16791]
29515         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29516         structure.
29517         (datahead_init_pos): Call datahead_init_common early.
29518         (datahead_init_neg): Likewise.
29520         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29521         datahead_init_neg): New functions.
29522         * nscd/aicache.c (addhstaiX): Use them.
29523         * nscd/grpcache.c (cache_addgr): Likewise.
29524         * nscd/hstcache.c (cache_addhst): Likewise.
29525         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29526         * nscd/netgroupcache.c (do_notfound): Likewise.
29527         (addgetnetgrentX): Likewise.
29528         (addinnetgrX): Likewise.
29529         * nscd/pwdcache.c (cache_addpw): Likewise.
29530         * nscd/servicescache.c (cache_addserv): Likewise.
29532 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29533             Atsushi Onoe  <atsushi@onoe.org>
29535         [BZ #14308]
29536         [BZ #12994]
29537         [BZ #13651]
29538         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29539         one response is valid.
29540         * resolv/res_send.c (send_dg): Check for validity of other
29541         response if the current response is a referral.
29543 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29545         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29547 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29549         [BZ #16823]
29550         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29551         Always divide by positive zero when computing -Inf result.
29552         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29553         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29555 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29557         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29558         FPSCR if value do not change.
29559         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29560         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29561         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29562         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29563         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29564         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29565         function.
29567 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29569         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29570         * sysdeps/unix/sysv/linux/hppa: Move directory from
29571         ports/systeps/unix/sysv/linux/hppa.
29572         * README: Update listing for hppa-*-linux-gnu.
29574 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29576         [BZ #16754]
29577         * manual/stdio.texi (Hook functions): Fix types of stream hook
29578         functions.
29579         [BZ #16854]
29580         * socket/sys/socket.h: Fix typo in comment.
29582 2014-04-28  Wilco  <wdijkstr@arm.com>
29584         * sysdeps/arm/fenv_private.h: New file.
29585         * sysdeps/arm/math_private.h: New file.
29586         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29588 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29590         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29591         with __int128_t.
29592         (La_x86_64_retval): Likewise.
29594 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29596         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29597         fpsr if value didn't change.
29598         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29599         to fpcr if value didn't change.
29600         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29601         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29602         fpsr or fpcr if value didn't change.
29603         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29604         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29605         fpcr if value didn't change.
29606         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29607         to fpsr if value didn't change.
29609 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29611         * nptl/tst-sem3.c: Use test-skeleton.c
29612         (main): Rename to do_test.  Use return instead of
29613         exit.
29614         * nptl/tst-sem4.c: Use test-skeleton.c
29615         (main): Rename to do_test.
29617 2014-04-22  David S. Miller  <davem@davemloft.net>
29619         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29620         (struct sigaction): New struct member __glibc_reserved0, change
29621         type of sa_flags to int.
29623 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29625         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29626         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29628 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29630         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29631         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29633 2014-04-22  Will Newton  <will.newton@linaro.org>
29634             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29636         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29637         (__longjmp): Add longjmp and longjmp_target SystemTap
29638         probes.
29639         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29640         (__sigsetjmp): Add setjmp SystemTap probe.
29642 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29644         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29645         match manual order.
29647 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29649         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29651         * sysdeps/powerpc/fpu/fenv_private.h
29652         (libc_feholdexcept_setroundl_ctx): Define to
29653         libc_feholdexcept_setround_ppc_ctx.
29654         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29655         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29656         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29657         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29659 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29661         * sysdeps/aarch64/math-tests.h: New file.
29663 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29665         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29666         New.
29667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29668         Check and set bit_AVX2_Usable.
29669         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29670         macro.
29671         (bit_AVX2): Likewise.
29672         (index_AVX2_Usable): Likewise.
29673         (CPUID_AVX2): Likewise.
29674         (HAS_AVX2): Likewise.
29676 2014-04-17  Will Newton  <will.newton@linaro.org>
29678         * manual/setjmp.texi (System V contexts): Add note that
29679         calling setcontext on a context created by a call to a
29680         signal handler is undefined.  Update text to note that
29681         setcontext from a signal handler is possible but not
29682         recommended.
29684         [BZ #16629]
29685         * stdlib/tst-setcontext.c: Include signal.h.
29686         (main): Check that the signal stack before and
29687         after swapcontext is the same.
29689         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29690         Re-implement to restore registers in user code and avoid
29691         rt_sigreturn system call.
29693 2014-04-17  Wilco  <wdijkstr@arm.com>
29695         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29696         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29697         * math/test-fenv.c: Skip exception trap tests on targets which only
29698         support non-stop mode.
29700 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29701             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29703         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29704         (libc_feholdsetround_aarch64_ctx)
29705         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29706         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29707         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29708         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29709         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29710         (libc_feresetround_noexl_ctx): Define.
29712 2014-04-16  Richard Henderson  <rth@redhat.com>
29714         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29716         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29717         unwind tables.
29719         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29720         const from the non-libc, non-ldso copy.
29722         * sysdeps/alpha/libm-test-ulps: Regenerate.
29724 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29725             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29727         * sysdeps/aarch64/fpu/math_private.h: New file.
29729 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29731         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29733 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29735         [BZ #16275]
29736         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29737         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29738         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29739         Intel MPX bound registers before _dl_profile_fixup.
29740         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29741         registers after _dl_profile_fixup.  Save and restore bound
29742         registers bnd0/bnd1 when calling _dl_call_pltexit.
29743         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29744         (LR_BND_OFFSET): Likewise.
29745         (LRV_BND0_OFFSET): Likewise.
29746         (LRV_BND1_OFFSET): Likewise.
29748 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29750         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29751         to...
29752         * sysdeps/mach/hurd/i386/tls.h: ... here.
29753         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29754         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29755         fields.
29757 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29759         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29761 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29763         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29765 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29767         [BZ #14770]
29768         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29769         * sysdeps/s390/configure: Regenerate.
29771         [BZ #16824]
29772         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29773         Set round-to-nearest internally to reduce error accumulation.
29775 2014-04-16  Alan Modra  <amodra@gmail.com>
29777         [BZ #16740]
29778         [BZ #16619]
29779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29780         * math/libm-test.inc (frexp_test_data): Add tests.
29781         * NEWS: Update fixed bug list.
29783 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29785         * benchtests/Makefile: Depend on libraries in build directory.
29786         (bench-math): Separate out math tests.
29787         (bench-pthread): Separate out pthread tests.
29788         (bench): Include math and pthread tests.
29790 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29792         [BZ #16831]
29793         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29794         _dl_debug_initialize.
29796         * configure.ac: Remove SELinux header check.
29797         * configure: Regenerate.
29798         * nscd/selinux.c (perms): Array of const char* to permission names.
29799         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29800         default policy. Call string_to_security_class and string_to_av_perm to
29801         translate strings. Enforce default policy and call avs_has_perm with
29802         results of translated strings.
29804 2014-04-13  David S. Miller  <davem@davemloft.net>
29806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29808 2014-04-12  Allan McRae  <allan@archlinux.org>
29810         [BZ #16838]
29811         * manual/string.texi (Collation Functions): Fix qsort argument
29812         order in example.
29813         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29815 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29817         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29818         Make the test a no-op if there are no exceptions defined.
29820 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29822         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29823         enable-hardcoded-path-in-tests
29825 2014-04-11  Will Newton  <will.newton@linaro.org>
29827         * benchtests/Makefile (extra-objs): Add json-lib.o.
29828         (bench-func): Tidy up JSON output.
29829         * benchtests/bench-skeleton.c: Include json-lib.h.
29830         (main): Use JSON library functions to do output of
29831         benchmark results.
29832         * benchtests/bench-timing-type.c (main): Output the
29833         timing type simply, leaving formatting to the user.
29834         * benchtests/json-lib.c: New file.
29835         * benchtests/json-lib.h: Likewise.
29837 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29839         [BZ #15215]
29840         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29841         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29842         memory barriers.  Add comments.
29843         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29844         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29845         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29846         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29847         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29848         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29850 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29852         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29853         * sysdeps/s390/s390-64/configure.ac: ... this ...
29854         * sysdeps/s390/configure.ac: ... to here.
29855         * sysdeps/s390/s390-32/configure: Delete file.
29856         * sysdeps/s390/s390-64/configure: Delete file.
29857         * sysdeps/s390/configure: Regenerate.
29859 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29861         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29863 2014-04-11  Will Newton  <will.newton@linaro.org>
29865         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29866         to zero if it is not defined elsewhere.  (mtrim): Test
29867         the value of MALLOC_DEBUG with #if rather than #ifdef.
29869 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29871         * benchtests/pthread_once-inputs: New file.
29872         * benchtests/pthread_once-source.c: New file.
29873         * benchtests/README: Update documentation.
29875 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29876             H.J. Lu  <hongjiu.lu@intel.com>
29878         [BZ #16275]
29879         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29880         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29881         * sysdeps/x86_64/configure: Regenerated.
29882         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29883         macro.
29884         (REGISTER_SAVE_RAX): Likewise.
29885         (REGISTER_SAVE_RCX): Likewise.
29886         (REGISTER_SAVE_RDX): Likewise.
29887         (REGISTER_SAVE_RSI): Likewise.
29888         (REGISTER_SAVE_RDI): Likewise.
29889         (REGISTER_SAVE_R8): Likewise.
29890         (REGISTER_SAVE_R9): Likewise.
29891         (REGISTER_SAVE_BND0): Likewise.
29892         (REGISTER_SAVE_BND1): Likewise.
29893         (REGISTER_SAVE_BND2): Likewise.
29894         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29895         bound registers when calling _dl_fixup.
29897 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29899         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29900         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29901         of its definition.
29902         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29903         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29904         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29905         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29906         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29907         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29908         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29910 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29912         [BZ #15514]
29913         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29914         pathconf(_PC_NAME_MAX).
29916 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29918         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29919         Remove macro usage.
29920         (__PTHREAD_SPINS): Move definition to ...
29921         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29922         (__PTHREAD_SPINS): ... here.
29923         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29924         (__PTHREAD_SPIN): Likewise.
29925         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29926         (__PTHREAD_SPIN): Likewise.
29927         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29928         (__PTHREAD_SPIN): Likewise.
29929         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29930         (__PTHREAD_SPIN): Likewise.
29931         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29932         (__PTHREAD_SPIN): Likewise.
29933         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29934         (__PTHREAD_SPIN): Likewise.
29935         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29936         (__PTHREAD_SPIN): Likewise.
29937         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29938         (__PTHREAD_SPIN): Likewise.
29939         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29940         (__PTHREAD_SPIN): Likewise.
29941         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29942         (__PTHREAD_SPIN): Likewise.
29943         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29944         (__PTHREAD_SPIN): Likewise.
29945         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29946         (__PTHREAD_SPIN): Likewise.
29948         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29949         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29950         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29951         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29952         imply folder.
29953         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29954         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29955         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29956         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29957         correct imply path.
29958         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29959         strlen symbol for non multi-arch builds.
29960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29961         missing hidden_def and weak_alias.
29963 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29965         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29967 2014-04-07  Will Newton  <will.newton@linaro.org>
29969         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29970         and contents.  [!_LIBC] Remove #ifndef and contents.
29971         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29972         * string/memccpy.c (__memccpy): Use ANSI prototype.
29973         * string/memfrob.c (memfrob): Likewise.
29974         * string/strcoll.c (STRCOLL): Likewise.
29975         * string/strlen.c (strlen): Likewise.
29976         * string/strtok.c (STRTOK): Likewise.
29977         * string/strcat.c: Remove unused #include of memcopy.h.
29978         (strcat): Use ANSI prototype.
29979         * string/strchr.c: Remove unused #include of memcopy.h.
29980         (strchr): Use ANSI prototype.
29981         * string/strcmp.c: Remove unused #include of memcopy.h.
29982         (strcmp): Use ANSI prototype.
29983         * string/strcpy.c: Remove unused #include of memcopy.h.
29984         (strcpy): Use ANSI prototype.
29986 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29988         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29989         * config.make.in (config-extra-cppflags): Set it from
29990         libc_extra_cppflags.
29991         * configure.ac (libc_extra_cflags): Make it accumulate over
29992         configure fragments.
29993         (libc_extra_cppflags): New flag.
29994         * configure. Regenerate.
29995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29996         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29997         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30000         [BZ #16815]
30001         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30002         result for FE_DOWNWARD rounding mode.
30003         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30004         Likewise.
30005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30007 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30009         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30010         in function argument name.
30012 2014-04-03  David Svoboda  <svoboda@cert.org>
30014         [BZ #5666]
30015         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30016         explicitly.
30018 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30020         * elf/dl-unmap-segments.h: New file.
30021         * sysdeps/generic/ldsodefs.h
30022         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30023         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30024         * elf/dl-fptr.c: Likewise.
30025         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30026         * sysdeps/aarch64/tlsdesc.c: Likewise.
30027         * sysdeps/arm/tlsdesc.c: Likewise.
30028         * sysdeps/i386/tlsdesc.c: Likewise.
30029         * sysdeps/tile/dl-runtime.c: Likewise.
30030         * sysdeps/x86_64/tlsdesc.c: Likewise.
30031         * elf/dl-load.h: New file.
30032         * elf/dl-load.c: Include it.
30033         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30034         Macros moved to dl-load.h.
30035         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30036         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30037         Use _dl_unmap_segments in place of __munmap.
30038         Break out segment-mapping loop into ...
30039         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30041 2014-04-03  Will Newton  <will.newton@linaro.org>
30043         * elf/dl-lookup.c (do_lookup_x): Remove comment
30044         referring to nested function and move variable
30045         declarations down to before first use.
30047 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30049         [BZ #16799]
30050         [BZ #16800]
30051         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30052         with 0 numerator.
30053         * math/s_catanf.c (__catanf): Likewise.
30054         * math/s_catanh.c (__catanh): Likewise.
30055         * math/s_catanhf.c (__catanhf): Likewise.
30056         * math/s_catanhl.c (__catanhl): Likewise.
30057         * math/s_catanl.c (__catanl): Likewise.
30058         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30059         by positive zero when computing -Inf result.
30060         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30061         (catanh_test): Likewise.
30062         * sysdeps/i386/fpu/libm-test-ulps: Update.
30063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30065         [BZ #16789]
30066         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30067         instead of using underflowing value in computing result.
30068         * math/s_clog10.c (__clog10): Likewise.
30069         * math/s_clog10f.c (__clog10f): Likewise.
30070         * math/s_clog10l.c (__clog10l): Likewise.
30071         * math/s_clogf.c (__clogf): Likewise.
30072         * math/s_clogl.c (__clogl): Likewise.
30073         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30074         (clog10_test): Likewise.
30075         * sysdeps/i386/fpu/libm-test-ulps: Update.
30076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30078 2014-04-02  Alan Modra  <amodra@gmail.com>
30080         [BZ #16739]
30081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30082         output when value is near a power of two.  Use int64_t for lx and
30083         remove casts.  Use decimal rather than hex exponent constants.
30084         Don't use long double multiplication when double will suffice.
30085         * math/libm-test.inc (nextafter_test_data): Add tests.
30086         * NEWS: Add 16739 and 16786 to bug list.
30088         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30090         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30092 2014-04-01  Will Newton  <will.newton@linaro.org>
30094         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30095         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30097 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30099         [BZ #13347]
30100         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30101         * nptl/tst-setuid2.c: New file.
30102         * nptl/Makefile (xtests): Add tst-setuid2.
30104 2014-04-01  Alan Modra  <amodra@gmail.com>
30106         [BZ #16786]
30107         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30109 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30111         [BZ #6803]
30112         [BZ #6804]
30113         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30114         set errno as appropriate.
30115         * math/w_scalbf.c (__scalbf): Likewise.
30116         * math/w_scalbl.c (__scalbl): Likewise.
30117         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30118         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30119         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30120         Add more NaN tests.
30122         [BZ #16349]
30123         * math/w_atan2.c: Include <errno.h>.
30124         (__atan2): Set errno for result underflowing to zero.
30125         * math/w_atan2f.c: Include <errno.h>.
30126         (__atan2f): Set errno for result underflowing to zero.
30127         * math/w_atan2l.c: Include <errno.h>.
30128         (__atan2l): Set errno for result underflowing to zero.
30129         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30130         tests.
30131         * math/auto-libm-test-out: Regenerated.
30133 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30135         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30136         Encode instruction correctly in little endian.
30137         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30138         Likewise.
30139         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30140         Likewise.
30141         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30142         Likewise.
30143         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30144         Likewise.
30146 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30148         [BZ #9894]
30149         * sysdeps/unix/sysv/linux/kernel-features.h
30150         [__sparc__ && !__arch64__ && !__sparc_v9__]
30151         (__ASSUME_SET_ROBUST_LIST): Do not define.
30152         [__sparc__ && !__arch64__ && !__sparc_v9__]
30153         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30154         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30155         Likewise.
30156         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30157         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30158         (__ASSUME_REQUEUE_PI): Likewise.
30159         (__ASSUME_SET_ROBUST_LIST): Likewise.
30160         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30161         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30162         Undefine.
30163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30164         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30165         Likewise.
30166         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30167         Likewise.
30168         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30169         Likewise.
30170         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30171         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30172         Undefine.
30173         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30174         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30175         Likewise.
30177         [BZ #16648]
30178         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30179         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30180         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30182 2014-03-31  Will Newton  <will.newton@linaro.org>
30184         * benchtests/Makefile (bench): Add ffs and ffsll to list
30185         of tests.
30186         * benchtests/ffs-inputs: New file.
30187         * benchtests/ffsll-inputs: Likewise.
30189 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30191         [BZ #16770]
30192         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30193         too large before casting to int.
30194         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30195         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30196         * math/libm-test.inc (scalb_test_data): Add more tests.
30198 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30200         * benchtests/Makefile (DETAILED_OPT): New make option.
30201         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30202         set.
30203         * benchtests/bench-skeleton.c: Include stdbool.h.
30204         (main): Store and print timings per input.
30205         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30206         member to each argument value.
30207         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30208         (_print_arg_data): Initialize per-input timing to 0.
30210         * benchtests/Makefile (timing-type): New binary.
30211         (bench-clean): Also remove bench-timing-type.
30212         (bench): New target for timing-type.
30213         (bench-func): Print output in JSON format.
30214         * benchtests/bench-skeleton.c (main): Print output in JSON
30215         format.
30216         * benchtests/bench-timing-type.c: New file.
30217         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30218         (TIMING_PRINT_STATS): Remove.
30219         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30220         name separately.
30222         * benchtests/bench-modf.c: Remove.
30223         * benchtests/modf-inputs: New inputs file.
30225 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30227         [BZ #16362]
30228         * math/s_clog10.c (M_PI_LOG10E): New macro.
30229         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30230         imaginary parts are 0.
30231         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30232         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30233         imaginary parts are 0.
30234         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30235         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30236         imaginary parts are 0.
30237         * math/libm-test.inc (clog10_test_data): Update expected results
30238         for when real and imaginary parts are 0.
30240 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30242         * elf/dl-load.c: Finish conversion of __builtin_expect into
30243         __glibc_{un}likely.
30245 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30247         [BZ #16348]
30248         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30249         1+x for argument with exponent below -67.
30250         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30251         Likewise.
30252         * math/auto-libm-test-in: Add more tests of exp.
30253         * math/auto-libm-test-out: Regenerated.
30255 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30257         [BZ #16759]
30258         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30259         (nscd_getnetgrent): Use it.
30261         [BZ #16760]
30262         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30263         of stpcpy.
30265 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30267         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30268         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30269         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30270         (lll_robust_unlock): Remove out of line section. Use cfi
30271         intrinsics.
30272         (LLL_STUB_UNWIND_INFO*): Remove.
30273         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30274         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30275         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30276         (lll_robust_unlock): Remove out of line section. Use cfi
30277         intrinsics.
30278         (LLL_STUB_UNWIND_INFO*): Remove.
30280 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30282         [BZ #16758]
30283         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30284         blank values.
30286 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30288         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30290 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30292         [BZ #16198]
30293         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30294         fnstenv.
30295         * math/test-fenv-preserve.c: New file.
30296         * math/Makefile (tests): Add test-fenv-preserve.
30298 2014-03-26  Will Newton <will.newton@linaro.org>
30300         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30302 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30304         * scripts/versionlist.awk: Partition the version sets and emit all
30305         GLIBC_* (sorted) before all others (sorted).
30307 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30309         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30310         GLIBC_2.2.5 version.
30312 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30314         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30315         calls.
30317         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30318         previous change.
30320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30322 2014-03-25  Andreas Schwab  <schwab@suse.de>
30324         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30325         label to be used after in6ailist is initialized.
30327 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30329         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30330         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30332 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30334         [BZ #16357]
30335         [BZ #16599]
30336         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30337         min_plus_half.
30338         (fp_formats): Update initializers.
30339         (init_fp_formats): Initialize new field.
30340         (output_for_one_input_case): Allow underflow for results up to
30341         min_plus_half.
30342         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30343         * math/auto-libm-test-in: Don't mark some underflows from asin and
30344         atanh as spurious.
30345         * math/auto-libm-test-out: Regenerated.
30346         * sysdeps/i386/fpu/libm-test-ulps: Update.
30347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30349 2014-03-25  Andreas Schwab  <schwab@suse.de>
30351         * libio/Makefile (tst-ftell-partial-wide-ENV)
30352         (tst-ftell-active-handler-ENV): Define.
30354 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30356         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30358 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30360         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30362 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30364         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30365         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30366         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30368 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30370         [BZ #16634]
30371         * elf/dl-load.c (open_verify): Add mode parameter.
30372         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30373         (open_path): Change from boolean 'secure' to complete flag 'mode'
30374         (_dl_map_object): Adjust.
30375         * elf/Makefile (tests): Add tst-dlopen-aout.
30376         * elf/tst-dlopen-aout.c: New test.
30378 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30380         [BZ #16714]
30381         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30382         (struct stat): Rename member pad0 to __glibc_reserved0.
30384         [BZ #16712]
30385         * sysdeps/s390/s390-32/bits/wordsize.h
30386         (__WORDSIZE32_SIZE_ULONG): New define.
30387         * sysdeps/s390/s390-64/bits/wordsize.h
30388         (__WORDSIZE32_SIZE_ULONG): Likewise.
30389         * sysdeps/generic/stdint.h (SIZE_MAX):
30390         Define as UL if __WORDSIZE32_SIZE_ULONG.
30392         [BZ #16713]
30393         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30394         (__glibc_reserved0): New variable.
30395         (sa_flags): Change type to int.
30397         * posix/Makefile (before-compile): Use += before-compile instead
30398         of a :=.
30400         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30401         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30403 2014-03-20  Andreas Schwab  <schwab@suse.de>
30405         [BZ #16743]
30406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30407         non-matching result from nscd.
30409 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30411         * scripts/bench.py: Moved to ...
30412         * benchtests/scripts/bench.py: ... here.
30413         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30415 2014-03-24  Andreas Schwab  <schwab@suse.de>
30417         [BZ #16002]
30418         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30419         alloca_account and account alloca use for struct in6ailist.
30421 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30423         [BZ #16284]
30424         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30425         rounding mode to recompute results that overflow to infinity or
30426         underflow to zero.
30427         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30428         bug 16284.
30429         * math/auto-libm-test-out: Regenerated.
30430         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30431         (ccosh_test): Likewise.
30432         (csin_test_data): Use plus_oflow.
30433         (csin_test): Use ALL_RM_TEST.
30434         (csinh_test_data): Use plus_oflow.
30435         (csinh_test): Use ALL_RM_TEST.
30436         * sysdeps/i386/fpu/libm-test-ulps: Update.
30437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30439 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30441         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30442         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30443         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30445         [BZ #16731]
30446         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30447         when x - 1 is zero.
30448         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30449         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30450         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30451         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30452         argument is 1.
30453         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30454         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30455         zero.
30456         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30457         * sysdeps/i386/fpu/libm-test-ulps: Update.
30458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30460 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30462         * scripts/bench.pl: Remove file.
30463         * scripts/bench.py: New benchmark script.
30464         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30465         * benchtests/README: Mention python dependency.
30466         * scripts/pylintrc: New file.
30467         * scripts/pylint: New file.
30469         * bits/mathdef.h: Use #ifdef instead of #if.
30470         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30471         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30472         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30473         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30474         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30475         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30477 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30478             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30480         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30482         and strpbrk-ppc64 objects.
30483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30484         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30485         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30486         multiarch strpbrk for POWER7.
30487         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30488         multiarch strpbrk for PPC64.
30489         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30490         ifunc selector.
30491         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30492         strpbrk for POWER7.
30494 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30496         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30497         (atan_test): Likewise.
30498         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30499         (atanh_test): Use ALL_RM_TEST.
30500         (atan2_test_data): Likewise.
30501         (cabs_test): Likewise.
30502         (cacosh_test): Likewise.
30503         (carg_test): Likewise.
30504         (casin_test): Likewise.
30505         (casinh_test): Likewise.
30506         (cbrt_test): Likewise.
30507         (csqrt_test): Likewise.
30508         (erf_test): Likewise.
30509         (erfc_test): Likewise.
30510         (pow10_test): Likewise.
30511         (exp2_test): Likewise.
30512         (hypot_test): Likewise.
30513         (j0_test): Likewise.
30514         (j1_test): Likewise.
30515         (lgamma_test): Likewise.
30516         (gamma_test): Likewise.
30517         (sincos_test): Likewise.
30518         (tanh_test): Likewise.
30519         (y0_test): Likewise.
30520         (y1_test): Likewise.
30521         * sysdeps/i386/fpu/libm-test-ulps: Update.
30522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30524 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30526         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30528         and strcspn-ppc64 objects.
30529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30530         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30531         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30532         multiarch strcspn for POWER7.
30533         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30534         multiarch strcspn for PPC64.
30535         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30536         ifunc selector.
30537         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30538         strcspn for POWER7.
30540 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30542         * math/gen-libm-test.pl (generate_testfile): Expect only function
30543         name as argument to AUTO_TESTS_* and pass results for all rounding
30544         modes to parse_args.
30545         (parse_auto_input): Separate inputs of automatic tests from
30546         outputs before storing in %auto_tests.
30547         * math/libm-test.inc (acos_test_data): Update call to
30548         AUTO_TESTS_f_f.
30549         (acos_test): Use ALL_RM_TEST.
30550         (acos_tonearest_test_data): Remove.
30551         (acos_test_tonearest): Likewise.
30552         (acos_towardzero_test_data): Likewise.
30553         (acos_test_towardzero): Likewise.
30554         (acos_downward_test_data): Likewise.
30555         (acos_test_downward): Likewise.
30556         (acos_upward_test_data): Likewise.
30557         (acos_test_upward): Likewise.
30558         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30559         (asin_test_data): Likewise.
30560         (asin_test): Use ALL_RM_TEST.
30561         (asin_tonearest_test_data): Remove.
30562         (asin_test_tonearest): Likewise.
30563         (asin_towardzero_test_data): Likewise.
30564         (asin_test_towardzero): Likewise.
30565         (asin_downward_test_data): Likewise.
30566         (asin_test_downward): Likewise.
30567         (asin_upward_test_data): Likewise.
30568         (asin_test_upward): Likewise.
30569         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30570         (atan_test_data): Likewise.
30571         (atanh_test_data): Likewise.
30572         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30573         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30574         (carg_test_data): Likewise.
30575         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30576         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30577         (ccosh_test_data): Likewise.
30578         (cexp_test_data): Likewise.
30579         (clog_test_data): Likewise.
30580         (clog10_test_data): Likewise.
30581         (cos_test_data): Update call to AUTO_TESTS_f_f.
30582         (cos_test): Use ALL_RM_TEST.
30583         (cos_tonearest_test_data): Remove.
30584         (cos_test_tonearest): Likewise.
30585         (cos_towardzero_test_data): Likewise.
30586         (cos_test_towardzero): Likewise.
30587         (cos_downward_test_data): Likewise.
30588         (cos_test_downward): Likewise.
30589         (cos_upward_test_data): Likewise.
30590         (cos_test_upward): Likewise.
30591         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30592         (cosh_test): Use ALL_RM_TEST.
30593         (cosh_tonearest_test_data): Remove.
30594         (cosh_test_tonearest): Likewise.
30595         (cosh_towardzero_test_data): Likewise.
30596         (cosh_test_towardzero): Likewise.
30597         (cosh_downward_test_data): Likewise.
30598         (cosh_test_downward): Likewise.
30599         (cosh_upward_test_data): Likewise.
30600         (cosh_test_upward): Likewise.
30601         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30602         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30603         (ctan_test_data): Likewise.
30604         (ctan_test): Use ALL_RM_TEST.
30605         (ctan_tonearest_test_data): Remove.
30606         (ctan_test_tonearest): Likewise.
30607         (ctan_towardzero_test_data): Likewise.
30608         (ctan_test_towardzero): Likewise.
30609         (ctan_downward_test_data): Likewise.
30610         (ctan_test_downward): Likewise.
30611         (ctan_upward_test_data): Likewise.
30612         (ctan_test_upward): Likewise.
30613         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30614         (ctanh_test): Use ALL_RM_TEST.
30615         (ctanh_tonearest_test_data): Remove.
30616         (ctanh_test_tonearest): Likewise.
30617         (ctanh_towardzero_test_data): Likewise.
30618         (ctanh_test_towardzero): Likewise.
30619         (ctanh_downward_test_data): Likewise.
30620         (ctanh_test_downward): Likewise.
30621         (ctanh_upward_test_data): Likewise.
30622         (ctanh_test_upward): Likewise.
30623         (erf_test_data): Update call to AUTO_TESTS_f_f.
30624         (erfc_test_data): Likewise.
30625         (exp_test_data): Likewise.
30626         (exp_test): Use ALL_RM_TEST.
30627         (exp_tonearest_test_data): Remove.
30628         (exp_test_tonearest): Likewise.
30629         (exp_towardzero_test_data): Likewise.
30630         (exp_test_towardzero): Likewise.
30631         (exp_downward_test_data): Likewise.
30632         (exp_test_downward): Likewise.
30633         (exp_upward_test_data): Likewise.
30634         (exp_test_upward): Likewise.
30635         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30636         (exp10_test): Use ALL_RM_TEST.
30637         (exp10_tonearest_test_data): Remove.
30638         (exp10_test_tonearest): Likewise.
30639         (exp10_towardzero_test_data): Likewise.
30640         (exp10_test_towardzero): Likewise.
30641         (exp10_downward_test_data): Likewise.
30642         (exp10_test_downward): Likewise.
30643         (exp10_upward_test_data): Likewise.
30644         (exp10_test_upward): Likewise.
30645         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30646         (expm1_test_data): Likewise.
30647         (expm1_test): Use ALL_RM_TEST.
30648         (expm1_tonearest_test_data): Remove.
30649         (expm1_test_tonearest): Likewise.
30650         (expm1_towardzero_test_data): Likewise.
30651         (expm1_test_towardzero): Likewise.
30652         (expm1_downward_test_data): Likewise.
30653         (expm1_test_downward): Likewise.
30654         (expm1_upward_test_data): Likewise.
30655         (expm1_test_upward): Likewise.
30656         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30657         (fma_test): Use ALL_RM_TEST.
30658         (fma_towardzero_test_data): Remove.
30659         (fma_test_towardzero): Likewise.
30660         (fma_downward_test_data): Likewise.
30661         (fma_test_downward): Likewise.
30662         (fma_upward_test_data): Likewise.
30663         (fma_test_upward): Likewise.
30664         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30665         (j0_test_data): Update call to AUTO_TESTS_f_f.
30666         (j1_test_data): Likewise.
30667         (jn_test_data): Update call to AUTO_TESTS_if_f.
30668         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30669         (log_test_data): Update call to AUTO_TESTS_f_f.
30670         (log10_test_data): Likewise.
30671         (log1p_test_data): Likewise.
30672         (log2_test_data): Likewise.
30673         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30674         (pow_tonearest_test_data): Likewise.
30675         (sin_test_data): Update call to AUTO_TESTS_f_f.
30676         (sin_test): Use ALL_RM_TEST.
30677         (sin_tonearest_test_data): Remove.
30678         (sin_test_tonearest): Likewise.
30679         (sin_towardzero_test_data): Likewise.
30680         (sin_test_towardzero): Likewise.
30681         (sin_downward_test_data): Likewise.
30682         (sin_test_downward): Likewise.
30683         (sin_upward_test_data): Likewise.
30684         (sin_test_upward): Likewise.
30685         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30686         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30687         (sinh_test): Use ALL_RM_TEST.
30688         (sinh_tonearest_test_data): Remove.
30689         (sinh_test_tonearest): Likewise.
30690         (sinh_towardzero_test_data): Likewise.
30691         (sinh_test_towardzero): Likewise.
30692         (sinh_downward_test_data): Likewise.
30693         (sinh_test_downward): Likewise.
30694         (sinh_upward_test_data): Likewise.
30695         (sinh_test_upward): Likewise.
30696         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30697         (sqrt_test): Use ALL_RM_TEST.
30698         (sqrt_tonearest_test_data): Remove.
30699         (sqrt_test_tonearest): Likewise.
30700         (sqrt_towardzero_test_data): Likewise.
30701         (sqrt_test_towardzero): Likewise.
30702         (sqrt_downward_test_data): Likewise.
30703         (sqrt_test_downward): Likewise.
30704         (sqrt_upward_test_data): Likewise.
30705         (sqrt_test_upward): Likewise.
30706         (tan_test_data): Update call to AUTO_TESTS_f_f.
30707         (tan_test): Use ALL_RM_TEST.
30708         (tan_tonearest_test_data): Remove.
30709         (tan_test_tonearest): Likewise.
30710         (tan_towardzero_test_data): Likewise.
30711         (tan_test_towardzero): Likewise.
30712         (tan_downward_test_data): Likewise.
30713         (tan_test_downward): Likewise.
30714         (tan_upward_test_data): Likewise.
30715         (tan_test_upward): Likewise.
30716         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30717         (tgamma_test_data): Likewise.
30718         (y0_test_data): Likewise.
30719         (y1_test_data): Likewise.
30720         (yn_test_data): Update call to AUTO_TESTS_if_f.
30721         (main): Do not call removed functions.
30723 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30725         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30726         (ldexp_test_data): Remove.
30727         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30728         scalbn_test_data.
30729         (scalb_test): Use ALL_RM_TEST.
30731 2014-03-19  Andreas Schwab  <schwab@suse.de>
30733         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30735 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30737         [BZ #16649]
30738         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30739         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30740         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30741         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30742         (__ASSUME_PREADV): Undefine.
30743         (__ASSUME_PWRITEV): Likewise.
30745 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30747         * bits/mman-linux.h: Add comment about non-Linux use.
30748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30749         bits/mman-linux.h resting place.
30751         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30752         * bits/mman-linux.h: ... here.
30754 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30756         * conform/conformtest.pl: Add standard definition when calling C
30757         preprocessor on data files.
30758         (checknamespace): Remove unused variable.
30760 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30762         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30763         minus_oflow, plus_uflow and minus_uflow in expected results.
30764         * math/libm-test.inc (scalbn_test_data): Add more tests of
30765         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30766         minus_uflow.
30767         (scalbn_test): Use ALL_RM_TEST.
30768         (scalbln_test_data): Add more tests of negative arguments.  Use
30769         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30770         (scalbln_test): Use ALL_RM_TEST.
30772 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30774         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30776 2014-03-18  Will Newton  <will.newton@linaro.org>
30778         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30779         inaccurate comment.
30781 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30783         * Makerules [!subdir] (check-abi): Exit with error status if a
30784         test failed.
30786 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30788         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30789         for rint.  Include results for all rounding modes.
30790         (nearbyint_test): Use ALL_RM_TEST.
30791         (rint_test_data): Include all tests used for nearbyint.
30793 2014-03-17  Will Newton  <will.newton@linaro.org>
30795         * nptl/sysdeps/pthread/pthread.h: Revert previous
30796         change.
30798         * sysdeps/generic/ldsodefs.h: Revert previous
30799         change.
30801         * libio/genops.c: Revert previous change.
30802         * libio/libioP.h: Likewise.
30803         * stdio-common/vfprintf.c: Likewise.
30805         * sysdeps/generic/math_private.h: Revert previous
30806         change.
30808         * sysdeps/generic/math_private.h: Check whether
30809         HAVE_RM_CTX is defined with #ifdef rather
30810         than #if.
30812         * argp/argp-fmtstream.h: Check whether
30813         __STRICT_ANSI__ is defined with #ifdef rather
30814         than #if.
30815         * argp/argp.h: Likewise.
30817         * libio/genops.c: Check whether
30818         _IO_JUMPS_OFFSET is defined with #ifdef rather
30819         than #if.
30820         * libio/libioP.h: Likewise.
30821         * stdio-common/vfprintf.c: Likewise.
30823         * sysdeps/generic/ldsodefs.h: Check whether
30824         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30825         than #if.
30827         * nptl/sysdeps/pthread/pthread.h: Check
30828         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30829         its value.
30831 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30833         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30834         setting O_APPEND.
30835         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30836         test case.
30838         [BZ #16680]
30839         * libio/fileops.c (_IO_file_open): Seek to end of file but
30840         don't cache the offset.
30841         (get_file_offset): Remove function.
30842         (do_ftell): Use cached offset when available.
30843         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30844         don't cache the offset.
30845         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30846         case.
30847         (do_one_test): Call it.
30848         (do_ftell_test): Fix up expected old offset for a+ mode.
30849         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30850         available.
30852         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30853         up test status with function return status.
30854         (do_write_test): Likewise.
30855         (do_append_test): Likewise.
30857         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30858         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30859         Remove.
30861 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30863         * math/gen-libm-test.pl (parse_args): Handle results specified for
30864         each rounding mode separately.
30865         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30866         tests and results from lrint_tonearest_test_data,
30867         lrint_towardzero_test_data, lrint_downward_test_data and
30868         lrint_upward_test_data.
30869         (lrint_test): Use ALL_RM_TEST.
30870         (lrint_tonearest_test_data): Remove.
30871         (lrint_test_tonearest): Likewise.
30872         (lrint_towardzero_test_data): Likewise.
30873         (lrint_test_towardzero): Likewise.
30874         (lrint_downward_test_data): Likewise.
30875         (lrint_test_downward): Likewise.
30876         (lrint_upward_test_data): Likewise.
30877         (lrint_test_upward): Likewise.
30878         (llrint_test_data): Merge in per-rounding-mode tests and results
30879         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30880         llrint_downward_test_data and llrint_upward_test_data.
30881         (llrint_test): Use ALL_RM_TEST.
30882         (llrint_tonearest_test_data): Remove.
30883         (llrint_test_tonearest): Likewise.
30884         (llrint_towardzero_test_data): Likewise.
30885         (llrint_test_towardzero): Likewise.
30886         (llrint_downward_test_data): Likewise.
30887         (llrint_test_downward): Likewise.
30888         (llrint_upward_test_data): Likewise.
30889         (llrint_test_upward): Likewise.
30890         (rint_test_data): Merge in per-rounding-mode tests and results
30891         from rint_tonearest_test_data, rint_towardzero_test_data,
30892         rint_downward_test_data and rint_upward_test_data.  Add
30893         per-rounding-mode results for tests not in those arrays.
30894         (rint_test): Use ALL_RM_TEST.
30895         (rint_tonearest_test_data): Remove.
30896         (rint_test_tonearest): Likewise.
30897         (rint_towardzero_test_data): Likewise.
30898         (rint_test_towardzero): Likewise.
30899         (rint_downward_test_data): Likewise.
30900         (rint_test_downward): Likewise.
30901         (rint_upward_test_data): Likewise.
30902         (rint_test_upward): Likewise.
30903         (main): Don't call removed functions.
30905 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30907         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30908         "Compiled on ..." crapola.  It is anti-useful.
30910 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30912         * scripts/evaluate-test.sh: Handle fourth argument to determine
30913         whether test run should stop on failure.
30914         * Makeconfig (stop-on-test-failure): New variable.
30915         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30916         $(stop-on-test-failure).
30917         * Makefile (tests): Give a summary of results from testing and
30918         exit with failure status if they include an ERROR or FAIL.
30919         (xtests): Likewise.
30920         * manual/install.texi (Configuring and compiling): Mention
30921         stop-on-test-failure=y.
30922         * INSTALL: Regenerated.
30924 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30926         * scripts/versionlist.awk: New file.
30927         * Makerules [$(build-shared) = yes]
30928         (postclean-generated): Add Versions.def, not Versions.def.v and
30929         Versions.def.v.i.
30930         ($(common-objpfx)Versions.def.v.i): Target removed.
30931         ($(common-objpfx)Versions.def): New target.
30932         ($(common-objpfx)Versions.all): Depend on that rather that
30933         $(common-objpfx)Versions.def.v.
30934         * Versions.def: File removed.
30936         * Makeconfig (+gccwarn): Add -Wundef.
30937         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30938         a dl-sysdep.h breaking its contract.
30939         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30940         * include/stackinfo.h: New file.
30941         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30942         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30943         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30944         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30945         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30946         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30947         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30948         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30949         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30950         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30951         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30952         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30953         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30954         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30955         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30957 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30959         [BZ #16707]
30960         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30961         implementation.
30962         * math/libm-test.inc (round_test_data): Add more tests.
30964         [BZ #16706]
30965         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30966         implementation.
30967         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30969         [BZ #16701]
30970         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30971         implementation.
30972         * math/libm-test.inc (ceil_test_data): Add more tests.
30974         * math/libm-test.inc (trunc_test_data): Add more tests related to
30975         BZ#16414.
30977 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30979         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30980         with #if rather than #ifdef.
30981         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30983 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30985         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30986         first.  Disable AVX-512 GCC support if assembler doesn't support
30987         it.
30988         * sysdeps/x86_64/configure: Regenerated.
30990 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30992         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30993         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30994         (__old_pthread_attr_setstack): Likewise.
30995         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30996         [!_STACK_GROWS_DOWN]: Likewise.
30998 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31000         * config.make.in (have-bash2): Delete.
31001         * configure.ac (libc_cv_have_bash2): Delete.
31002         * configure: Regenerate.
31003         * elf/Makefile (common-ldd-rewrite): Rename to ...
31004         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31005         (sh-ldd-rewrite): Delete.
31006         (bash-ldd-rewrite): Delete.
31007         (have-bash2): Delete checks.
31008         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31009         ldd-rewrite.
31011         * config.make.in (have-ksh): Delete.
31012         (KSH): Delete.
31013         * configure.ac (libc_cv_have_ksh): Delete.
31014         * configure: Regenerate.
31016         * elf/Makefile: Delete $(have-ksh) check.
31017         ($(objpfx)sotruss): Change KSH to BASH.
31018         * elf/sotruss.ksh: Rename to ...
31019         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31020         function style to match POSIX.  Drop ksh vim mode setting.
31022         * manual/time.texi (Specifying the Time Zone with TZ): Change
31023         Tuesday to Thursday.
31025         * debug/tst-longjmp_chk2.c: Update header comment.
31026         (stackoverflow_handler): Add comment.  Call assert on pass value.
31028 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31030         [BZ #16194]
31031         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31032         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31033         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31034         (La_x86_64_vector): Add zmm.
31035         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31036         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31037         ($(objpfx)tst-audit10): New target.
31038         ($(objpfx)tst-audit10.out): Likewise.
31039         (tst-audit10-ENV): New.
31040         (AVX512-CFLAGS): Likewise.
31041         (CFLAGS-tst-audit10.c): Likewise.
31042         (CFLAGS-tst-auditmod10a.c): Likewise.
31043         (CFLAGS-tst-auditmod10b.c): Likewise.
31044         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31045         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31046         * sysdeps/x86_64/configure: Regenerated.
31047         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31048         AVX-512 zmm register support.
31049         (_dl_x86_64_save_sse): Likewise.
31050         (_dl_x86_64_restore_sse): Likewise.
31051         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31052         size vector registers.
31053         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31054         (ZMM_SIZE): Likewise.
31055         * sysdeps/x86_64/tst-audit10.c: New file.
31056         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31057         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31059 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31061         * configure.ac (HAVE_EHDR_START): New check.
31062         * configure: Regenerated.
31063         * config.h.in (HAVE_EHDR_START): New #undef.
31064         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31065         assuming the lowest-addressed segment maps the start of the file.
31067 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31069         * INSTALL: Regenerated.
31071 2014-03-13  Will Newton  <will.newton@linaro.org>
31073         * manual/setjmp.texi (System V contexts): Improve
31074         clarity and grammar of documentation.
31076 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31078         [BZ #16381]
31079         * elf/Makefile (tests): Add tst-pie2.
31080         (tests-pie): Add tst-pie2.
31081         * elf/tst-pie2.c: New file.
31082         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31083         for ET_EXEC.
31084         * elf/rtld.c (map_doit): Load executable as lt_executable.
31085         (dl_main): Likewise.
31087 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31089         [BZ #16642]
31090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31091         (__ASSUME_PSELECT): Undefine.
31093 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31095         [BZ #16689]
31096         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31097         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31098         static build.
31099         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31100         selector for static builds.
31102 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31104         [BZ #16695]
31105         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31106         key in the buffer.
31108 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31110         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31111         IFUNC selector for static builds.
31113 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31115         * sysdeps/mips/math_private.h [__mips_hard_float]
31116         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31117         libc_feresetround_mips_ctx.
31118         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31119         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31120         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31122         [BZ #16677]
31123         * math/s_nextafter.c (__nextafter): Do not return value from
31124         overflowing computation.
31125         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31126         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31127         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31128         Likewise.
31129         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31130         Likewise.
31131         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31132         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31134 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31136         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31137         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31138         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31139         the new mov targetting sp.
31141 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31143         [BZ #16683]
31144         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31145         Define it for static builds as well.
31146         (NO_BZERO_IMPL): Likewise.
31148 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31150         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31151         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31152         multiarch strspn for PPC64.
31153         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31154         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31156         (__libc_ifunc_impl_list): Likewise.
31157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31158         multiarch optimizations
31159         * string/strspn.c (strspn): Using macro to redefine symbol name.
31161 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31162             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31164         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31165         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31166         multiarch strncat for PPC64.
31167         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31168         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31170         (__libc_ifunc_impl_list): Likewise.
31171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31172         multiarch optimizations
31174 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31176         [BZ #16639]
31177         * nscd/nscd.service: Make service type forking.
31179 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31181         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31182         sign in non default rounding modes.
31183         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31185 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31187         * math/libm-test.inc (ALL_RM_TEST): New macro.
31188         (ceil_test): Use ALL_RM_TEST.
31189         (cimag_test): Likewise.
31190         (conj_test): Likewise.
31191         (copysign_test): Likewise.
31192         (cproj_test): Likewise.
31193         (creal_test): Likewise.
31194         (fabs_test): Likewise.
31195         (floor_test): Likewise.
31196         (fmax_test): Likewise.
31197         (fmin_test): Likewise.
31198         (fmod_test): Likewise.
31199         (fpclassify_test): Likewise.
31200         (frexp_test): Likewise.
31201         (ilogb_test): Likewise.
31202         (isfinite_test): Likewise.
31203         (finite_test): Likewise.
31204         (isgreater_test): Likewise.
31205         (isgreaterequal_test): Likewise.
31206         (isinf_test): Likewise.
31207         (isless_test): Likewise.
31208         (islessequal_test): Likewise.
31209         (islessgreater_test): Likewise.
31210         (isnan_test): Likewise.
31211         (isnormal_test): Likewise.
31212         (issignaling_test): Likewise.
31213         (isunordered_test): Likewise.
31214         (logb_test): Likewise.
31215         (logb_downward_test_data): Remove.
31216         (logb_test_downward): Likewise.
31217         (lround_test): Use ALL_RM_TEST.
31218         (llround_test): Likewise.
31219         (modf_test): Likewise.
31220         (nexttoward_test): Likewise.
31221         (remainder_test): Likewise.
31222         (drem_test): Likewise.
31223         (remainder_tonearest_test_data): Likewise.
31224         (remainder_test_tonearest): Likewise.
31225         (drem_test_tonearest): Likewise.
31226         (remainder_towardzero_test_data): Likewise.
31227         (remainder_test_towardzero): Likewise.
31228         (drem_test_towardzero): Likewise.
31229         (remainder_downward_test_data): Likewise.
31230         (remainder_test_downward): Likewise.
31231         (drem_test_downward): Likewise.
31232         (remainder_upward_test_data): Likewise.
31233         (remainder_test_upward): Likewise.
31234         (drem_test_upward): Likewise.
31235         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31236         (round_test): Use ALL_RM_TEST.
31237         (signbit_test): Likewise.
31238         (trunc_test): Likewise.
31239         (significand_test): Likewise.
31240         (main): Don't call removed functions.
31242 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31244         [BZ #16674]
31245         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31246         || __USE_XOPEN2K8].
31247         (ILL_ILLOPN): Likewise.
31248         (ILL_ILLADR): Likewise.
31249         (ILL_ILLTRP): Likewise.
31250         (ILL_PRVOPC): Likewise.
31251         (ILL_PRVREG): Likewise.
31252         (ILL_COPROC): Likewise.
31253         (ILL_BADSTK): Likewise.
31254         (FPE_INTDIV): Likewise.
31255         (FPE_INTOVF): Likewise.
31256         (FPE_FLTDIV): Likewise.
31257         (FPE_FLTOVF): Likewise.
31258         (FPE_FLTUND): Likewise.
31259         (FPE_FLTRES): Likewise.
31260         (FPE_FLTINV): Likewise.
31261         (FPE_FLTSUB): Likewise.
31262         (SEGV_MAPERR): Likewise.
31263         (SEGV_ACCERR): Likewise.
31264         (BUS_ADRALN): Likewise.
31265         (BUS_ADRERR): Likewise.
31266         (BUS_OBJERR): Likewise.
31267         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31268         (TRAP_TRACE): Likewise.
31269         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31270         __USE_XOPEN2K8].
31271         (CLD_KILLED): Likewise.
31272         (CLD_DUMPED): Likewise.
31273         (CLD_TRAPPED): Likewise.
31274         (CLD_STOPPED): Likewise.
31275         (CLD_CONTINUED): Likewise.
31276         (POLL_IN): Likewise.
31277         (POLL_OUT): Likewise.
31278         (POLL_MSG): Likewise.
31279         (POLL_ERR): Likewise.
31280         (POLL_PRI): Likewise.
31281         (POLL_HUP): Likewise.
31282         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31283         Likewise.
31284         (ILL_ILLOPN): Likewise.
31285         (ILL_ILLADR): Likewise.
31286         (ILL_ILLTRP): Likewise.
31287         (ILL_PRVOPC): Likewise.
31288         (ILL_PRVREG): Likewise.
31289         (ILL_COPROC): Likewise.
31290         (ILL_BADSTK): Likewise.
31291         (FPE_INTDIV): Likewise.
31292         (FPE_INTOVF): Likewise.
31293         (FPE_FLTDIV): Likewise.
31294         (FPE_FLTOVF): Likewise.
31295         (FPE_FLTUND): Likewise.
31296         (FPE_FLTRES): Likewise.
31297         (FPE_FLTINV): Likewise.
31298         (FPE_FLTSUB): Likewise.
31299         (SEGV_MAPERR): Likewise.
31300         (SEGV_ACCERR): Likewise.
31301         (BUS_ADRALN): Likewise.
31302         (BUS_ADRERR): Likewise.
31303         (BUS_OBJERR): Likewise.
31304         (BUS_MCEERR_AR): Likewise.
31305         (BUS_MCEERR_AO): Likewise.
31306         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31307         (TRAP_TRACE): Likewise.
31308         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31309         __USE_XOPEN2K8].
31310         (CLD_KILLED): Likewise.
31311         (CLD_DUMPED): Likewise.
31312         (CLD_TRAPPED): Likewise.
31313         (CLD_STOPPED): Likewise.
31314         (CLD_CONTINUED): Likewise.
31315         (POLL_IN): Likewise.
31316         (POLL_OUT): Likewise.
31317         (POLL_MSG): Likewise.
31318         (POLL_ERR): Likewise.
31319         (POLL_PRI): Likewise.
31320         (POLL_HUP): Likewise.
31321         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31322         (ILL_ILLOPN): Likewise.
31323         (ILL_ILLADR): Likewise.
31324         (ILL_ILLTRP): Likewise.
31325         (ILL_PRVOPC): Likewise.
31326         (ILL_PRVREG): Likewise.
31327         (ILL_COPROC): Likewise.
31328         (ILL_BADSTK): Likewise.
31329         (FPE_INTDIV): Likewise.
31330         (FPE_INTOVF): Likewise.
31331         (FPE_FLTDIV): Likewise.
31332         (FPE_FLTOVF): Likewise.
31333         (FPE_FLTUND): Likewise.
31334         (FPE_FLTRES): Likewise.
31335         (FPE_FLTINV): Likewise.
31336         (FPE_FLTSUB): Likewise.
31337         (SEGV_MAPERR): Likewise.
31338         (SEGV_ACCERR): Likewise.
31339         (BUS_ADRALN): Likewise.
31340         (BUS_ADRERR): Likewise.
31341         (BUS_OBJERR): Likewise.
31342         (BUS_MCEERR_AR): Likewise.
31343         (BUS_MCEERR_AO): Likewise.
31344         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31345         (TRAP_TRACE): Likewise.
31346         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31347         __USE_XOPEN2K8].
31348         (CLD_KILLED): Likewise.
31349         (CLD_DUMPED): Likewise.
31350         (CLD_TRAPPED): Likewise.
31351         (CLD_STOPPED): Likewise.
31352         (CLD_CONTINUED): Likewise.
31353         (POLL_IN): Likewise.
31354         (POLL_OUT): Likewise.
31355         (POLL_MSG): Likewise.
31356         (POLL_ERR): Likewise.
31357         (POLL_PRI): Likewise.
31358         (POLL_HUP): Likewise.
31359         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31360         Likewise.
31361         (ILL_ILLOPN): Likewise.
31362         (ILL_ILLADR): Likewise.
31363         (ILL_ILLTRP): Likewise.
31364         (ILL_PRVOPC): Likewise.
31365         (ILL_PRVREG): Likewise.
31366         (ILL_COPROC): Likewise.
31367         (ILL_BADSTK): Likewise.
31368         (ILL_BADIADDR): Likewise.
31369         (ILL_BREAK): Likewise.
31370         (FPE_INTDIV): Likewise.
31371         (FPE_INTOVF): Likewise.
31372         (FPE_FLTDIV): Likewise.
31373         (FPE_FLTOVF): Likewise.
31374         (FPE_FLTUND): Likewise.
31375         (FPE_FLTRES): Likewise.
31376         (FPE_FLTINV): Likewise.
31377         (FPE_FLTSUB): Likewise.
31378         (FPE_DECOVF): Likewise.
31379         (FPE_DECDIV): Likewise.
31380         (FPE_DECERR): Likewise.
31381         (FPE_INVASC): Likewise.
31382         (FPE_INVDEC): Likewise.
31383         (SEGV_MAPERR): Likewise.
31384         (SEGV_ACCERR): Likewise.
31385         (SEGV_PSTKOVF): Likewise.
31386         (BUS_ADRALN): Likewise.
31387         (BUS_ADRERR): Likewise.
31388         (BUS_OBJERR): Likewise.
31389         (BUS_MCEERR_AR): Likewise.
31390         (BUS_MCEERR_AO): Likewise.
31391         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31392         (TRAP_TRACE): Likewise.
31393         (TRAP_BRANCH): Likewise.
31394         (TRAP_HWBKPT): Likewise.
31395         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31396         __USE_XOPEN2K8].
31397         (CLD_KILLED): Likewise.
31398         (CLD_DUMPED): Likewise.
31399         (CLD_TRAPPED): Likewise.
31400         (CLD_STOPPED): Likewise.
31401         (CLD_CONTINUED): Likewise.
31402         (POLL_IN): Likewise.
31403         (POLL_OUT): Likewise.
31404         (POLL_MSG): Likewise.
31405         (POLL_ERR): Likewise.
31406         (POLL_PRI): Likewise.
31407         (POLL_HUP): Likewise.
31408         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31409         (ILL_ILLOPN): Likewise.
31410         (ILL_ILLADR): Likewise.
31411         (ILL_ILLTRP): Likewise.
31412         (ILL_PRVOPC): Likewise.
31413         (ILL_PRVREG): Likewise.
31414         (ILL_COPROC): Likewise.
31415         (ILL_BADSTK): Likewise.
31416         (FPE_INTDIV): Likewise.
31417         (FPE_INTOVF): Likewise.
31418         (FPE_FLTDIV): Likewise.
31419         (FPE_FLTOVF): Likewise.
31420         (FPE_FLTUND): Likewise.
31421         (FPE_FLTRES): Likewise.
31422         (FPE_FLTINV): Likewise.
31423         (FPE_FLTSUB): Likewise.
31424         (SEGV_MAPERR): Likewise.
31425         (SEGV_ACCERR): Likewise.
31426         (BUS_ADRALN): Likewise.
31427         (BUS_ADRERR): Likewise.
31428         (BUS_OBJERR): Likewise.
31429         (BUS_MCEERR_AR): Likewise.
31430         (BUS_MCEERR_AO): Likewise.
31431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31432         (TRAP_TRACE): Likewise.
31433         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31434         __USE_XOPEN2K8].
31435         (CLD_KILLED): Likewise.
31436         (CLD_DUMPED): Likewise.
31437         (CLD_TRAPPED): Likewise.
31438         (CLD_STOPPED): Likewise.
31439         (CLD_CONTINUED): Likewise.
31440         (POLL_IN): Likewise.
31441         (POLL_OUT): Likewise.
31442         (POLL_MSG): Likewise.
31443         (POLL_ERR): Likewise.
31444         (POLL_PRI): Likewise.
31445         (POLL_HUP): Likewise.
31446         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31447         (ILL_ILLOPN): Likewise.
31448         (ILL_ILLADR): Likewise.
31449         (ILL_ILLTRP): Likewise.
31450         (ILL_PRVOPC): Likewise.
31451         (ILL_PRVREG): Likewise.
31452         (ILL_COPROC): Likewise.
31453         (ILL_BADSTK): Likewise.
31454         (FPE_INTDIV): Likewise.
31455         (FPE_INTOVF): Likewise.
31456         (FPE_FLTDIV): Likewise.
31457         (FPE_FLTOVF): Likewise.
31458         (FPE_FLTUND): Likewise.
31459         (FPE_FLTRES): Likewise.
31460         (FPE_FLTINV): Likewise.
31461         (FPE_FLTSUB): Likewise.
31462         (SEGV_MAPERR): Likewise.
31463         (SEGV_ACCERR): Likewise.
31464         (BUS_ADRALN): Likewise.
31465         (BUS_ADRERR): Likewise.
31466         (BUS_OBJERR): Likewise.
31467         (BUS_MCEERR_AR): Likewise.
31468         (BUS_MCEERR_AO): Likewise.
31469         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31470         (TRAP_TRACE): Likewise.
31471         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31472         __USE_XOPEN2K8].
31473         (CLD_KILLED): Likewise.
31474         (CLD_DUMPED): Likewise.
31475         (CLD_TRAPPED): Likewise.
31476         (CLD_STOPPED): Likewise.
31477         (CLD_CONTINUED): Likewise.
31478         (POLL_IN): Likewise.
31479         (POLL_OUT): Likewise.
31480         (POLL_MSG): Likewise.
31481         (POLL_ERR): Likewise.
31482         (POLL_PRI): Likewise.
31483         (POLL_HUP): Likewise.
31484         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31485         (ILL_ILLOPN): Likewise.
31486         (ILL_ILLADR): Likewise.
31487         (ILL_ILLTRP): Likewise.
31488         (ILL_PRVOPC): Likewise.
31489         (ILL_PRVREG): Likewise.
31490         (ILL_COPROC): Likewise.
31491         (ILL_BADSTK): Likewise.
31492         (FPE_INTDIV): Likewise.
31493         (FPE_INTOVF): Likewise.
31494         (FPE_FLTDIV): Likewise.
31495         (FPE_FLTOVF): Likewise.
31496         (FPE_FLTUND): Likewise.
31497         (FPE_FLTRES): Likewise.
31498         (FPE_FLTINV): Likewise.
31499         (FPE_FLTSUB): Likewise.
31500         (SEGV_MAPERR): Likewise.
31501         (SEGV_ACCERR): Likewise.
31502         (BUS_ADRALN): Likewise.
31503         (BUS_ADRERR): Likewise.
31504         (BUS_OBJERR): Likewise.
31505         (BUS_MCEERR_AR): Likewise.
31506         (BUS_MCEERR_AO): Likewise.
31507         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31508         (TRAP_TRACE): Likewise.
31509         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31510         __USE_XOPEN2K8].
31511         (CLD_KILLED): Likewise.
31512         (CLD_DUMPED): Likewise.
31513         (CLD_TRAPPED): Likewise.
31514         (CLD_STOPPED): Likewise.
31515         (CLD_CONTINUED): Likewise.
31516         (POLL_IN): Likewise.
31517         (POLL_OUT): Likewise.
31518         (POLL_MSG): Likewise.
31519         (POLL_ERR): Likewise.
31520         (POLL_PRI): Likewise.
31521         (POLL_HUP): Likewise.
31522         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31523         (ILL_ILLOPN): Likewise.
31524         (ILL_ILLADR): Likewise.
31525         (ILL_ILLTRP): Likewise.
31526         (ILL_PRVOPC): Likewise.
31527         (ILL_PRVREG): Likewise.
31528         (ILL_COPROC): Likewise.
31529         (ILL_BADSTK): Likewise.
31530         (ILL_DBLFLT): Likewise.
31531         (ILL_HARDWALL): Likewise.
31532         (FPE_INTDIV): Likewise.
31533         (FPE_INTOVF): Likewise.
31534         (FPE_FLTDIV): Likewise.
31535         (FPE_FLTOVF): Likewise.
31536         (FPE_FLTUND): Likewise.
31537         (FPE_FLTRES): Likewise.
31538         (FPE_FLTINV): Likewise.
31539         (FPE_FLTSUB): Likewise.
31540         (SEGV_MAPERR): Likewise.
31541         (SEGV_ACCERR): Likewise.
31542         (BUS_ADRALN): Likewise.
31543         (BUS_ADRERR): Likewise.
31544         (BUS_OBJERR): Likewise.
31545         (BUS_MCEERR_AR): Likewise.
31546         (BUS_MCEERR_AO): Likewise.
31547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31548         (TRAP_TRACE): Likewise.
31549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31550         __USE_XOPEN2K8].
31551         (CLD_KILLED): Likewise.
31552         (CLD_DUMPED): Likewise.
31553         (CLD_TRAPPED): Likewise.
31554         (CLD_STOPPED): Likewise.
31555         (CLD_CONTINUED): Likewise.
31556         (POLL_IN): Likewise.
31557         (POLL_OUT): Likewise.
31558         (POLL_MSG): Likewise.
31559         (POLL_ERR): Likewise.
31560         (POLL_PRI): Likewise.
31561         (POLL_HUP): Likewise.
31562         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31563         (ILL_ILLOPN): Likewise.
31564         (ILL_ILLADR): Likewise.
31565         (ILL_ILLTRP): Likewise.
31566         (ILL_PRVOPC): Likewise.
31567         (ILL_PRVREG): Likewise.
31568         (ILL_COPROC): Likewise.
31569         (ILL_BADSTK): Likewise.
31570         (FPE_INTDIV): Likewise.
31571         (FPE_INTOVF): Likewise.
31572         (FPE_FLTDIV): Likewise.
31573         (FPE_FLTOVF): Likewise.
31574         (FPE_FLTUND): Likewise.
31575         (FPE_FLTRES): Likewise.
31576         (FPE_FLTINV): Likewise.
31577         (FPE_FLTSUB): Likewise.
31578         (SEGV_MAPERR): Likewise.
31579         (SEGV_ACCERR): Likewise.
31580         (BUS_ADRALN): Likewise.
31581         (BUS_ADRERR): Likewise.
31582         (BUS_OBJERR): Likewise.
31583         (BUS_MCEERR_AR): Likewise.
31584         (BUS_MCEERR_AO): Likewise.
31585         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31586         (TRAP_TRACE): Likewise.
31587         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31588         __USE_XOPEN2K8].
31589         (CLD_KILLED): Likewise.
31590         (CLD_DUMPED): Likewise.
31591         (CLD_TRAPPED): Likewise.
31592         (CLD_STOPPED): Likewise.
31593         (CLD_CONTINUED): Likewise.
31594         (POLL_IN): Likewise.
31595         (POLL_OUT): Likewise.
31596         (POLL_MSG): Likewise.
31597         (POLL_ERR): Likewise.
31598         (POLL_PRI): Likewise.
31599         (POLL_HUP): Likewise.
31600         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31601         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31603         [BZ #16670]
31604         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31605         before #include of <time.h>.
31606         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31607         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31608         (test-xfail-UNIX98/sched.h/conform): Likewise.
31610 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31612         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31613         error absence of trapping exception support.
31614         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31616 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31618         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31619         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31620         * timezone/Makefile (testdata): Move definition above include of
31621         Rules.
31622         (test-zones): New variable.
31623         (tests-special): Add zone files.
31624         (build-testdata): Use $(evaluate-test).
31626         * elf/Makefile (tests-special): Rename tests to end with .out.
31627         ($(objpfx)noload-mem): Likewise.
31628         ($(objpfx)tst-leaks1-mem): Likewise.
31629         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31630         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31631         $(objpfx)test-iconvconfig.out.
31632         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31633         set -e inside subshell and redirect output to file.
31634         * iconvdata/Makefile (generated): Rename tests to end with .out.
31635         Correct type.
31636         (tests-special): Rename tests to end with .out.
31637         ($(objpfx)mtrace-tst-loading): Likewise.
31638         * intl/Makefile (generated): Likewise.
31639         (tests-special): Likewise.
31640         ($(objpfx)mtrace-tst-gettext): Likewise.
31641         * misc/Makefile (generated): Likewise.
31642         (tests-special): Likewise.
31643         ($(objpfx)tst-error1-mem): Likewise.
31644         * nptl/Makefile (tests-special): Likewise.
31645         ($(objpfx)tst-stack3-mem): Likewise.
31646         (generated): Likewise.
31647         * posix/Makefile (generated): Likewise.
31648         (tests-special): Likewise.
31649         (xtests-special): Likewise.
31650         ($(objpfx)tst-fnmatch-mem): Likewise.
31651         ($(objpfx)bug-regex2-mem): Likewise.
31652         ($(objpfx)bug-regex14-mem): Likewise.
31653         ($(objpfx)bug-regex21-mem): Likewise.
31654         ($(objpfx)bug-regex31-mem): Likewise.
31655         ($(objpfx)tst-vfork3-mem): Likewise.
31656         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31657         ($(objpfx)tst-pcre-mem): Likewise.
31658         ($(objpfx)tst-boost-mem): Likewise.
31659         ($(objpfx)bug-ga2-mem): Likewise.
31660         ($(objpfx)bug-glob2-mem): Likewise.
31661         * resolv/Makefile (generate): Likewise.
31662         (tests-special): Likewise.
31663         (xtests-special): Likewise.
31664         (generated): Likewise.
31665         ($(objpfx)mtrace-tst-leaks): Likewise.
31666         ($(objpfx)mtrace-tst-leaks2): Likewise.
31668         * scripts/merge-test-results.sh: New file.
31669         * Makefile (tests-special-notdir): New variable.
31670         (tests): Run merge-test-results.sh.
31671         (xtests): Likewise.
31672         * Rules (tests-special-notdir): New variable.
31673         (xtests-special-notdir): Likewise.
31674         (tests): Run merge-test-results.sh
31675         (xtests): Likewise.
31677         * Makeconfig (test-xfail-name): New variable.
31678         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31679         compute variable name for expected failures.
31680         * conform/Makefile (conformtest-headers-data): New variable.
31681         (conformtest-standards): Likewise.
31682         (conformtest-headers-ISO): Likewise.
31683         (conformtest-headers-ISO99): Likewise.
31684         (conformtest-headers-ISO11): Likewise.
31685         (conformtest-headers-POSIX): Likewise.
31686         (conformtest-headers-XPG3): Likewise.
31687         (conformtest-headers-XPG4): Likewise.
31688         (conformtest-headers-UNIX98): Likewise.
31689         (conformtest-headers-XOPEN2K): Likewise.
31690         (conformtest-headers-POSIX2008): Likewise.
31691         (conformtest-headers-XOPEN2K8): Likewise.
31692         (conformtest-header-list-base): Likewise.
31693         (conformtest-header-list-tests): Likewise.
31694         (conformtest-header-base): Likewise.
31695         (conformtest-header-tests): Likewise.
31696         (tests-special): Add $(conformtest-header-list-tests).  If
31697         [$(fast-check) && !$(cross-compiling)], add
31698         $(conformtest-header-tests) instead of
31699         $(objpfx)run-conformtest.out.
31700         (generated): Add $(conformtest-header-list-base).  If
31701         [$(fast-check) && !$(cross-compiling)], add
31702         $(conformtest-header-base).  Remove previous setting.
31703         ($(conformtest-header-list-tests)): New target.
31704         (test-xfail-run-conformtest): Remove variable.
31705         ($(objpfx)run-conformtest.out): Remove target.
31706         (test-xfail-ISO11/complex.h/conform): New variable.
31707         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31708         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31709         (test-xfail-XPG3/varargs.h/conform): Likewise.
31710         (test-xfail-XPG4/varargs.h/conform): Likewise.
31711         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31712         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31713         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31714         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31715         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31716         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31717         (test-xfail-XPG3/ftw.h/conform): Likewise.
31718         (test-xfail-XPG3/grp.h/conform): Likewise.
31719         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31720         (test-xfail-XPG3/limits.h/conform): Likewise.
31721         (test-xfail-XPG3/pwd.h/conform): Likewise.
31722         (test-xfail-XPG3/search.h/conform): Likewise.
31723         (test-xfail-XPG3/signal.h/conform): Likewise.
31724         (test-xfail-XPG3/stdio.h/conform): Likewise.
31725         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31726         (test-xfail-XPG3/string.h/conform): Likewise.
31727         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31728         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31729         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31730         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31731         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31732         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31733         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31734         (test-xfail-XPG3/termios.h/conform): Likewise.
31735         (test-xfail-XPG3/time.h/conform): Likewise.
31736         (test-xfail-XPG3/unistd.h/conform): Likewise.
31737         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31738         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31739         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31740         (test-xfail-XPG4/netdb.h/conform): Likewise.
31741         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31742         (test-xfail-XPG4/signal.h/conform): Likewise.
31743         (test-xfail-XPG4/stdio.h/conform): Likewise.
31744         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31745         (test-xfail-XPG4/stropts.h/conform): Likewise.
31746         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31747         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31748         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31749         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31750         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31751         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31752         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31753         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31754         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31755         (test-xfail-XPG4/termios.h/conform): Likewise.
31756         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31757         (test-xfail-XPG4/unistd.h/conform): Likewise.
31758         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31759         (test-xfail-POSIX/sched.h/conform): Likewise.
31760         (test-xfail-POSIX/signal.h/conform): Likewise.
31761         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31762         (test-xfail-POSIX/tar.h/conform): Likewise.
31763         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31764         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31765         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31766         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31767         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31768         (test-xfail-UNIX98/sched.h/conform): Likewise.
31769         (test-xfail-UNIX98/signal.h/conform): Likewise.
31770         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31771         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31772         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31773         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31774         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31775         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31776         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31777         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31778         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31779         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31780         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31781         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31782         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31783         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31784         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31785         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31786         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31787         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31788         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31789         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31790         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31791         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31792         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31793         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31794         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31795         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31796         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31797         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31798         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31799         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31800         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31801         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31802         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31803         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31804         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31805         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31806         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31807         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31808         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31809         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31810         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31811         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31812         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31813         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31814         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31815         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31816         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31817         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31818         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31819         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31820         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31821         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31822         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31823         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31824         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31825         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31826         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31827         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31828         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31829         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31830         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31831         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31832         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31833         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31834         (conformtest-cc-flags): Likewise.
31835         ($(conformtest-header-tests): New target.
31836         * conform/check-header-lists.sh: New file.
31837         * conform/run-conformtest.sh: Remove.
31839         * conform/conformtest.pl: Allow ' and \ in values given for
31840         constants.
31841         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31842         inclusion.
31843         [POSIX] (sys/types.h): Likewise.
31844         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31845         inclusion.
31846         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31847         inclusion.
31848         * conform/data/signal.h-data (SIGIO): Remove expectation.
31849         [XPG3] (SIGBUS): Do not expect.
31850         [POSIX || XPG3] (SIGPOLL): Likewise.
31851         [POSIX || XPG3] (SIGPROF): Likewise.
31852         [POSIX || XPG3] (SIGSYS): Likewise.
31853         [XPG3] (SIGTRAP): Likewise.
31854         [POSIX || XPG3] (SIGURG): Likewise.
31855         [POSIX || XPG3] (SIGVTALRM): Likewise.
31856         [POSIX || XPG3] (SIGXCPU): Likewise.
31857         [POSIX || XPG3] (SIGXFSZ): Likewise.
31858         [POSIX] (SA_SIGINFO): Expect.
31859         [XPG3] (siginfo_t): Do not expect type or contents.
31860         [POSIX] (si_pid): Do not expect element.
31861         [POSIX] (si_uid): Likewise.
31862         [POSIX] (si_addr): Likewise.
31863         [POSIX] (si_status): Likewise.
31864         [POSIX] (si_band): Likewise.
31865         [XPG4] (si_value): Likewise.
31866         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31867         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31868         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31869         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31870         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31871         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31872         [POSIX || XPG3] (ILL_COPROC): Likewise.
31873         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31874         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31875         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31876         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31877         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31878         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31879         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31880         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31881         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31882         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31883         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31884         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31885         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31886         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31887         [POSIX || XPG3] (CLD_EXITED): Likewise.
31888         [POSIX || XPG3] (CLD_KILLED): Likewise.
31889         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31890         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31891         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31892         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31893         [POSIX || XPG3] (POLL_IN): Likewise.
31894         [POSIX || XPG3] (POLL_OUT): Likewise.
31895         [POSIX || XPG3] (POLL_MSG): Likewise.
31896         [POSIX || XPG3] (POLL_ERR): Likewise.
31897         [POSIX || XPG3] (POLL_PRI): Likewise.
31898         [POSIX || XPG3] (POLL_HUP): Likewise.
31899         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31900         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31901         (SIG*): Do not allow.
31902         [XPG3] (si_*): Likewise.
31903         [XPG3] (SI_*): Likewise.
31904         [XPG3 || XPG4] (sigev_*): Likewise.
31905         [XPG3 || XPG4] (SIGEV_*): Likewise.
31906         [XPG3 || XPG4] (sival_*): Likewise.
31907         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31908         [POSIX || XPG3] (BUS_*): Likewise.
31909         [POSIX || XPG3] (CLD_*): Likewise.
31910         [POSIX || XPG3] (FPE_*): Likewise.
31911         [POSIX || XPG3] (ILL_*): Likewise.
31912         [POSIX || XPG3] (POLL_*): Likewise.
31913         [POSIX || XPG3] (SEGV_*): Likewise.
31914         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31915         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31916         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31917         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31918         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31919         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31920         Specify type and value.
31921         (TVERSLEN): Likewise.
31922         (REGTYPE): Likewise.
31923         (AREGTYPE): Likewise.
31924         (LNKTYPE): Likewise.
31925         (SYMTYPE): Likewise.
31926         (CHRTYPE): Likewise.
31927         (BLKTYPE): Likewise.
31928         (DIRTYPE): Likewise.
31929         (FIFOTYPE): Likewise.
31930         (CONTTYPE): Likewise.
31931         (TSUID): Likewise.
31932         (TSGID): Likewise.
31933         (TSVTX): Likewise.
31934         (TUREAD): Likewise.
31935         (TUWRITE): Likewise.
31936         (TUEXEC): Likewise.
31937         (TGREAD): Likewise.
31938         (TGWRITE): Likewise.
31939         (TGEXEC): Likewise.
31940         (TOREAD): Likewise.
31941         (TOWRITE): Likewise.
31942         (TOEXEC): Likewise.
31943         [POSIX] (TSVTX): Expect constant.
31945 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31947         * Makefile (tests): Change dependencies to ....
31948         (tests-special): ... additions to this variable.
31949         (tests): Depend on $(tests-special).
31950         * Makerules (check-abi-list): New variable.
31951         (check-abi): Depend on $(check-abi-list).
31952         [$(subdir) = elf] (tests-special): Add
31953         $(objpfx)check-abi-libc.out.
31954         [$(build-shared) = yes && subdir] (tests-special): Add
31955         $(check-abi-list).
31956         [$(build-shared) = yes && subdir] (tests): Do not depend on
31957         check-abi.
31958         * Rules (tests): Depend on $(tests-special).
31959         (xtests): Depend on $(xtests-special).
31960         * catgets/Makefile (tests): Change dependencies to ....
31961         (tests-special): ... additions to this variable.
31962         * conform/Makefile (tests): Change dependencies to ....
31963         (tests-special): ... additions to this variable.
31964         * elf/Makefile (tests): Change dependencies to ....
31965         (tests-special): ... additions to this variable.
31966         * grp/Makefile (tests): Change dependencies to ....
31967         (tests-special): ... additions to this variable.
31968         * iconv/Makefile (xtests): Change dependencies to ....
31969         (xtests-special): ... additions to this variable.
31970         * iconvdata/Makefile (tests): Change dependencies to ....
31971         (tests-special): ... additions to this variable.
31972         * intl/Makefile (tests): Change dependencies to ....
31973         (tests-special): ... additions to this variable.  Also add
31974         $(objpfx)tst-gettext.out.
31975         * io/Makefile (tests): Change dependencies to ....
31976         (tests-special): ... additions to this variable.
31977         * libio/Makefile (tests): Change dependencies to ....
31978         (tests-special): ... additions to this variable.
31979         * malloc/Makefile (tests): Change dependencies to ....
31980         (tests-special): ... additions to this variable.
31981         * misc/Makefile (tests): Change dependencies to ....
31982         (tests-special): ... additions to this variable.
31983         * nptl/Makefile (tests): Change dependencies to ....
31984         (tests-special): ... additions to this variable.
31985         * nptl_db/Makefile (tests): Change dependencies to ....
31986         (tests-special): ... additions to this variable.
31987         * posix/Makefile (tests): Change dependencies to ....
31988         (tests-special): ... additions to this variable.
31989         (xtests): Change dependencies to ....
31990         (xtests-special): ... additions to this variable.
31991         * resolv/Makefile (tests): Change dependencies to ....
31992         (tests-special): ... additions to this variable.
31993         (xtests): Change dependencies to ....
31994         (xtests-special): ... additions to this variable.
31995         * stdio-common/Makefile (tests): Change dependencies to ....
31996         (tests-special): ... additions to this variable.
31997         (do-tst-unbputc): Remove target.
31998         (do-tst-printf): Likewise.
31999         * stdlib/Makefile (tests): Change dependencies to ....
32000         (tests-special): ... additions to this variable.
32001         * string/Makefile (tests): Change dependencies to ....
32002         (tests-special): ... additions to this variable.
32003         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32004         (tests-special): ... additions to this variable.
32006         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32007         whole file.
32008         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32009         whole file.
32010         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32011         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32013         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32014         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32015         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32016         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32017         * conform/data/libgen.h-data [XPG3]: Likewise.
32018         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32019         * conform/data/ndbm.h-data [XPG3]: Likewise.
32020         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32021         * conform/data/netdb.h-data [XPG3]: Likewise.
32022         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32023         * conform/data/poll.h-data [XPG3]: Likewise.
32024         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32025         * conform/data/strings.h-data [XPG3]: Likewise.
32026         * conform/data/stropts.h-data [XPG3]: Likewise.
32027         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32028         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32029         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32030         Likewise.
32031         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32032         * conform/data/sys/time.h-data [XPG3]: Likewise.
32033         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32034         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32035         * conform/data/sys/un.h-data [XPG3]: Likewise.
32036         * conform/data/syslog.h-data [XPG3]: Likewise.
32037         * conform/data/ucontext.h-data [XPG3]: Likewise.
32038         * conform/data/utmpx.h-data [XPG3]: Likewise.
32039         * conform/data/varargs.h-data [UNIX98]: Enable file.
32041         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32043         * math/libm-test.inc (struct test_f_f_data): Move expected results
32044         into structure for each rounding mode.
32045         (struct test_ff_f_data): Likewise.
32046         (struct test_ff_f_data_nexttoward): Likewise.
32047         (struct test_fi_f_data): Likewise.
32048         (struct test_fl_f_data): Likewise.
32049         (struct test_if_f_data): Likewise.
32050         (struct test_fff_f_data): Likewise.
32051         (struct test_c_f_data): Likewise.
32052         (struct test_f_f1_data): Likewise.
32053         (struct test_fF_f1_data): Likewise.
32054         (struct test_ffI_f1_data): Likewise.
32055         (struct test_c_c_data): Likewise.
32056         (struct test_cc_c_data): Likewise.
32057         (struct test_f_i_data): Likewise.
32058         (struct test_ff_i_data): Likewise.
32059         (struct test_f_l_data): Likewise.
32060         (struct test_f_L_data): Likewise.
32061         (struct test_fFF_11_data): Likewise.
32062         (RM_): New macro.
32063         (RM_FE_DOWNWARD): Likewise.
32064         (RM_FE_TONEAREST): Likewise.
32065         (RM_FE_TOWARDZERO): Likewise.
32066         (RM_FE_UPWARD): Likewise.
32067         (RUN_TEST_LOOP_f_f): Update references to expected results.
32068         (RUN_TEST_LOOP_2_f): Likewise.
32069         (RUN_TEST_LOOP_fff_f): Likewise.
32070         (RUN_TEST_LOOP_c_f): Likewise.
32071         (RUN_TEST_LOOP_f_f1): Likewise.
32072         (RUN_TEST_LOOP_fF_f1): Likewise.
32073         (RUN_TEST_LOOP_fI_f1): Likewise.
32074         (RUN_TEST_LOOP_ffI_f1): Likewise.
32075         (RUN_TEST_LOOP_c_c): Likewise.
32076         (RUN_TEST_LOOP_cc_c): Likewise.
32077         (RUN_TEST_LOOP_f_i): Likewise.
32078         (RUN_TEST_LOOP_f_i_tg): Likewise.
32079         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32080         (RUN_TEST_LOOP_f_b): Likewise.
32081         (RUN_TEST_LOOP_f_b_tg): Likewise.
32082         (RUN_TEST_LOOP_f_l): Likewise.
32083         (RUN_TEST_LOOP_f_L): Likewise.
32084         (RUN_TEST_LOOP_fFF_11): Likewise.
32085         * math/gen-libm-test.pl (parse_args): Output four copies of
32086         expected results for each test.
32088         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32089         (__ASSUME_UTIMES): Remove.
32090         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32091         (__ASSUME_UTIMES): Likewise.
32093         * math/gen-auto-libm-tests.c: Update comment on output format.
32094         (output_for_one_input_case): Generate before-rounding and
32095         after-rounding information as conditions on output flags not
32096         floating-point format.
32097         * math/auto-libm-test-out: Regenerated.
32098         * math/gen-libm-test.pl (cond_value): New function.
32099         (or_cond_value): Use cond_value.
32100         (generate_testfile): Handle conditional exceptions.
32102 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32104         * math/libm-test.inc (max_valid_error): New variable.
32105         (init_max_error): Take new argument specifying whether function
32106         results are exactly determined.  Set max_valid_error and bound
32107         other variables for errors based on this argument.
32108         (set_max_error): Do not record results above max_valid_error.
32109         (check_float_internal): Only accept errors of up to 0.5ulps if
32110         also at most max_valid_error.
32111         (START): Take new argument EXACT and pass it to init_max_error.
32112         (acos_test): Update call to START.
32113         (acos_test_tonearest): Likewise.
32114         (acos_test_towardzero): Likewise.
32115         (acos_test_downward): Likewise.
32116         (acos_test_upward): Likewise.
32117         (acosh_test): Likewise.
32118         (asin_test): Likewise.
32119         (asin_test_tonearest): Likewise.
32120         (asin_test_towardzero): Likewise.
32121         (asin_test_downward): Likewise.
32122         (asin_test_upward): Likewise.
32123         (asinh_test): Likewise.
32124         (atan_test): Likewise.
32125         (atanh_test): Likewise.
32126         (atan2_test): Likewise.
32127         (cabs_test): Likewise.
32128         (cacos_test): Likewise.
32129         (cacosh_test): Likewise.
32130         (carg_test): Likewise.
32131         (casin_test): Likewise.
32132         (casinh_test): Likewise.
32133         (catan_test): Likewise.
32134         (catanh_test): Likewise.
32135         (cbrt_test): Likewise.
32136         (ccos_test): Likewise.
32137         (ccosh_test): Likewise.
32138         (ceil_test): Likewise.
32139         (cexp_test): Likewise.
32140         (cimag_test): Likewise.
32141         (clog_test): Likewise.
32142         (clog10_test): Likewise.
32143         (conj_test): Likewise.
32144         (copysign_test): Likewise.
32145         (cos_test): Likewise.
32146         (cos_test_tonearest): Likewise.
32147         (cos_test_towardzero): Likewise.
32148         (cos_test_downward): Likewise.
32149         (cos_test_upward): Likewise.
32150         (cosh_test): Likewise.
32151         (cosh_test_tonearest): Likewise.
32152         (cosh_test_towardzero): Likewise.
32153         (cosh_test_downward): Likewise.
32154         (cosh_test_upward): Likewise.
32155         (cpow_test): Likewise.
32156         (cproj_test): Likewise.
32157         (creal_test): Likewise.
32158         (csin_test): Likewise.
32159         (csinh_test): Likewise.
32160         (csqrt_test): Likewise.
32161         (ctan_test): Likewise.
32162         (ctan_test_tonearest): Likewise.
32163         (ctan_test_towardzero): Likewise.
32164         (ctan_test_downward): Likewise.
32165         (ctan_test_upward): Likewise.
32166         (ctanh_test): Likewise.
32167         (ctanh_test_tonearest): Likewise.
32168         (ctanh_test_towardzero): Likewise.
32169         (ctanh_test_downward): Likewise.
32170         (ctanh_test_upward): Likewise.
32171         (erf_test): Likewise.
32172         (erfc_test): Likewise.
32173         (exp_test): Likewise.
32174         (exp_test_tonearest): Likewise.
32175         (exp_test_towardzero): Likewise.
32176         (exp_test_downward): Likewise.
32177         (exp_test_upward): Likewise.
32178         (exp10_test): Likewise.
32179         (exp10_test_tonearest): Likewise.
32180         (exp10_test_towardzero): Likewise.
32181         (exp10_test_downward): Likewise.
32182         (exp10_test_upward): Likewise.
32183         (pow10_test): Likewise.
32184         (exp2_test): Likewise.
32185         (expm1_test): Likewise.
32186         (expm1_test_tonearest): Likewise.
32187         (expm1_test_towardzero): Likewise.
32188         (expm1_test_downward): Likewise.
32189         (expm1_test_upward): Likewise.
32190         (fabs_test): Likewise.
32191         (fdim_test): Likewise.
32192         (floor_test): Likewise.
32193         (fma_test): Likewise.
32194         (fma_test_towardzero): Likewise.
32195         (fma_test_downward): Likewise.
32196         (fma_test_upward): Likewise.
32197         (fmax_test): Likewise.
32198         (fmin_test): Likewise.
32199         (fmod_test): Likewise.
32200         (fpclassify_test): Likewise.
32201         (frexp_test): Likewise.
32202         (hypot_test): Likewise.
32203         (ilogb_test): Likewise.
32204         (isfinite_test): Likewise.
32205         (finite_test): Likewise.
32206         (isgreater_test): Likewise.
32207         (isgreaterequal_test): Likewise.
32208         (isinf_test): Likewise.
32209         (isless_test): Likewise.
32210         (islessequal_test): Likewise.
32211         (islessgreater_test): Likewise.
32212         (isnan_test): Likewise.
32213         (isnormal_test): Likewise.
32214         (issignaling_test): Likewise.
32215         (isunordered_test): Likewise.
32216         (j0_test): Likewise.
32217         (j1_test): Likewise.
32218         (jn_test): Likewise.
32219         (ldexp_test): Likewise.
32220         (lgamma_test): Likewise.
32221         (gamma_test): Likewise.
32222         (lrint_test): Likewise.
32223         (lrint_test_tonearest): Likewise.
32224         (lrint_test_towardzero): Likewise.
32225         (lrint_test_downward): Likewise.
32226         (lrint_test_upward): Likewise.
32227         (llrint_test): Likewise.
32228         (llrint_test_tonearest): Likewise.
32229         (llrint_test_towardzero): Likewise.
32230         (llrint_test_downward): Likewise.
32231         (llrint_test_upward): Likewise.
32232         (log_test): Likewise.
32233         (log10_test): Likewise.
32234         (log1p_test): Likewise.
32235         (log2_test): Likewise.
32236         (logb_test): Likewise.
32237         (logb_test_downward): Likewise.
32238         (lround_test): Likewise.
32239         (llround_test): Likewise.
32240         (modf_test): Likewise.
32241         (nearbyint_test): Likewise.
32242         (nextafter_test): Likewise.
32243         (nexttoward_test): Likewise.
32244         (pow_test): Likewise.
32245         (pow_test_tonearest): Likewise.
32246         (pow_test_towardzero): Likewise.
32247         (pow_test_downward): Likewise.
32248         (pow_test_upward): Likewise.
32249         (remainder_test): Likewise.
32250         (drem_test): Likewise.
32251         (remainder_test_tonearest): Likewise.
32252         (drem_test_tonearest): Likewise.
32253         (remainder_test_towardzero): Likewise.
32254         (drem_test_towardzero): Likewise.
32255         (remainder_test_downward): Likewise.
32256         (drem_test_downward): Likewise.
32257         (remainder_test_upward): Likewise.
32258         (drem_test_upward): Likewise.
32259         (remquo_test): Likewise.
32260         (rint_test): Likewise.
32261         (rint_test_tonearest): Likewise.
32262         (rint_test_towardzero): Likewise.
32263         (rint_test_downward): Likewise.
32264         (rint_test_upward): Likewise.
32265         (round_test): Likewise.
32266         (scalb_test): Likewise.
32267         (scalbn_test): Likewise.
32268         (scalbln_test): Likewise.
32269         (signbit_test): Likewise.
32270         (sin_test): Likewise.
32271         (sin_test_tonearest): Likewise.
32272         (sin_test_towardzero): Likewise.
32273         (sin_test_downward): Likewise.
32274         (sin_test_upward): Likewise.
32275         (sincos_test): Likewise.
32276         (sinh_test): Likewise.
32277         (sinh_test_tonearest): Likewise.
32278         (sinh_test_towardzero): Likewise.
32279         (sinh_test_downward): Likewise.
32280         (sinh_test_upward): Likewise.
32281         (sqrt_test): Likewise.
32282         (sqrt_test_tonearest): Likewise.
32283         (sqrt_test_towardzero): Likewise.
32284         (sqrt_test_downward): Likewise.
32285         (sqrt_test_upward): Likewise.
32286         (tan_test): Likewise.
32287         (tan_test_tonearest): Likewise.
32288         (tan_test_towardzero): Likewise.
32289         (tan_test_downward): Likewise.
32290         (tan_test_upward): Likewise.
32291         (tanh_test): Likewise.
32292         (tgamma_test): Likewise.
32293         (trunc_test): Likewise.
32294         (y0_test): Likewise.
32295         (y1_test): Likewise.
32296         (yn_test): Likewise.
32297         (significand_test): Likewise.
32299         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32300         individual tests in comment.
32301         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32302         (prev_max_error): New variable.
32303         (prev_real_max_error): Likewise.
32304         (prev_imag_max_error): Likewise.
32305         (compare_ulp_data): Don't refer to test names in comment.
32306         (find_test_ulps): Remove function.
32307         (find_function_ulps): Likewise.
32308         (find_complex_function_ulps): Likewise.
32309         (init_max_error): Take function name as argument.  Look up ulps
32310         for that function.
32311         (print_ulps): Remove function.
32312         (print_max_error): Use prev_max_error instead of calling
32313         find_function_ulps.
32314         (print_complex_max_error): Use prev_real_max_error and
32315         prev_imag_max_error instead of calling find_complex_function_ulps.
32316         (check_float_internal): Take max_ulp parameter instead of calling
32317         find_test_ulps.  Don't call print_ulps.
32318         (check_float): Update call to check_float_internal.
32319         (check_complex): Update calls to check_float_internal.
32320         (START): Pass argument to init_max_error.
32321         * math/gen-libm-test.pl (%results): Don't include "kind"
32322         information.
32323         (parse_ulps): Don't handle ulps of individual tests.
32324         (print_ulps_file): Likewise.
32325         (output_ulps): Likewise.
32326         * math/README.libm-test: Update.
32327         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32328         individual tests.
32329         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32330         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32331         * sysdeps/arm/libm-test-ulps: Likewise.
32332         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32333         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32334         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32335         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32336         * sysdeps/microblaze/libm-test-ulps: Likewise.
32337         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32339         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32340         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32341         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32342         * sysdeps/sh/libm-test-ulps: Likewise.
32343         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32344         * sysdeps/tile/libm-test-ulps: Likewise.
32345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32347 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32349         * math/libm-test.inc (print_complex_max_error): Check separately
32350         whether real and imaginary errors are within allowed range and
32351         pass 0 to print_complex_function_ulps instead of value within
32352         allowed range.
32354 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32356         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32357         formatting.
32358         (get_handles_fopen): Likewise.
32359         (do_write_test): Likewise.
32361         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32363         * libio/fileops.c (do_ftell): Use cached offset when
32364         available.
32365         * libio/iofwide.c (do_ftell_wide): Likewise.
32366         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32367         _IO_file_attach.
32368         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32370         [BZ #16532]
32371         * libio/libioP.h (get_file_offset): New function.
32372         * libio/fileops.c (get_file_offset): Likewise.
32373         (do_ftell): Likewise.
32374         (_IO_new_file_seekoff): Split out ftell logic.
32375         * libio/wfileops.c (do_ftell_wide): Likewise.
32376         (_IO_wfile_seekoff): Split out ftell logic.
32377         * libio/tst-ftell-active-handler.c: New test case.
32378         * libio/Makefile (tests): Add it.
32380 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32382         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32383         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32385 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32387         [BZ #16639]
32388         * nscd/connections.c (nscd_init): Call do_exit.
32389         (start_threads): Call do_exit and notify_parent.
32390         (begin_drop_privileges): Call do_exit.
32391         (finish_drop_privileges): Likewise.
32392         * nscd/selinux.c (preserve_capabilities): Likewise.
32393         (install_real_capabilities): Likewise.
32394         (nscd_selinux_enabled): Likewise.
32395         (avc_create_thread): Likewise.
32396         (avc_alloc_lock): Likewise.
32397         (nscd_avc_init): Likewise.
32398         * nscd/nscd.c (parent_fd): New static variable.
32399         (main): Create a pipe between parent and child processes.
32400         Skip closing parent_fd.
32401         (monitor_child): New function.
32402         (do_exit): Likewise.
32403         (notify_parent): Likewise.
32404         * nscd/nscd.h (notify_parent): Likewise.
32405         (do_exit): Likewise.
32407 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32409         * malloc/malloc.c (__libc_calloc): Revert last change.
32411 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32415 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32417         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32419         implementation.
32420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32421         (__libc_ifunc_impl_list): Likewise.
32422         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32423         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32424         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32425         * string/strrchr.c: Define STRRCHR.
32427 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32429         * benchtest/bench-strtok.c (simple_strtok): Delete.
32430         (strtok_string): Use as benchmark.
32431         * string/strtok (STRTOK): New macro.
32433 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32435         * manual/threads.texi: Add header and standard comments to all
32436         functions.
32438         * elf/dl-lookup.c (check_match): New function.
32439         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32440         (do_lookup_x): Remove nested function check_match. Use non-nested
32441         function check_match.
32443 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32445         * csu/Makefile (generated, before-compile): Use += rather than =.
32446         * catgets/Makefile (generated, generated-dirs): Likewise.
32447         * debug/Makefile (generated): Likewise.
32448         * dlfcn/Makefile (generated): Likewise.
32449         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32450         * iconvdata/Makefile (before-compile, generated): Likewise.
32451         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32452         * libio/Makefile (generated): Likewise.
32453         * malloc/Makefile (generated): Likewise.
32454         * manual/Makefile (generated, generated-dirs): Likewise.
32455         * misc/Makefile (generated): Likewise.
32456         * posix/Makefile (generated): Likewise.
32457         * resolv/Makefile (generated): Likewise.
32458         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32459         * timezone/Makefile (generated, generated-dirs): Likewise.
32461         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32463 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32466         power8 implementation.
32467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32468         file: POWER8 llround ifunc implementation.
32469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32470         (__lllround): Add POWER8 implementation.
32471         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32472         POWER8 llround implementation.
32474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32475         power8 implementation.
32476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32477         file: POWER8 llrint ifunc implementation.
32478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32479         Add POWER8 implementation.
32480         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32481         POWER8 llrint implementation.
32483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32484         power8 implementation.
32485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32486         file: POWER8 finite ifunc implementation.
32487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32488         Add POWER8 implementation.
32489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32490         Likewise.
32491         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32492         POWER8 finite implementation.
32493         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32496         power8 implementation.
32497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32498         file: POWER8 isinf ifunc implementation.
32499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32500         POWER8 implementation.
32501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32502         Likewise.
32503         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32504         isinf implementation.
32505         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32507         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32508         (INIT_ARCH): Add hwcap2 initialization.
32509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32510         power8 implementation.
32511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32512         file: POWER8 isnan ifunc implementation.
32513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32514         POWER8 implementation.
32515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32516         Likewise.
32517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32518         isnan implementation.
32519         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32521 2014-02-27  Joey Ye  <joey.ye@arm.com>
32523         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32524         (_FP_NANFRAC_Q): Set to zero.
32526 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32528         [BZ #16623]
32529         * math/auto-libm-test-in: New test inputs.
32530         * math/auto-libm-test-out: Regenerate.
32531         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32532         and DA.
32533         (__cos): Likewise.
32534         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32536 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32538         * scripts/evaluate-test.sh: Take new argument indicating whether
32539         failure is expected.
32540         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32541         indicating whether failure is expected.
32542         * conform/Makefile (test-xfail-run-conformtest): New variable.
32543         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32544         level.
32545         * posix/Makefile (test-xfail-annexc): New variable.
32546         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32548 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32550         * argp/Makefile: Include Makeconfig immediately after defining
32551         subdir.
32552         * assert/Makefile: Likewise.
32553         * benchtests/Makefile: Likewise.
32554         * catgets/Makefile: Likewise.
32555         * conform/Makefile: Likewise.
32556         * crypt/Makefile: Likewise.
32557         * csu/Makefile: Likewise.
32558         (all): Remove target.
32559         * ctype/Makefile: Include Makeconfig immediately after defining
32560         subdir.
32561         * debug/Makefile: Likewise.
32562         * dirent/Makefile: Likewise.
32563         * dlfcn/Makefile: Likewise.
32564         * gmon/Makefile: Likewise.
32565         * gnulib/Makefile: Likewise.
32566         * grp/Makefile: Likewise.
32567         * gshadow/Makefile: Likewise.
32568         * hesiod/Makefile: Likewise.
32569         * hurd/Makefile: Likewise.
32570         (all): Remove target.
32571         * iconvdata/Makefile: Include Makeconfig immediately after
32572         defining subdir.
32573         * inet/Makefile: Likewise.
32574         * intl/Makefile: Likewise.
32575         * io/Makefile: Likewise.
32576         * libio/Makefile: Likewise.
32577         (all): Remove target.
32578         * locale/Makefile: Include Makeconfig immediately after defining
32579         subdir.
32580         * login/Makefile: Likewise.
32581         * mach/Makefile: Likewise.
32582         (all): Remove target.
32583         * malloc/Makefile: Include Makeconfig immediately after defining
32584         subdir.
32585         (all): Remove target.
32586         * manual/Makefile: Include Makeconfig immediately after defining
32587         subdir.
32588         * math/Makefile: Likewise.
32589         * misc/Makefile: Likewise.
32590         * nis/Makefile: Likewise.
32591         * nss/Makefile: Likewise.
32592         * po/Makefile: Likewise.
32593         (all): Remove target.
32594         * posix/Makefile: Include Makeconfig immediately after defining
32595         subdir.
32596         * pwd/Makefile: Likewise.
32597         * resolv/Makefile: Likewise.
32598         * resource/Makefile: Likewise.
32599         * rt/Makefile: Likewise.
32600         * setjmp/Makefile: Likewise.
32601         * shadow/Makefile: Likewise.
32602         * signal/Makefile: Likewise.
32603         * socket/Makefile: Likewise.
32604         * soft-fp/Makefile: Likewise.
32605         * stdio-common/Makefile: Likewise.
32606         * stdlib/Makefile: Likewise.
32607         * streams/Makefile: Likewise.
32608         * string/Makefile: Likewise.
32609         * sunrpc/Makefile: Likewise.
32610         (all): Remove target.
32611         * sysvipc/Makefile: Include Makeconfig immediately after defining
32612         subdir.
32613         * termios/Makefile: Likewise.
32614         * time/Makefile: Likewise.
32615         * timezone/Makefile: Likewise.
32616         (all): Remove target.
32617         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32618         subdir.
32619         * wctype/Makefile: Likewise.
32621 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32623         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32624         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32625         (libc_feholdexcept_setround_mips): Ditto.
32626         (libc_feholdsetround): New.
32627         (libc_feholdsetroundf): New.
32628         (libc_feholdsetroundl): New.
32629         (libc_feupdateenv_test_mips): New.
32630         (libc_feupdateenv_test): New.
32631         (libc_feupdateenv_testf): New.
32632         (libc_feupdateenv_testl): New.
32633         (libc_feresetround): New.
32634         (libc_feresetroundf): New.
32635         (libc_feresetroundl): New.
32636         (libc_fetestexcept_mips): New.
32637         (libc_fetestexcept): New.
32638         (libc_fetestexceptf): New.
32639         (libc_fetestexceptl): New.
32640         (HAVE_RM_CTX): New.
32641         (libc_feholdexcept_setround_mips_ctx): New.
32642         (libc_feholdexcept_setround_ctx): New.
32643         (libc_feholdexcept_setroundf_ctx): New.
32644         (libc_feholdexcept_setroundl_ctx): New.
32645         (libc_fesetenv_mips_ctx): New.
32646         (libc_fesetenv_ctx): New.
32647         (libc_fesetenv_ctxf): New.
32648         (libc_fesetenv_ctxl): New.
32649         (libc_feupdateenv_mips_ctx): New.
32650         (libc_feupdateenv_ctx): New.
32651         (libc_feupdateenvf_ctx): New.
32652         (libc_feupdateenvl_ctx): New.
32653         (libc_feholdsetround_mips_ctx): New.
32654         (libc_feholdsetround_ctx): New.
32655         (libc_feholdsetroundf_ctx): New.
32656         (libc_feholdsetroundl_ctx): New.
32657         (libc_feresetround_mips_ctx): New.
32658         (libc_feresetround_ctx): New.
32659         (libc_feresetroundf_ctx): New.
32660         (libc_feresetroundl_ctx): New.
32662 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32664         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32666         * manual/ipc.texi: New file.
32667         * manual/Makefile (chapters): Add ipc.
32668         * manual/job.texi: Add "Inter-Process Communication" to next.
32669         * manual/process.texi: Add "Inter-Process Communication" to prev.
32671 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32675 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32677         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32679         * manual/arith.texi: Fix spaces after sentences.
32680         * manual/charset.texi: Likewise.
32681         * manual/errno.texi: Likewise.
32682         * manual/install.texi: Likewise.
32683         * manual/llio.texi: Likewise.
32684         * manual/locale.texi: Likewise.
32685         * manual/maint.texi: Likewise.
32686         * manual/math.texi: Likewise.
32687         * manual/memory.texi: Likewise.
32688         * manual/message.texi: Likewise.
32689         * manual/probes.texi: Likewise.
32690         * manual/resource.texi: Likewise.
32691         * manual/signal.texi: Likewise.
32692         * manual/socket.texi: Likewise.
32693         * manual/stdio.texi: Likewise.
32694         * manual/string.texi: Likewise.
32695         * manual/time.texi: Likewise.
32696         * manual/users.texi: Likewise.
32698 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32700         [BZ #16632]
32701         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32702         _DEFAULT_SOURCE is defined.
32704 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32705             Carlos O'Donell  <carlos@redhat.com>
32707         [BZ #16613]
32708         * elf/dl-tls.c (_dl_count_modids): New function.
32709         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32710         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32711         audit library and increment generation counter.
32712         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32713         * elf/tst-audit9.c: New file.
32714         * elf/tst-auditmod9a.c: New file.
32715         * elf/tst-auditmod9b.c: New file.
32716         * elf/Makefile: Add rules to build and run tst-audit9.
32718 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32720         [BZ #15347]
32721         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32723 2014-02-25  Will Newton  <will.newton@linaro.org>
32725         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32726         (__longjmp): Restore sp and lr before restoring callee
32727         saved registers.  Add longjmp and longjmp_target
32728         SystemTap probe point.
32729         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32730         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32731         Define to zero to match jmpbuf layout.
32732         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32733         (__sigsetjmp): Save sp and lr before saving callee
32734         saved registers.  Add setjmp SystemTap probe point.
32736 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32738         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32740 2014-02-24  Andreas Schwab  <schwab@suse.de>
32742         [BZ #15804]
32743         * elf/pldd.c (wait_for_ptrace_stop): New function.
32744         (main): Call it after attaching.
32746 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32748         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32749         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32750         Versions files is now verboten.
32751         * hurd/Versions (libc: GLIBC_2.0):
32752         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32753         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32754         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32755         * mach/Versions: Likewise.
32757         * csu/Versions: Remove unused %include.
32758         * resolv/Versions: Likewise.
32760 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32762         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32763         ($(objpfx)check-local-headers.out): Likewise.
32764         ($(objpfx)begin-end-check.out): Likewise.
32765         * Makerules (check-abi-%.out): Likewise.
32766         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32767         ($(objpfx)test2.cat): Likewise.
32768         ($(objpfx)de/libc.cat): Likewise.
32769         ($(objpfx)test-gencat.out): Likewise.
32770         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32771         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32772         ($(objpfx)noload-mem): Likewise.
32773         ($(objpfx)tst-pathopt.out): Likewise.
32774         ($(objpfx)tst-rtld-load-self.out): Likewise.
32775         ($(objpfx)tst-array1-cmp.out): Likewise.
32776         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32777         ($(objpfx)tst-array2-cmp.out): Likewise.
32778         ($(objpfx)tst-array3-cmp.out): Likewise.
32779         ($(objpfx)tst-array4-cmp.out): Likewise.
32780         ($(objpfx)tst-array5-cmp.out): Likewise.
32781         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32782         ($(objpfx)check-textrel.out): Likewise.
32783         ($(objpfx)check-execstack.out): Likewise.
32784         ($(objpfx)check-localplt.out): Likewise.
32785         ($(objpfx)order2-cmp.out): Likewise.
32786         ($(objpfx)tst-leaks1-mem): Likewise.
32787         ($(objpfx)tst-leaks1-static-mem): Likewise.
32788         ($(objpfx)tst-initorder-cmp.out): Likewise.
32789         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32790         ($(objpfx)tst-unused-dep.out): Likewise.
32791         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32792         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32793         * iconv/Makefile (test-iconvconfig): Likewise.
32794         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32795         ($(objpfx)iconv-test.out): Likewise.
32796         ($(objpfx)tst-tables.out): Likewise.
32797         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32798         ($(objpfx)tst-gettext.out): Likewise.
32799         ($(objpfx)tst-translit.out): Likewise.
32800         ($(objpfx)tst-gettext2.out): Likewise.
32801         ($(objpfx)tst-gettext4.out): Likewise.
32802         ($(objpfx)tst-gettext6.out): Likewise.
32803         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32804         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32805         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32806         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32807         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32808         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32809         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32810         ($(objpfx)wordexp-tst.out): Likewise.
32811         ($(objpfx)annexc.out): Likewise.
32812         ($(objpfx)tst-fnmatch-mem): Likewise.
32813         ($(objpfx)bug-regex2-mem): Likewise.
32814         ($(objpfx)bug-regex14-mem): Likewise.
32815         ($(objpfx)bug-regex21-mem): Likewise.
32816         ($(objpfx)bug-regex31-mem): Likewise.
32817         ($(objpfx)tst-vfork3-mem): Likewise.
32818         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32819         ($(objpfx)tst-pcre-mem): Likewise.
32820         ($(objpfx)tst-boost-mem): Likewise.
32821         ($(objpfx)tst-getconf.out): Likewise.
32822         ($(objpfx)bug-ga2-mem): Likewise.
32823         ($(objpfx)bug-glob2-mem): Likewise.
32824         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32825         ($(objpfx)mtrace-tst-leaks2): Likewise.
32826         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32827         ($(objpfx)tst-printf.out): Likewise.
32828         ($(objpfx)tst-setvbuf1.out): Likewise.
32829         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32830         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32831         ($(objpfx)tst-fmtmsg.out): Likewise.
32832         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32833         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32835         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32836         * bits/sigaction.h [__USE_MISC]: Likewise.
32837         * bits/waitstatus.h: Update #endif comments.
32838         * ctype/ctype.h: Likewise.
32839         * dirent/dirent.h: Likewise.
32840         [__USE_MISC]: Remove redundant conditionals.
32841         * grp/grp.h: Update #endif comments.
32842         [__USE_GNU]: Remove redundant conditionals.
32843         [__USE_MISC]: Likewise.
32844         * inet/netinet/in.h [__USE_GNU]: Likewise.
32845         * io/sys/stat.h [__USE_MISC]: Likewise.
32846         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32847         * libio/bits/stdio.h: Update #endif comments.
32848         [__USE_MISC]: Remove redundant conditionals.
32849         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32850         * libio/stdio.h: Update #endif comments.
32851         [__USE_MISC]: Remove redundant conditionals.
32852         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32853         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32854         * math/math.h: Update #else and #endif comments.
32855         [__USE_MISC]: Remove redundant conditionals.
32856         * misc/sys/uio.h: Update #endif comments.
32857         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32858         * posix/glob.h [__USE_MISC]: Likewise.
32859         * posix/sys/types.h: Update #endif comments.
32860         [__USE_MISC]: Remove redundant conditionals.
32861         * posix/sys/wait.h: Update #endif comments.
32862         [__USE_MISC]: Remove redundant conditionals.
32863         * posix/unistd.h: Update #endif comments.
32864         [__USE_MISC]: Remove redundant conditionals.
32865         * pwd/pwd.h [__USE_GNU]: Likewise.
32866         [__USE_MISC]: Likewise.
32867         * resolv/netdb.h [__USE_GNU]: Likewise.
32868         * signal/signal.h: Update #endif comments.
32869         [__USE_MISC]: Remove redundant conditionals.
32870         * stdlib/stdlib.h: Update #else and #endif comments.
32871         [__USE_MISC]: Remove redundant conditionals.
32872         [__USE_GNU]: Likewise.
32873         * string/bits/string2.h [__USE_MISC]: Likewise.
32874         * string/string.h: Update #endif comments.
32875         [__USE_MISC]: Remove redundant conditionals.
32876         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32877         Likewise.
32878         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32879         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32880         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32881         Likewise.
32882         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32883         Likewise.
32884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32885         comments.
32886         [__USE_MISC]: Remove redundant conditionals.
32887         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32888         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32889         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32890         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32891         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32892         Likewise.
32893         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32894         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32895         Likewise.
32896         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32897         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32898         Likewise.
32899         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32900         Likewise.
32901         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32902         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32903         Likewise.
32904         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32905         Likewise.
32906         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32907         * sysdeps/x86/bits/string.h: Update #endif comments.
32908         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32909         conditionals.
32910         * time/sys/time.h: Update #endif comments.
32911         * time/time.h: Likewise.
32912         [__USE_MISC]: Remove redundant conditionals.
32914 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32916         [BZ #16600]
32917         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32919 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32921         * Versions.def (librt): Add GLIBC_2.17.
32923 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32925         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32926         synonym for _SYS_AUXV_H to allow direct inclusion.
32927         * sysdeps/sparc/bits/hwcap.h: Likewise.
32928         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32929         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32930         * sysdeps/sparc/sysdep.h: Likewise.
32932 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32934         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32936 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32938         * benchtests/bench-strrchr.c: Print length instead of position.
32940 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32942         [BZ #16611]
32943         * sysdeps/unix/sysv/linux/kernel-features.h
32944         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32945         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32946         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32947         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32948         Likewise.
32949         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32950         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32951         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32952         (__ASSUME_SENDMMSG): Define instead of using previous
32953         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32954         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32955         (__ASSUME_SENDMMSG_SYSCALL): Define.
32956         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32957         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32958         Likewise.
32959         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32960         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32961         Likewise.
32962         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32963         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32964         Likewise.
32965         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32966         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32967         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32968         [__ASSUME_SENDMMSG]: Change conditionals to
32969         [__ASSUME_SENDMMSG_SOCKETCALL].
32970         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32971         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32972         Define.
32973         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32974         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32975         Likewise.
32976         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32977         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32978         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32979         [!__ASSUME_SENDMMSG]: Change conditional to
32980         [!__ASSUME_SENDMMSG_SOCKETCALL].
32981         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32982         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32983         Define.
32985         [BZ #16610]
32986         * sysdeps/unix/sysv/linux/kernel-features.h
32987         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32988         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32989         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32990         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32991         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32992         [__i386__ || __sparc__]
32993         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32994         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32995         (__ASSUME_RECVMMSG): Define instead of using previous
32996         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32997         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32998         (__ASSUME_RECVMMSG_SYSCALL): Define.
32999         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33000         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33001         Likewise.
33002         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33003         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33004         Likewise.
33005         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33006         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33007         Likewise.
33008         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33009         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33010         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33011         [__ASSUME_RECVMMSG]: Change condition to
33012         [__ASSUME_RECVMMSG_SOCKETCALL].
33013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33014         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33015         Define.
33016         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33018         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33019         Likewise.
33020         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33021         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33022         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33023         [!__ASSUME_RECVMMSG]: Change condition to
33024         [!__ASSUME_RECVMMSG_SOCKETCALL].
33025         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33026         (__ASSUME_RECVMMSG_SYSCALL): Define.
33028         [BZ #16609]
33029         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33030         __powerpc__ || __s390__ || __sh__ || __sparc__]
33031         (__ASSUME_SOCKETCALL): Define.
33032         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33033         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33034         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33035         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33036         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33037         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33038         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33039         (__ASSUME_ACCEPT4): Define instead of using previous
33040         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33041         __powerpc__ || __sparc__ || __s390__)] condition.
33042         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33043         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33044         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33045         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33046         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33047         [!__ASSUME_ACCEPT4]: Change condition to
33048         [!__ASSUME_ACCEPT4_SOCKETCALL].
33049         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33050         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33051         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33052         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33053         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33054         __ASSUME_ACCEPT4_SYSCALL.
33055         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33056         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33057         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33058         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33059         __ASSUME_ACCEPT4_SYSCALL.
33060         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33061         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33062         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33063         [__ASSUME_ACCEPT4]: Change condition to
33064         [__ASSUME_ACCEPT4_SOCKETCALL].
33065         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33066         (__ASSUME_SOCKETCALL): Define.
33067         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33068         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33069         (__ASSUME_SOCKETCALL): Define.
33070         (__ASSUME_ACCEPT4): Remove.
33071         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33072         Define.
33073         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33074         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33075         Likewise.
33076         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33077         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33079         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33080         macro.
33081         (HWCAP_ARM_LPAE): Likewise.
33082         (HWCAP_ARM_EVTSTRM): Likewise.
33083         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33084         Add vpfd32, lpae and evtstrm.
33085         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33086         Increase to 22.
33088 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33090         * math/auto-libm-test-in: Add tests of clog10.
33091         * math/auto-libm-test-out: Regenerated.
33092         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33093         * sysdeps/i386/fpu/libm-test-ulps: Update.
33094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33096 2014-02-18  Andreas Schwab  <schwab@suse.de>
33098         [BZ #16574]
33099         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33100         Store non-zero if the second buffer was newly allocated.
33101         (send_dg): Likewise.
33102         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33103         to send_vc and send_dg.
33104         (res_nsend): Pass NULL for ansp2_malloced.
33105         * resolv/res_query.c (__libc_res_nquery): Add parameter
33106         answerp2_malloced and pass it down to __libc_res_nsend.
33107         (res_nquery): Pass additional NULL to __libc_res_nquery.
33108         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33109         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33110         second answer buffer if answerp2_malloced was set.
33111         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33112         (__libc_res_nquerydomain): Add parameter
33113         answerp2_malloced and pass it down to __libc_res_nquery.
33114         (res_nquerydomain): Pass additional NULL to
33115         __libc_res_nquerydomain.
33116         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33117         additional NULL to __libc_res_nsend and __libc_res_nquery.
33118         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33119         additional NULL to __libc_res_nsearch.
33120         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33121         parameter of __libc_res_nsearch to check for separately allocated
33122         second buffer.
33123         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33124         __libc_res_nquery.
33125         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33126         additional NULL to __libc_res_nquery.
33127         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33128         __libc_res_nsearch.
33129         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33130         * include/resolv.h: Update prototypes of __libc_res_nquery,
33131         __libc_res_nsearch, __libc_res_nsend.
33133 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33135         * math/auto-libm-test-in: Add tests of fma.
33136         * math/auto-libm-test-out: Regenerated.
33137         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33138         (fma_towardzero_test_data): Likewise.
33139         (fma_downward_test_data): Likewise.
33140         (fma_upward_test_data): Likewise.
33141         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33142         mpc_mode.
33143         (rounding_modes): Add values for new field.
33144         (func_calc_method): Add value mpfr_fff_f.
33145         (func_calc_desc): Add mpfr_fff_f union field.
33146         (test_function): Add field exact_args.
33147         (FUNC): Add macro argument EXACT_ARGS.
33148         (FUNC_mpfr_f_f): Update call to FUNC.
33149         (FUNC_mpfr_f_f): Likewise.
33150         (FUNC_mpfr_ff_f): Likewise.
33151         (FUNC_mpfr_if_f): Likewise.
33152         (FUNC_mpc_c_f): Likewise.
33153         (FUNC_mpc_c_c): Likewise.
33154         (test_functions): Add fma.  Update calls to FUNC.
33155         (handle_input_arg): Add argument exact_args.
33156         (add_test): Update call to handle_input_arg.
33157         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33158         (output_for_one_input_case): Update call to calc_generic_results.
33159         Recalculate exact zero results in each rounding mode.
33161         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33162         non-negative before setting low bit.
33163         * math/auto-libm-test-in: Mark one asin test possibly having
33164         spurious underflow.
33165         * math/auto-libm-test-out: Regenerated.
33166         * sysdeps/i386/fpu/libm-test-ulps: Update.
33167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33169 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33171         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33172         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33173         ports/sysdeps/unix/sysv/linux/microblaze.
33174         * README: Add missing listing for microblaze*-*-linux-gnu.
33176 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33178         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33179         duplicate code
33181 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33183         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33184         * sysdeps/unix/sysv/linux/ia64: Move directory from
33185         ports/sysdeps/unix/sysv/linux/ia64.
33186         * README: Update listing for ia64-*-linux-gnu.
33188 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33189             Joseph Myers  <joseph@codesourcery.com>
33191         * Makeconfig (test-name): New variable.
33192         (evaluate-test): Likewise.
33193         * Makerules (do-test-clean): Remove .test-result files.
33194         (common-mostlyclean): Likewise.
33195         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33196         * scripts/evaluate-test.sh: New file.
33198 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33200         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33201         separate $(objpfx)tst-fopenloc-cmp.out and
33202         $(objpfx)tst-fopenloc-mem.out targets.
33203         (tests): Update dependencies.
33204         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33205         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33206         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33207         (tst-rxspencer-no-utf8-ARGS): New variable.
33208         (tst-rxspencer-no-utf8-ENV): Likewise.
33209         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33210         instead of $(objpfx)tst-rxspencer-mem.
33211         ($(objpfx)tst-rxspencer-mem): Change target to
33212         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33213         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33214         * posix/tst-rxspencer-no-utf8.c: New file.
33216         * elf/Makefile ($(objpfx)order.out): Remove rule.
33217         [$(run-built-tests) = yes] (tests): Depend on
33218         $(objpfx)order-cmp.out.
33219         ($(objpfx)order-cmp.out): New rule.
33220         [$(run-built-tests) = yes] (tests): Depend on
33221         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33222         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33223         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33224         $(objpfx)tst-array5-static-cmp.out.
33225         ($(objpfx)tst-array1.out): Remove rule.
33226         ($(objpfx)tst-array1-cmp.out): New rule.
33227         ($(objpfx)tst-array1-static.out): Remove rule.
33228         ($(objpfx)tst-array1-static-cmp.out): New rule.
33229         ($(objpfx)tst-array2.out): Remove rule.
33230         ($(objpfx)tst-array2-cmp.out): New rule.
33231         ($(objpfx)tst-array3.out): Remove rule.
33232         ($(objpfx)tst-array3-cmp.out): New rule.
33233         ($(objpfx)tst-array4.out): Remove rule.
33234         ($(objpfx)tst-array4-cmp.out): New rule.
33235         ($(objpfx)tst-array5.out): Remove rule.
33236         ($(objpfx)tst-array5-cmp.out): New rule.
33237         ($(objpfx)tst-array5-static.out): Remove rule.
33238         ($(objpfx)tst-array5-static-cmp.out): New rule.
33239         [$(run-built-tests) = yes] (tests): Depend on
33240         $(objpfx)order2-cmp.out.
33241         ($(objpfx)order2.out): Remove rule.
33242         ($(objpfx)order2-cmp.out): New rule.
33243         ($(objpfx)tst-initorder.out): Remove rule.
33244         [$(run-built-tests) = yes] (tests): Depend on
33245         $(objpfx)tst-initorder-cmp.out.
33246         ($(objpfx)tst-initorder-cmp.out): New rule.
33247         ($(objpfx)tst-initorder2.out): Remove rule.
33248         [$(run-built-tests) = yes] (tests): Depend on
33249         $(objpfx)tst-initorder2-cmp.out.
33250         ($(objpfx)tst-initorder2-cmp.out): New rule.
33251         [$(run-built-tests) = yes] (tests): Depend on
33252         $(objpfx)tst-unused-dep-cmp.out.
33253         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33254         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33255         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33256         on $(objpfx)tst-setvbuf1-cmp.out.
33257         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33258         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33259         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33260         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33261         ($(objpfx)tst-svc.out): Remove rule.
33262         ($(objpfx)tst-svc-cmp.out): New rule.
33264 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33266         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33267         * ctype/ctype.h [__USE_MISC]: Likewise.
33268         * dirent/dirent.h [__USE_MISC]: Likewise.
33269         * grp/grp.h [__USE_MISC]: Likewise.
33270         * io/fcntl.h [__USE_MISC]: Likewise.
33271         * io/sys/stat.h [__USE_MISC]: Likewise.
33272         * libio/stdio.h [__USE_MISC]: Likewise.
33273         * posix/unistd.h [__USE_MISC]: Likewise.
33274         * pwd/pwd.h [__USE_MISC]: Likewise.
33275         * stdlib.h [__USE_MISC]: Likewise.
33276         * string/bits/string2.h [__USE_MISC]: Likewise.
33277         * string/string.h [__USE_MISC]: Likewise.
33278         * time/time.h [__USE_MISC]: Likewise.
33280 2014-02-13  Andreas Schwab  <schwab@suse.de>
33282         [BZ #16574]
33283         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33284         second answer buffer if it was separately allocated.
33286 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33288         * sysdeps/mips/math-tests.h: Include <features.h>.
33289         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33290         (ROUNDING_TESTS_long_double): Do not define.
33291         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33292         (EXCEPTION_TESTS_long_double): Likewise.
33293         * sysdeps/mips/mips64/libm-test-ulps: Update.
33295         * include/features.h (__USE_BSD): Remove macro definitions.
33296         (__USE_SVID): Likewise.
33297         (_BSD_SOURCE): Likewise.
33298         (_SVID_SOURCE): Likewise.
33299         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33300         from definition of _DEFAULT_SOURCE.
33301         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33302         [_DEFAULT_SOURCE].
33303         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33304         * bits/mman.h [__USE_BSD]: Likewise.
33305         * bits/termios.h [__USE_BSD]: Likewise.
33306         * bits/waitstatus.h [__USE_BSD]: Likewise.
33307         * ctype/ctype.h [__USE_SVID]: Likewise.
33308         * dirent/dirent.h [__USE_BSD]: Likewise.
33309         * grp/grp.h [__USE_SVID]: Likewise.
33310         [__USE_BSD]: Likewise.
33311         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33312         * io/fcntl.h [__USE_BSD]: Likewise.
33313         * io/ftw.h [__USE_BSD]: Likewise.
33314         * io/sys/stat.h [__USE_BSD]: Likewise.
33315         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33316         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33317         * libio/stdio.h [__USE_SVID]: Likewise.
33318         [__USE_BSD]: Likewise.
33319         * math/math.h [__USE_SVID]: Likewise.
33320         [__USE_BSD]: Likewise.
33321         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33322         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33323         * misc/search.h [__USE_SVID]: Likewise.
33324         * misc/sys/mman.h [__USE_BSD]: Likewise.
33325         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33326         * misc/sys/uio.h [__USE_BSD]: Likewise.
33327         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33328         * posix/glob.h [__USE_BSD]: Likewise.
33329         * posix/regex.h [__USE_BSD]: Likewise.
33330         * posix/sys/types.h [__USE_BSD]: Likewise.
33331         [__USE_SVID]: Likewise.
33332         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33333         * posix/sys/wait.h [__USE_BSD]: Likewise.
33334         [__USE_SVID]: Likewise.
33335         * posix/unistd.h [__USE_BSD]: Likewise.
33336         [__USE_SVID]: Likewise.
33337         * pwd/pwd.h [__USE_SVID]: Likewise.
33338         * resolv/netdb.h [__USE_BSD]: Likewise.
33339         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33340         * signal/signal.h [__USE_BSD]: Likewise.
33341         [__USE_SVID]: Likewise.
33342         * socket/sys/socket.h [__USE_BSD]: Likewise.
33343         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33344         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33345         [__USE_SVID]: Likewise.
33346         * string/bits/string2.h [__USE_BSD]: Likewise.
33347         [__USE_SVID]: Likewise.
33348         * string/bits/string3.h [__USE_BSD]: Likewise.
33349         * string/endian.h [__USE_BSD]: Likewise.
33350         * string/string.h [__USE_SVID]: Likewise.
33351         [__USE_BSD]: Likewise.
33352         * string/strings.h [__USE_BSD]: Likewise.
33353         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33354         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33355         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33356         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33357         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33358         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33359         Likewise.
33360         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33361         Likewise.
33362         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33363         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33364         Likewise.
33365         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33366         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33367         Likewise.
33368         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33369         Likewise.
33370         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33371         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33372         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33373         Likewise.
33374         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33375         Likewise.
33376         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33377         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33378         * termios/termios.h [__USE_BSD]: Likewise.
33379         * time/sys/time.h [__USE_BSD]: Likewise.
33380         * time/time.h [__USE_BSD]: Likewise.
33381         [__USE_SVID]: Likewise.
33383         * Makefile (subdir_targets): Remove subdir_lint.out.
33385         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33386         (do-tst-printf): Likewise.
33387         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33388         $(objpfx)tst-printf.out.
33390         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33392         * Makerules (check-abi-%): Change target to
33393         $(objpfx)check-abi-%.out.
33394         (check-abi target): Update dependencies.
33395         (check-abi-pattern variable): Redirect output of diff to $@.
33396         (check-abi variable): Likewise.
33397         * elf/Makefile (check-abi): Update dependencies.
33399         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33400         unused.
33401         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33402         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33403         subnormal range.
33404         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33405         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33406         value has largest subnormal exponent.
33407         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33408         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33409         * sysdeps/aarch64/soft-fp/sfp-machine.h
33410         (_FP_TININESS_AFTER_ROUNDING): New macro.
33411         * sysdeps/alpha/soft-fp/sfp-machine.h
33412         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33413         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33414         Likewise.
33415         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33416         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33417         * sysdeps/mips/soft-fp/sfp-machine.h
33418         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33419         * sysdeps/powerpc/soft-fp/sfp-machine.h
33420         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33421         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33422         Likewise.
33423         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33424         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33425         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33426         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33427         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33428         Likewise.
33430 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33432         [BZ #16545]
33433         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33434         model 1.
33436 2014-02-12  Richard Henderson  <rth@redhat.com>
33438         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33439         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33440         * sysdeps/unix/sysv/linux/alpha: Move directory from
33441         ports/sysdeps/unix/sysv/linux/alpha.
33442         * README: Update listing for alpha-*-linux-gnu.
33444 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33446         * include/features.h: Update comment documenting feature test
33447         macros.
33448         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33449         _DEFAULT_SOURCE.
33450         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33451         (_SVID_SOURCE): Likewise.
33452         (_DEFAULT_SOURCE): Update description of default features.
33453         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33454         with _GNU_SOURCE.
33455         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33456         (S_ISVTX): Likewise.
33457         * manual/math.texi (Mathematical Constants): Likewise.
33458         * manual/signal.texi (Interrupted Primitives): Likewise.
33459         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33460         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33461         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33462         Don't refer to _SVID_SOURCE in warning text.
33464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33466         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33467         already defined.
33468         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33469         * sysdeps/mips/dl-lookup.c: Remove.
33470         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33472 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33474         [BZ #16447]
33475         * math/auto-libm-test-in: Add testcase for expl.
33476         * math/auto-libm-test-out: Regenerate.
33477         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33478         calculation of unsafe.
33479         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33481 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33483         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33484         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33485         ports/sysdeps/unix/sysv/linux/aarch64.
33486         * README: Update listing for aarch64*-*-linux-gnu.
33488 2014-02-11  Will Newton  <will.newton@linaro.org>
33490         * manual/probes.texi (Mathematical Function Probes): Use
33491         "triggered" instead of "hit".
33493         * manual/probes.texi (Internal Probes): Add documentation
33494         of setjmp, longjmp and longjmp_target probes.
33496         * include/stap-probe.h: Add comment about probe argument
33497         format.
33499         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33500         definition.  (tr_where, tr_freehook, tr_mallochook,
33501         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33503 2014-02-11  David S. Miller  <davem@davemloft.net>
33505         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33506         processing int_tests.
33508 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33510         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33511         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33512         * sysdeps/unix/sysv/linux/mips: Move directory from
33513         ports/sysdeps/unix/sysv/linux/mips.
33514         * README: Update listing for mips-*-linux-gnu and
33515         mips64-*-linux-gnu.
33517 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33519         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33520         * sysdeps/unix/sysv/linux/m68k: Move directory from
33521         ports/sysdeps/unix/sysv/linux/m68k.
33522         * README: Update listing for m68k-*-linux-gnu.
33524 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33526         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33527         * sysdeps/unix/sysv/linux/generic: Move directory from
33528         ports/sysdeps/unix/sysv/linux/generic.
33529         * sysdeps/unix/sysv/linux/tile: Move directory from
33530         ports/sysdeps/unix/sysv/linux/tile.
33531         * README: Update listing for tile*-*-linux-gnu.
33533 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33535         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33536         __builtin_expect.
33537         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33538         * catgets/open_catalog.c (__open_catalog): Likewise.
33539         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33540         * debug/confstr_chk.c: Likewise.
33541         * debug/fread_chk.c (__fread_chk): Likewise.
33542         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33543         * debug/getgroups_chk.c: Likewise.
33544         * debug/mbsnrtowcs_chk.c: Likewise.
33545         * debug/mbsrtowcs_chk.c: Likewise.
33546         * debug/mbstowcs_chk.c: Likewise.
33547         * debug/memcpy_chk.c: Likewise.
33548         * debug/memmove_chk.c: Likewise.
33549         * debug/mempcpy_chk.c: Likewise.
33550         * debug/memset_chk.c: Likewise.
33551         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33552         * debug/strcat_chk.c (__strcat_chk): Likewise.
33553         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33554         * debug/strncat_chk.c (__strncat_chk): Likewise.
33555         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33556         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33557         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33558         * debug/wcpncpy_chk.c: Likewise.
33559         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33560         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33561         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33562         * debug/wcsncpy_chk.c: Likewise.
33563         * debug/wcsnrtombs_chk.c: Likewise.
33564         * debug/wcsrtombs_chk.c: Likewise.
33565         * debug/wcstombs_chk.c: Likewise.
33566         * debug/wmemcpy_chk.c: Likewise.
33567         * debug/wmemmove_chk.c: Likewise.
33568         * debug/wmempcpy_chk.c: Likewise.
33569         * debug/wmemset_chk.c: Likewise.
33570         * dirent/scandirat.c (SCANDIRAT): Likewise.
33571         * dlfcn/dladdr1.c (dladdr1): Likewise.
33572         * dlfcn/dladdr.c (dladdr): Likewise.
33573         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33574         * dlfcn/dlerror.c (__dlerror): Likewise.
33575         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33576         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33577         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33578         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33579         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33580         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33581         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33582         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33583         Likewise.
33584         * elf/dl-conflict.c: Likewise.
33585         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33586         * elf/dl-dst.h: Likewise.
33587         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33588         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33589         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33590         * elf/dl-init.c (call_init, _dl_init): Likewise.
33591         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33592         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33593         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33594         Likewise.
33595         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33596         Likewise.
33597         * elf/dl-minimal.c (__libc_memalign): Likewise.
33598         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33599         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33600         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33601         * elf/dl-sym.c (do_sym): Likewise.
33602         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33603         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33604         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33605         * elf/dl-writev.h (_dl_writev): Likewise.
33606         * elf/ldconfig.c (search_dir): Likewise.
33607         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33608         (dl_main): Likewise.
33609         * elf/setup-vdso.h (setup_vdso): Likewise.
33610         * grp/compat-initgroups.c (compat_call): Likewise.
33611         * grp/fgetgrent.c (fgetgrent): Likewise.
33612         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33613         * grp/putgrent.c (putgrent): Likewise.
33614         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33615         Likewise.
33616         * hurd/hurdinit.c: Likewise.
33617         * iconvdata/8bit-gap.c (struct): Likewise.
33618         * iconvdata/ansi_x3.110.c : Likewise.
33619         * iconvdata/big5.c : Likewise.
33620         * iconvdata/big5hkscs.c : Likewise.
33621         * iconvdata/cp1255.c: Likewise.
33622         * iconvdata/cp1258.c : Likewise.
33623         * iconvdata/cp932.c : Likewise.
33624         * iconvdata/euc-cn.c: Likewise.
33625         * iconvdata/euc-jisx0213.c : Likewise.
33626         * iconvdata/euc-jp.c: Likewise.
33627         * iconvdata/euc-jp-ms.c : Likewise.
33628         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33629         * iconvdata/gb18030.c : Likewise.
33630         * iconvdata/gbbig5.c (const): Likewise.
33631         * iconvdata/gbgbk.c: Likewise.
33632         * iconvdata/gbk.c : Likewise.
33633         * iconvdata/ibm1364.c : Likewise.
33634         * iconvdata/ibm930.c : Likewise.
33635         * iconvdata/ibm932.c: Likewise.
33636         * iconvdata/ibm933.c : Likewise.
33637         * iconvdata/ibm935.c : Likewise.
33638         * iconvdata/ibm937.c : Likewise.
33639         * iconvdata/ibm939.c : Likewise.
33640         * iconvdata/ibm943.c: Likewise.
33641         * iconvdata/iso_11548-1.c: Likewise.
33642         * iconvdata/iso-2022-cn.c : Likewise.
33643         * iconvdata/iso-2022-cn-ext.c : Likewise.
33644         * iconvdata/iso-2022-jp-3.c: Likewise.
33645         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33646         * iconvdata/iso-2022-kr.c : Likewise.
33647         * iconvdata/iso646.c (gconv_end): Likewise.
33648         * iconvdata/iso_6937-2.c : Likewise.
33649         * iconvdata/iso_6937.c : Likewise.
33650         * iconvdata/iso8859-1.c: Likewise.
33651         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33652         * iconvdata/shift_jisx0213.c : Likewise.
33653         * iconvdata/sjis.c : Likewise.
33654         * iconvdata/t.61.c : Likewise.
33655         * iconvdata/tcvn5712-1.c : Likewise.
33656         * iconvdata/tscii.c: Likewise.
33657         * iconvdata/uhc.c : Likewise.
33658         * iconvdata/unicode.c (gconv_end): Likewise.
33659         * iconvdata/utf-16.c (gconv_end): Likewise.
33660         * iconvdata/utf-32.c (gconv_end): Likewise.
33661         * iconvdata/utf-7.c (base64): Likewise.
33662         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33663         * iconv/gconv_close.c (__gconv_close): Likewise.
33664         * iconv/gconv_open.c (__gconv_open): Likewise.
33665         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33666         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33667         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33668         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33669         (ucs4le_internal_loop_single): Likewise.
33670         * iconv/iconv.c (iconv): Likewise.
33671         * iconv/iconv_close.c: Likewise.
33672         * iconv/loop.c (SINGLE): Likewise.
33673         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33674         * include/atomic.h: Likewise.
33675         * inet/inet6_option.c (option_alloc): Likewise.
33676         * intl/bindtextdom.c (set_binding_values): Likewise.
33677         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33678         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33679         * intl/localealias.c (read_alias_file): Likewise.
33680         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33681         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33682         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33683         * libio/fmemopen.c (fmemopen): Likewise.
33684         * libio/iofgets.c (_IO_fgets): Likewise.
33685         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33686         * libio/iofgetws.c (fgetws): Likewise.
33687         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33688         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33689         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33690         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33691         * locale/findlocale.c (_nl_find_locale): Likewise.
33692         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33693         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33694         Likewise.
33695         * locale/setlocale.c (setlocale): Likewise.
33696         * login/programs/pt_chown.c (main): Likewise.
33697         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33698         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33699         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33700         (mmap, mmap64, mremap, munmap): Likewise.
33701         * math/e_exp2l.c: Likewise.
33702         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33703         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33704         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33705         * math/s_catan.c (__catan): Likewise.
33706         * math/s_catanf.c (__catanf): Likewise.
33707         * math/s_catanh.c (__catanh): Likewise.
33708         * math/s_catanhf.c (__catanhf): Likewise.
33709         * math/s_catanhl.c (__catanhl): Likewise.
33710         * math/s_catanl.c (__catanl): Likewise.
33711         * math/s_ccosh.c (__ccosh): Likewise.
33712         * math/s_ccoshf.c (__ccoshf): Likewise.
33713         * math/s_ccoshl.c (__ccoshl): Likewise.
33714         * math/s_cexp.c (__cexp): Likewise.
33715         * math/s_cexpf.c (__cexpf): Likewise.
33716         * math/s_cexpl.c (__cexpl): Likewise.
33717         * math/s_clog10.c (__clog10): Likewise.
33718         * math/s_clog10f.c (__clog10f): Likewise.
33719         * math/s_clog10l.c (__clog10l): Likewise.
33720         * math/s_clog.c (__clog): Likewise.
33721         * math/s_clogf.c (__clogf): Likewise.
33722         * math/s_clogl.c (__clogl): Likewise.
33723         * math/s_csin.c (__csin): Likewise.
33724         * math/s_csinf.c (__csinf): Likewise.
33725         * math/s_csinh.c (__csinh): Likewise.
33726         * math/s_csinhf.c (__csinhf): Likewise.
33727         * math/s_csinhl.c (__csinhl): Likewise.
33728         * math/s_csinl.c (__csinl): Likewise.
33729         * math/s_csqrt.c (__csqrt): Likewise.
33730         * math/s_csqrtf.c (__csqrtf): Likewise.
33731         * math/s_csqrtl.c (__csqrtl): Likewise.
33732         * math/s_ctan.c (__ctan): Likewise.
33733         * math/s_ctanf.c (__ctanf): Likewise.
33734         * math/s_ctanh.c (__ctanh): Likewise.
33735         * math/s_ctanhf.c (__ctanhf): Likewise.
33736         * math/s_ctanhl.c (__ctanhl): Likewise.
33737         * math/s_ctanl.c (__ctanl): Likewise.
33738         * math/w_pow.c: Likewise.
33739         * math/w_powf.c: Likewise.
33740         * math/w_powl.c: Likewise.
33741         * math/w_scalb.c (sysv_scalb): Likewise.
33742         * math/w_scalbf.c (sysv_scalbf): Likewise.
33743         * math/w_scalbl.c (sysv_scalbl): Likewise.
33744         * misc/error.c (error_tail): Likewise.
33745         * misc/pselect.c (__pselect): Likewise.
33746         * nis/nis_callback.c (__nis_create_callback): Likewise.
33747         * nis/nis_call.c (__nisfind_server): Likewise.
33748         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33749         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33750         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33751         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33752         * nis/nis_lookup.c (nis_lookup): Likewise.
33753         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33754         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33755         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33756         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33757         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33758         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33759         * nis/nss_compat/compat-initgroups.c (add_group)
33760         (internal_getgrent_r): Likewise.
33761         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33762         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33763         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33764         (internal_getspnam_r): Likewise.
33765         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33766         (_nss_nis_getaliasbyname_r): Likewise.
33767         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33768         (_nss_nis_getntohost_r): Likewise.
33769         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33770         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33771         (_nss_nis_getgrgid_r): Likewise.
33772         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33773         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33774         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33775         (_nss_nis_gethostbyname4_r): Likewise.
33776         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33777         (initgroups_netid): Likewise.
33778         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33779         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33780         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33781         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33782         (_nss_nis_getprotobynumber_r): Likewise.
33783         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33784         (_nss_nis_getsecretkey): Likewise.
33785         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33786         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33787         (_nss_nis_getpwuid_r): Likewise.
33788         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33789         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33790         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33791         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33792         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33793         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33794         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33795         Likewise.
33796         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33797         (_nss_nisplus_getntohost_r): Likewise.
33798         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33799         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33800         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33801         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33802         Likewise.
33803         * nis/nss_nisplus/nisplus-initgroups.c
33804         (_nss_nisplus_initgroups_dyn): Likewise.
33805         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33806         (_nss_nisplus_getnetbyaddr_r): Likewise.
33807         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33808         (_nss_nisplus_getprotobynumber_r): Likewise.
33809         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33810         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33811         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33812         Likewise.
33813         * nis/nss_nisplus/nisplus-service.c
33814         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33815         (_nss_nisplus_getservbyport_r): Likewise.
33816         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33817         (_nss_nisplus_getspnam_r): Likewise.
33818         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33819         Likewise.
33820         * nscd/aicache.c (addhstaiX): Likewise.
33821         * nscd/cache.c (cache_search, prune_cache): Likewise.
33822         * nscd/connections.c (register_traced_file, send_ro_fd)
33823         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33824         (main_loop_epoll): Likewise.
33825         * nscd/grpcache.c (addgrbyX): Likewise.
33826         * nscd/hstcache.c (addhstbyX): Likewise.
33827         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33828         * nscd/mem.c (gc, mempool_alloc): Likewise.
33829         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33830         (addinnetgrX): Likewise.
33831         * nscd/nscd-client.h (__nscd_acquire_maplock)
33832         (__nscd_drop_map_ref): Likewise.
33833         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33834         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33835         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33836         Likewise.
33837         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33838         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33839         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33840         (__nscd_get_map_ref): Likewise.
33841         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33842         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33843         Likewise.
33844         * nscd/pwdcache.c (addpwbyX): Likewise.
33845         * nscd/selinux.c (preserve_capabilities): Likewise.
33846         * nscd/servicescache.c (addservbyX): Likewise.
33847         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33848         * posix/fnmatch.c (fnmatch): Likewise.
33849         * posix/getopt.c (_getopt_internal_r): Likewise.
33850         * posix/glob.c (glob, glob_in_dir): Likewise.
33851         * posix/wordexp.c (exec_comm_child): Likewise.
33852         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33853         (getanswer_r, gaih_getanswer_slice): Likewise.
33854         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33855         * resolv/res_init.c: Likewise.
33856         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33857         * resolv/res_query.c (__libc_res_nquery): Likewise.
33858         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33859         Likewise.
33860         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33861         * stdio-common/perror.c (perror): Likewise.
33862         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33863         * stdio-common/tmpnam.c (tmpnam): Likewise.
33864         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33865         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33866         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33867         Likewise.
33868         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33869         * stdlib/putenv.c (putenv): Likewise.
33870         * stdlib/setenv.c (__add_to_environ): Likewise.
33871         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33872         * stdlib/strtol_l.c (INTERNAL): Likewise.
33873         * string/memmem.c (memmem): Likewise.
33874         * string/strerror.c (strerror): Likewise.
33875         * string/strnlen.c (__strnlen): Likewise.
33876         * string/test-memmem.c (simple_memmem): Likewise.
33877         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33878         * sunrpc/pm_getport.c (__get_socket): Likewise.
33879         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33880         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33881         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33882         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33883         Likewise.
33884         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33885         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33886         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33887         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33888         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33889         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33890         Likewise.
33891         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33892         Likewise.
33893         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33894         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33896         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33897         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33899         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33900         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33901         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33902         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33903         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33904         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33905         Likewise.
33906         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33907         Likewise.
33908         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33909         Likewise.
33910         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33912         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33913         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33914         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33915         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33916         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33917         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33918         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33919         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33920         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33921         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33922         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33923         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33925         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33926         Likewise.
33927         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33928         Likewise.
33929         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33930         Likewise.
33931         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33932         Likewise.
33933         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33934         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33935         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33936         Likewise.
33937         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33938         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33939         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33940         * sysdeps/posix/sleep.c: Likewise.
33941         * sysdeps/posix/tempname.c: Likewise.
33942         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33943         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33944         Likewise.
33945         * sysdeps/powerpc/powerpc32/dl-machine.h
33946         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33947         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33948         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33949         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33950         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33951         Likewise.
33952         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33953         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33954         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33955         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33956         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33957         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33958         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33959         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33960         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33961         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33963         (elf_machine_lazy_rel): Likewise.
33964         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33966         (elf_machine_lazy_rel): Likewise.
33967         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33968         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33969         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33970         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33971         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33972         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33973         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33974         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33975         Likewise.
33976         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33977         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33978         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33979         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33980         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33981         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33982         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33983         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33984         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33985         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33986         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33987         Likewise.
33988         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33989         (__posix_fallocate64_l64): Likewise.
33990         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33991         (posix_fallocate): Likewise.
33992         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33993         Likewise.
33994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33995         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33996         (getifaddrs_internal): Likewise.
33997         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33998         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33999         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34000         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34001         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34002         (__posix_fallocate64_l64): Likewise.
34003         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34004         Likewise.
34005         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34006         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34007         (__get_clockfreq): Likewise.
34008         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34009         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34010         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34012         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34013         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34014         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34015         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34016         Likewise.
34017         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34018         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34019         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34020         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34021         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34022         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34023         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34024         Likewise.
34025         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34026         (posix_fallocate): Likewise.
34027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34028         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34029         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34030         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34031         (elf_machine_rela, elf_machine_rela_relative)
34032         (elf_machine_lazy_rel): Likewise.
34033         * time/asctime.c (asctime_internal): Likewise.
34034         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34035         * time/tzset.c (__tzset_parse_tz): Likewise.
34036         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34037         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34038         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34039         * wcsmbs/wcsmbsload.h: Likewise.
34041         [BZ #15894]
34042         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34044         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34045         (arena_get2): Remove THREAD_STATS conditionals.
34046         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34047         (__malloc_stats, int): Likewise.
34049 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34051         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34052         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34054         * manual/setjmp.texi: Fix typos/grammar errors.
34056         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34057         Only return early when n is <= 0.  Delete unused return statement.
34059         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34060         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34061         * debug/tst-longjmp_chk3.c: New file.
34063         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34064         (test_main): Replace code with set_fortify_handler call.
34065         * debug/test-strcpy_chk.c: Likewise.
34066         * debug/tst-chk1.c: Likewise.
34067         * debug/tst-longjmp_chk.c: Likewise.
34068         * test-skeleton.c: Include fcntl.h & paths.h
34069         (set_fortify_handler): Define.
34071         * debug/tst-longjmp_chk.c: Add header comment and include
34072         ../test-skeleton.c.
34073         (do_test): Mark static.
34074         (TEST_FUNCTION): Define.
34076         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34077         (IP_PMTUDISC_INTERFACE): Likewise.
34078         (IP_MULTICAST_IF): Likewise.
34079         (IP_MULTICAST_TTL): Likewise.
34080         (IP_MULTICAST_LOOP): Likewise.
34081         (IP_ADD_MEMBERSHIP): Likewise.
34082         (IP_DROP_MEMBERSHIP): Likewise.
34083         (IP_UNBLOCK_SOURCE): Likewise.
34084         (IP_BLOCK_SOURCE): Likewise.
34085         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34086         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34087         (IP_MSFILTER): Likewise.
34088         (MCAST_JOIN_GROUP): Likewise.
34089         (MCAST_BLOCK_SOURCE): Likewise.
34090         (MCAST_UNBLOCK_SOURCE): Likewise.
34091         (MCAST_LEAVE_GROUP): Likewise.
34092         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34093         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34094         (MCAST_MSFILTER): Likewise.
34095         (IP_MULTICAST_ALL): Likewise.
34096         (IP_UNICAST_IF): Likewise.
34098         * timezone/Makefile: Delete $(have-ksh) check.
34099         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34100         * timezone/tzselect.ksh: Add +x mode bits.
34102         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34103         (ANON_INODE_FS_MAGIC): Likewise.
34104         (BDEVFS_MAGIC): Likewise.
34105         (BINFMTFS_MAGIC): Likewise.
34106         (BTRFS_TEST_MAGIC): Likewise.
34107         (CRAMFS_MAGIC_WEND): Likewise.
34108         (DEBUGFS_MAGIC): Likewise.
34109         (ECRYPTFS_SUPER_MAGIC): Likewise.
34110         (EXT3_SUPER_MAGIC): Likewise.
34111         (EXT4_SUPER_MAGIC): Likewise.
34112         (FUTEXFS_SUPER_MAGIC): Likewise.
34113         (HOSTFS_SUPER_MAGIC): Likewise.
34114         (HUGETLBFS_MAGIC): Likewise.
34115         (MINIX3_SUPER_MAGIC): Likewise.
34116         (MTD_INODE_FS_MAGIC): Likewise.
34117         (NILFS_SUPER_MAGIC): Likewise.
34118         (OPENPROM_SUPER_MAGIC): Likewise.
34119         (PIPEFS_MAGIC): Likewise.
34120         (PSTOREFS_MAGIC): Likewise.
34121         (QNX6_SUPER_MAGIC): Likewise.
34122         (RAMFS_MAGIC): Likewise.
34123         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34124         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34125         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34126         (SECURITYFS_MAGIC): Likewise.
34127         (SELINUX_MAGIC): Likewise.
34128         (SMACK_MAGIC): Likewise.
34129         (SOCKFS_MAGIC): Likewise.
34130         (SQUASHFS_MAGIC): Likewise.
34131         (STACK_END_MAGIC): Likewise.
34132         (TMPFS_MAGIC): Likewise.
34133         (USBDEVICE_SUPER_MAGIC): Likewise.
34134         (V9FS_MAGIC): Likewise.
34135         (XENFS_SUPER_MAGIC): Likewise.
34136         (CRAMFS_MAGIC): Fix typo in comment.
34137         (EXT2_SUPER_MAGIC): Update comment.
34138         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34140 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34142         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34143         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34144         * sysdeps/unix/sysv/linux/arm: Move directory from
34145         ports/sysdeps/unix/sysv/linux/arm.
34146         * README: Update listing for arm-*-linux-gnueabi.
34148         * README: Remove mention of am33.
34150 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34152         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34153         than the comma operator, to avoid "rhs of comma has no effect"
34154         compiler warnings.
34155         (__sigfillset, __sigandset, __sigorset): Likewise.
34156         * include/signal.h (__sigemptyset): Likewise.
34157         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34159 2014-02-07  Allan McRae  <allan@archlinux.org>
34161         * version.h (RELEASE): Set to "development".
34162         (VERSION): Set to "2.19.90"
34163         * NEWS: Add 2.20 section.
34165 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34167         [BZ #16529]
34168         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34170 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34172         * manual/contrib.texi: Update entry for Carlos O'Donell,
34173         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34175 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34177         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34179         * sysdeps/unix/sysv/linux/kernel-features.h
34180         [__LINUX_KERNEL_VERSION >= 0x020621]
34181         (__ASSUME_PROC_PID_TASK_COMM): Define.
34183 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34185         [BZ #16398]
34186         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34187         conversion when destination buffer does not have enough space.
34188         * libio/tst-ftell-partial-wide.c: New test case.
34189         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34191         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34192         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34193         Leonard and Allan McRae.
34195 2014-02-04  David S. Miller  <davem@davemloft.net>
34197         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34198         32-bit.
34200 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34203         New file
34204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34205         New file
34206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34207         New file.
34208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34209         New file.
34210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34211         New file.
34212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34213         New file.
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34215         New file.
34216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34217         New file.
34218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34219         New file.
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34221         New file.
34222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34223         New file.
34224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34225         New file.
34226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34227         New file.
34229 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34231         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34232         * shlib-versions: Likewise.
34234 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34235             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34237         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34238         (abilist-pattern): New variable, set to %-le.abilist.
34240         * Makerules (abilist-pattern): New variable.
34241         (vpath): Use $(abilist-pattern) in place of %.abilist.
34242         (check-abi-% pattern rule): Likewise.
34243         (check-abi, update-abi): Likewise.
34245 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34249 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34251         * manual/startup.texi: Add next, previous, and top entries for
34252         the `Program Arguments' and `Environment Variables' nodes.
34254 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34256         * manual/macros.texi: Add comments before MTASC-safety macros.
34258         * manual/users.texi: Document MTASC-safety properties.
34260         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34261         (pthread_getspecific, pthread_setspecific): Format with
34262         @deftypefun, and add @safety note.
34263         * manual/signal.texi: Move comments that analyze the above
34264         functions to their home place.
34266 2014-02-03  Allan McRae  <allan@archlinux.org>
34268         * po/sl.po: Update Slovenian translation from translation project.
34270 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34272         * manual/time.texi (timegm): Add missing blank after @c.
34273         Reported by Joseph Myers <joseph@codesourcery.com>.
34275 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34277         * manual/check-safety.sh: New.
34278         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34280         * manual/terminal.texi: Document MTASC-safety properties.
34282         * manual/filesys.texi: Document MTASC-safety properties.
34284         * manual/errno.texi: Document MTASC-safety properties.
34286         * manual/intro.texi: Document safety identifiers and
34287         conditionals.
34289         * manual/string.texi (wcstok): Fix prototype.
34290         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34292         * manual/time.texi: Document MTASC-safety properties.
34294         * manual/string.texi: Document MTASC-safety properties.
34296         * manual/threads.texi: Document MTASC-safety properties.
34298         * manual/stdio.texi: Document MTASC-safety properties.
34300         * manual/syslog.texi: Document MTASC-safety properties.
34302         * manual/sysinfo.texi: Document MTASC-safety properties.
34304         * manual/startup.texi: Document MTASC-safety properties.
34306         * manual/socket.texi: Document MTASC-safety properties.
34308         * manual/signal.texi: Document MTASC-safety properties.
34310 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34312         * manual/setjmp.texi: Document MTASC-safety properties.
34314         * manual/search.texi: Document MTASC-safety properties.
34316         * manual/resource.texi: Document MTASC-safety properties.
34318         * manual/process.texi: Document MTASC-safety properties.
34320         * manual/platform.texi: Document MTASC-safety properties.
34322         * manual/pipe.texi: Document MTASC-safety properties.
34324         * manual/pattern.texi: Document MTASC-safety properties.
34326         * manual/message.texi: Document MTASC-safety properties.
34328         [BZ #12751]
34329         * manual/memory.texi: Document MTASC-safety properties.
34331         * manual/math.texi: Document MTASC-safety properties.
34333         * manual/locale.texi: Document MTASC-safety properties.
34335         * manual/llio.texi: Document MTASC-safety properties.
34337         * manual/libdl.texi: New.
34339         * manual/lang.texi: Document MTASC-safety properties.
34341         * manual/job.texi: Document MTASC-safety properties.
34343         * manual/getopt.texi: Document MTASC-safety properties.
34345         * manual/ctype.texi: Document MTASC-safety properties.
34347 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34349         [BZ #16046]
34350         * csu/libc-tls.c (static_map): Remove variable.
34351         (__libc_setup_tls): Use main executable's link map for TLS data.
34352         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34353         casing for LM_ID_BASE and GL(dl_nns).
34354         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34355         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34356         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34357         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34358         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34359         member.
34360         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34361         l_phnum members.
34363 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34365         * manual/debug.texi: Document MTASC-safety properties.
34367 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34369         [BZ #16510]
34370         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34371         of __x86_64__ when disabling x87 inline functions.
34373 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34375         * manual/charset.texi: Document MTASC-safety properties.
34377         * manual/crypt.texi: Document MTASC-safety properties.
34379         * manual/conf.texi: Document MTASC-safety properties.
34381         * manual/arith.texi: Document MTASC-safety properties.
34383         * manual/argp.texi: Document MTASC-safety properties.
34385         * manual/macros.texi: Introduce macros to document multi
34386         thread, asynchronous signal and asynchronous cancellation
34387         safety properties.
34388         * manual/intro.texi: Introduce the properties themselves.
34390 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34392         * sysdeps/sh/sh4/Makefile: New file.
34394 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34396         * math/gen-libm-test.pl ($srcdir): New variable.
34397         ($auto_input): Use it.
34399 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34401         [BZ #16506]
34402         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34403         access beyond array bounds when parsing netgroups file.
34405         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34406         the old buffer before realloc.
34408 2014-01-27  Allan McRae  <allan@archlinux.org>
34410         * po/fr.po: Update French translation from translation project.
34412 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34414         * sysdeps/sh/libm-test-ulps: Regenerate.
34416 2014-01-24  David S. Miller  <davem@davemloft.net>
34418         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34420 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34422         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34423         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34425 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34427         [BZ #16474]
34428         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34429         string pointers after reallocation.
34431 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34433         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34434         __SH4A__ instead of __SH_FPU_ANY__.
34436 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34438         * sysdeps/sh/fpu_control.h: New file.
34439         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34440         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34441         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34442         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34443         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34444         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34445         * sysdeps/sh/sys/ucontext.h: Remove.
34446         * sysdeps/sh/sys: Remove directory.
34448 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34450         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34451         s390/sys/ucontext.h.
34452         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34453         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34455 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34457         [BZ #15605]
34458         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34460 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34462         [BZ#16431]
34463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34464         Adjust the vDSO correctly for internal calls.
34465         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34467 2014-01-20  Allan McRae  <allan@archlinux.org>
34469         * po/ca.po: Update Catalan translation from translation project.
34471 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34473         * sysdeps/s390/sotruss-lib.c: New file.
34475 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34477         [BZ#16430]
34478         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34479         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34480         local calls issues by not having a PLT stub required for IFUNC calls.
34481         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34483 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34485         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34486         * math/test-fpucw-static.c: Likewise.
34488 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34490         [BZ #16453]
34491         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34493 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34495         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34496         implementation for powerpc.
34498 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34500         [BZ #14782]
34501         * sysdeps/posix/system.c (__libc_system): Do not enable
34502         asynchronous cancellation.
34504 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34506         [BZ #16427]
34507         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34508         handling only for numbers special also in the IEEE case.
34510 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34512         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34514 2014-01-11  Allan McRae  <allan@archlinux.org>
34516         * po/bg.po: Update Bulgarian translation from translation project.
34518         * po/de.po: Update German translation from translation project.
34520 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34522         * sysdeps/generic/gcc-compat.h: New file.
34524 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34526         * benchtests/asin-inputs: Correct slow inputs.
34527         * benchtests/acos-inputs: Likewise.
34529 2014-01-10  Allan McRae  <allan@archlinux.org>
34531         * po:sv.po: Update Swedish translation from translation project.
34533         * po/vi.po: Update Vietnamese translation from translation project.
34535         * po/eo.po: Update Esperanto translation from translation project.
34537         * po/cs.po: Update Czech translation from translation project.
34539         * po/nl.po: Update Dutch translation from translation project.
34541         * po/pl.po: Update Polish translation from translation project.
34543         * po/ru.po: Update Russian translation from translation project.
34545         * po/uk.po: Update Ukrainian translation from translation project.
34547 2014-01-08  Brooks Moses  <bmoses@google.com>
34549         * elf/dl-load.c: Fix comment typo.
34551 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34553         * po/header.pot: Rename to...
34554         * po/pot.header: ... this.
34555         * po/Makefile: Use pot.header.
34557 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34558             Maxim Kuvyrkov  <maxim@kugelworks.com>
34560         [BZ #16394]
34561         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34562         SRC and DEST against LEN.
34564 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34566         [BZ #16414]
34567         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34568         implementation.
34569         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34571 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34575 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34577         [BZ #16408]
34578         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34579         for large positive arguments.
34581 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34583         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34585         * math/auto-libm-test-in: Mark various tests with
34586         xfail-rounding:ldbl-128ibm.
34587         * math/auto-libm-test-out: Regenerated.
34589         [BZ #16407]
34590         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34591         Increase overflow threshold.
34593 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34595         [BZ #14286]
34596         * stdio-common/vfprintf.c: Check for integer overflow.
34598 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34600         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34601         the first argument and return value of __tls_get_addr_internal.
34603 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34605         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34606         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34608 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34610         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34611         * sysdeps/s390/rtld-global-offsets.sym: New file.
34612         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34613         GLIBC_2.19 symbol.
34614         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34615         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34616         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34617         ... this.
34618         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34619         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34620         ... this.
34621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34622         Regenerate.
34623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34624         Regenerate.
34625         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34626         halfs of GPRs for high_gprs contexts.
34627         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34628         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34629         field.
34630         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34631         uc_flags field.
34632         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34633         64 bit versions:
34634         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34635         for high GPRs (uc_high_gprs) and for future extensions
34636         (__reserved).
34637         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34638         for future extensions (__reserved).
34639         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34640         64 bit versions:
34641         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34642         SC_HIGHGPRS offset definition.
34643         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34644         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34646         * Versions.def: Add GLIBC_2.19 for libpthread.
34647         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34648         siglongjmp for libpthread with GLIBC_2.19 symver.
34649         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34650         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34651         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34652         * sysdeps/s390/__longjmp.c: New file.
34653         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34654         * sysdeps/s390/longjmp.c: New file.
34655         * sysdeps/s390/setjmp.S: New file.
34656         * sysdeps/s390/sigjmp.S: New file.
34657         * sysdeps/s390/v1-longjmp.c: New file.
34658         * sysdeps/s390/v1-setjmp.h: New file.
34659         * sysdeps/s390/v1-sigjmp.c: New file.
34660         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34661         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34662         GLIBC_2.19 version.
34663         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34664         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34665         versioned symbols for ____longjmp_chk.
34666         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34667         Likewise.
34668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34669         Regenerate.
34670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34671         Regenerate.
34672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34673         Regenerate.
34674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34675         Regenerate.
34676         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34677         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34678         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34679         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34680         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34681         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34682         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34683         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34684         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34685         * sysdeps/s390/rtld-__longjmp.c: New file.
34686         * sysdeps/s390/rtld-setjmp.S: New file.
34688 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34690         [BZ #16400]
34691         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34692         Return -__logl (x) for small positive arguments without evaluating
34693         a polynomial.
34695 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34697         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34698         Rename to ...
34699         (__ptrace_peeksiginfo_args): ... this.
34700         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34701         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34702         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34704 2014-01-06  Allan McRae  <allan@archlinux.org>
34706         * inet/netinet/in.h: Fix typo in comment.
34708 2014-01-05  Andreas Jaeger  <aj@suse.de>
34710         * sysdeps/i386/fpu/libm-test-ulps: Update.
34712 2014-01-05  Allan McRae  <allan@archlinux.org>
34714         * po/libc.pot: Regenerated.
34716         * malloc/memusagestat.c: Fix gettext call formatting.
34718 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34720         * nscd/nscd.c: Improve usage() output.
34722 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34724         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34725         * sysdeps/unix/sysv/linux/configure: Regenerated.
34726         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34727         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34729 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34731         [BZ #16390]
34732         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34733         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34735 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34738         extra tokens at end of #undef directive.
34739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34740         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34741         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34743 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34745         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34747         * math/auto-libm-test-in: Mark various tests with
34748         xfail-rounding:ldbl-128ibm.
34749         * math/auto-libm-test-out: Regenerated.
34751 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34753         [BZ #16386]
34754         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34755         numbers with subnormal high part when calculating exponent.
34757         [BZ #16385]
34758         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34759         fabs.
34761         [BZ #16384]
34762         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34763         M_LN2l.
34764         (__ieee754_acoshl): Use __log1pl not __log1p.
34766 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34768         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34769         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34770         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34771         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34772         (reused_arena, arena_get2): Convert to GNU style.
34773         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34774         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34775         (memalign_check, __malloc_set_state): Likewise.
34776         * malloc/mallocbug.c (main): Likewise.
34777         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34778         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34779         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34780         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34781         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34782         (__posix_memalign, malloc_info): Likewise.
34783         * malloc/malloc.h: Likewise.
34784         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34785         (mallochook, memalignhook, reallochook, mabort): Likewise.
34786         * malloc/mcheck.h: Likewise.
34787         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34788         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34789         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34790         * malloc/morecore.c (__default_morecore): Likewise.
34791         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34792         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34793         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34794         (print_and_abort): Likewise.
34795         * malloc/obstack.h: Likewise.
34796         * malloc/set-freeres.c (__libc_freeres): Likewise.
34797         * malloc/tst-mallocstate.c (main): Likewise.
34798         * malloc/tst-mtrace.c (main): Likewise.
34799         * malloc/tst-realloc.c (do_test): Likewise.
34801 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34803         [BZ #16366]
34804         * nscd/netgroupcache.c (do_notfound): New function.
34805         (addgetnetgrentX): Use it.
34807         [BZ # 16365]
34808         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34809         NSS_STATUS_NOTFOUND.
34811 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34813         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34816 2014-01-01  Allan McRae  <allan@archlinux.org>
34818         * scripts/update-copyrights: Update configure input file suffix.
34820         * NEWS: Update copyright year.
34821         * catgets/gencat.c: Likewise.
34822         * csu/version.c: Likewise.
34823         * debug/catchsegv.sh: Likewise.
34824         * debug/pcprofiledump.c: Likewise.
34825         * debug/xtrace.sh: Likewise.
34826         * elf/ldconfig.c: Likewise.
34827         * elf/ldd.bash.in: Likewise.
34828         * elf/pldd.c: Likewise.
34829         * elf/sotruss.ksh: Likewise.
34830         * elf/sprof.c: Likewise.
34831         * iconv/iconv_prog.c: Likewise.
34832         * iconv/iconvconfig.c: Likewise.
34833         * locale/programs/locale.c: Likewise.
34834         * locale/programs/localedef.c: Likewise.
34835         * login/programs/pt_chown.c: Likewise.
34836         * malloc/memusage.sh: Likewise.
34837         * malloc/memusagestat.c: Likewise.
34838         * malloc/mtrace.pl: Likewise.
34839         * manual/libc.texinfo: Likewise.
34840         * nscd/nscd.c: Likewise.
34841         * nss/getent.c: Likewise.
34842         * nss/makedb.c: Likewise.
34843         * posix/getconf.c: Likewise.
34844         * scripts/test-installation.pl: Likewise.
34846         * All files with FSF copyright notices: Update copyright dates
34847         using scripts/update-copyrights.
34848         * intl/plural.c: Regenerated.
34849         * locale/programs/charmap-kw.h: Likewise.
34850         * locale/programs/locfile-kw.h: Likewise.
34852 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34854         * sysdeps/unix/sysv/linux/configure: Regenerated.
34855         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34856         the linux/fanotify.h header.
34857         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34858         HAVE_LINUX_FANOTIFY_H is defined.
34860 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34862         * benchtests/cos-inputs: New inputs.
34863         * benchtests/sin-inputs: Likewise.
34865         * benchtests/atan-inputs: New inputs. Fix name of multiple
34866         precision fallback inputs.
34868         * benchtests/atanh-inputs: New inputs.
34869         * benchtests/tanh-inputs: Likewise.
34871         * benchtests/acosh-inputs: New inputs.
34872         * benchtests/asinh-inputs: Likewise.
34874         * benchtests/cosh-inputs: New inputs.
34875         * benchtests/sinh-inputs: Likewise.
34877         * benchtests/acos-inputs: Add more inputs.
34878         * benchtests/asin-inputs: Likewise.
34880 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34882         [BZ #16375]
34883         * manual/arith.texi: Fix spelling.
34884         * manual/charset.texi: Likewise.
34885         * manual/errno.texi: Likewise.
34886         * manual/filesys.texi: Likewise.
34887         * manual/lang.texi: Likewise.
34888         * manual/llio.texi: Likewise.
34889         * manual/locale.texi: Likewise.
34890         * manual/message.texi: Likewise.
34891         * manual/resource.texi: Likewise.
34892         * manual/search.texi: Likewise.
34893         * manual/setjmp.texi: Likewise.
34894         * manual/stdio.texi: Likewise.
34895         * manual/string.texi: Likewise.
34896         * manual/sysinfo.texi: Likewise.
34897         * manual/time.texi: Likewise.
34899 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34901         * po/sl.po: New file.
34903 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34905         * .gitignore: Add core/.gdbinit/.gdb_history.
34907 2013-12-27  Allan McRae  <allan@archlinux.org>
34909         [BZ #16369]
34910         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34911         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34913 2013-12-24  Brooks Moses  <bmoses@google.com>
34915         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34916         all compilers that claim C++98 compliance, not just GCC.
34917         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34918         Likewise.
34920 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34922         * NEWS: Restore accidentally deleted bug-fix entries.
34924 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34925             Ondřej Bílka  <neleai@seznam.cz>
34927         [BZ #15073]
34928         * malloc/malloc.c (_int_free): Perform sanity check only if we
34929         have_lock.
34931 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34933         [BZ #12986]
34934         * manual/stdio.texi (String Input Conversions): Clarify that character
34935         classes are not supported.
34937 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34941 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34943         [BZ #16337]
34944         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34945         Calculate results for small negative arguments directly rather
34946         than using reflection formula with special underflow handling.
34948         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34949         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34950         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34951         (fchflags): Likewise.
34952         (revoke): Likewise.
34953         (setlogin): Likewise.
34954         (sigaltstack): Likewise.
34955         (wait4): Likewise.
34956         (sigblock): Remove.
34957         (sigsetmask): Likewise.
34958         (wait3): Likewise.
34959         (waitpid): Likewise.
34960         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34961         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34962         file.
34963         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34964         * sysdeps/unix/bsd/Makefile: ... here.
34965         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34966         * sysdeps/unix/bsd/Versions: ... here.
34967         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34968         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34969         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34970         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34971         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34972         * sysdeps/unix/bsd/sigblock.c: ... here.
34973         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34974         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34975         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34976         * sysdeps/unix/bsd/sigvec.c: ... here.
34977         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34978         * sysdeps/unix/bsd/tcdrain.c: ... here.
34979         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34980         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34981         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34982         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34983         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34984         * sysdeps/unix/bsd/wait.c: ... here.
34985         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34986         * sysdeps/unix/bsd/wait3.c: ... here.
34987         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34988         * sysdeps/unix/bsd/waitpid.c: ... here.
34990 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34992         [BZ #16356]
34993         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34994         round-to-nearest for [!USE_AS_EXPM1L].
34995         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34996         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34997         more tests of exp and exp10.  Expect some exp10 tests to miss
34998         exceptions or fail in directed rounding modes.
34999         * math/auto-libm-test-out: Regenerated.
35000         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35001         (exp10_test_tonearest): New function.
35002         (exp10_towardzero_test_data): New array.
35003         (exp10_test_towardzero): New function.
35004         (exp10_downward_test_data): New array.
35005         (exp10_test_downward): New function.
35006         (exp10_upward_test_data): New array.
35007         (exp10_test_upward): New function.
35008         (main): Call the new functions.
35009         * sysdeps/i386/fpu/libm-test-ulps: Update.
35010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35012 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35014         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35015         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35016         * math/auto-libm-test-out: Regenerated.
35017         * math/libm-test.inc (acosh_test_data): Add more tests.
35018         (atanh_test_data): Likewise.
35019         (ceil_test_data): Likewise.
35020         (copysign_test_data): Likewise.
35021         * sysdeps/i386/fpu/libm-test-ulps: Update.
35022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35024         * timezone/checktab.awk: Update from tzcode 2013i.
35025         * timezone/private.h: Likewise.
35026         * timezone/scheck.c: Likewise.
35027         * timezone/tzfile.h: Likewise.
35028         * timezone/tzselect.ksh: Likewise.
35029         * timezone/zdump.c: Likewise.
35030         * timezone/zic.c: Likewise.
35032         * math/auto-libm-test-in: Add tests of cpow.
35033         * math/auto-libm-test-out: Regenerated.
35034         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35035         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35036         mpc_cc_c.
35037         (func_calc_desc): Add mpc_cc_c union field.
35038         (test_functions): Add cpow.
35039         (special_fill_2pi): New function.
35040         (special_real_inputs): Add 2pi.
35041         (calc_generic_results): Handle mpc_cc_c.
35042         * sysdeps/i386/fpu/libm-test-ulps: Update.
35043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35045         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35046         csqrt, ctan and ctanh.
35047         * math/auto-libm-test-out: Regenerated.
35048         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35049         (TEST_COND_x86): Likewise.
35050         (ccos_test_data): Use AUTO_TESTS_c_c.
35051         (ccosh_test_data): Likewise.
35052         (cexp_test_data): Likewise.
35053         (clog_test_data): Likewise.
35054         (csqrt_test_data): Likewise.
35055         (ctan_test_data): Likewise.
35056         (ctan_tonearest_test_data): Likewise.
35057         (ctan_towardzero_test_data): Likewise.
35058         (ctan_downward_test_data): Likewise.
35059         (ctan_upward_test_data): Likewise.
35060         (ctanh_test_data): Likewise.
35061         (ctanh_tonearest_test_data): Likewise.
35062         (ctanh_towardzero_test_data): Likewise.
35063         (ctanh_downward_test_data): Likewise.
35064         (ctanh_upward_test_data): Likewise.
35065         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35066         mpc_c_c.
35067         (func_calc_desc): Add mpc_c_c union field.
35068         (FUNC_mpc_c_c): New macro.
35069         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35070         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35071         ctanh.
35072         (special_fill_min_subnorm_p120): New function.
35073         (special_real_inputs): Add min_subnorm_p120.
35074         (calc_generic_results): Handle mpc_c_c.
35075         * sysdeps/i386/fpu/libm-test-ulps: Update.
35076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35078 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35080         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35081         (do_sin_slow): New functions.
35082         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35083         (cslow2, csloww1, csloww2): Use the new functions.
35085         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35086         Use M to change sign of result instead of X.  Assume X is
35087         positive.
35088         (csloww1): Likewise.
35089         (__sin): Adjust.
35090         (__cos): Adjust.
35092         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35093         arguments A and DA.
35094         (__sin): Adjust.
35095         (__cos): Likewise.
35097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35098         (__cos): Likewise.
35099         (sloww1): Don't adjust sign of DX.
35100         (csloww1): Likewise.
35101         (sloww2): Use X directly and don't adjust sign of DX.
35102         (csloww2): Likewise.
35104 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35106         * math/auto-libm-test-in: Add tests of cabs and carg.
35107         * math/auto-libm-test-out: Regenerated.
35108         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35109         (carg_test_data): Likewise.
35110         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35111         mpc_c_f.
35112         (func_calc_desc): Add mpc_c_f union field.
35113         (test_functions): Add cabs and carg.
35114         (calc_generic_results): Handle mpc_c_f.
35116         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35117         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35118         as a macro and a compat symbol.
35119         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35120         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35121         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35122         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35123         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35124         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35125         not use .hidden.
35126         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35127         Likewise.
35128         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35129         Likewise.
35130         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35131         Likewise.
35132         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35133         Likewise.
35134         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35135         Likewise.
35136         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35137         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35138         from GLIBC_2.3.2.
35140 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35144 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35146         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35147         trailing whitespace removed.
35148         * scripts/config.guess: Update to version 2013-11-29.
35149         * scripts/config.sub: Update to version 2013-10-01.
35151         * math/auto-libm-test-in: Add tests of sincos.
35152         * math/auto-libm-test-out: Regenerated.
35153         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35154         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35155         mpfr_f_11.
35156         (func_calc_desc): Add mpfr_f_11 union field.
35157         (test_functions): Add sincos.
35158         (calc_generic_results): Handle mpfr_f_11.
35159         * sysdeps/i386/fpu/libm-test-ulps: Update.
35160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35162 2013-12-19  Andreas Schwab  <schwab@suse.de>
35164         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35165         CALL_MCOUNT.
35166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35167         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35168         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35170 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35172         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35173         * sysdeps/i386/fpu/libm-test-ulps: Update.
35174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35176         [BZ #16293]
35177         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35178         round-to-nearest mode when using frndint.
35179         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35180         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35181         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35182         Likewise.
35183         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35184         sinh test to fail.
35185         * math/auto-libm-test-out: Regenerated.
35186         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35187         (TEST_COND_x86): Likewise.
35188         (expm1_tonearest_test_data): New array.
35189         (expm1_test_tonearest): New function.
35190         (expm1_towardzero_test_data): New array.
35191         (expm1_test_towardzero): New function.
35192         (expm1_downward_test_data): New array.
35193         (expm1_test_downward): New function.
35194         (expm1_upward_test_data): New array.
35195         (expm1_test_upward): New function.
35196         (main): Run the new test functions.
35197         * sysdeps/i386/fpu/libm-test-ulps: Update.
35198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35200         * include/features.h: Update comment documenting feature test
35201         macros.  Mention _DEFAULT_SOURCE in comment.
35202         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35203         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35204         _BSD_SOURCE and _SVID_SOURCE.
35205         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35206         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35207         !_SVID_SOURCE]: Likewise.
35208         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35209         (__USE_POSIX_IMPLICITLY): Define.
35210         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35211         (_POSIX_SOURCE): Undefine and redefine.
35212         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35213         (_POSIX_C_SOURCE): Likewise.
35214         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35215         (Feature Test Macros): Update documentation of default features.
35217 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35219         * benchtests/Makefile: Add bench-strtok.
35220         * benchtests/bench-strtok.c: New file: strtok benchtest.
35222 2013-12-19  Allan McRae  <allan@archlinux.org>
35224         * manual/install.texi: Suppress menu for plain text output.
35225         * INSTALL: Regenerated.
35227 2013-12-18  Brooks Moses  <bmoses@google.com>
35229         [BZ #15846]
35230         * misc/getauxval.c: Include errno.h.
35231         (__getauxval): Set errno to ENOENT if the requested type is not
35232         found.
35233         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35234         don't declare with __attribute_const__.
35235         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35236         * manual/startup.texi: Document that getauxval sets errno.
35238 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35240         * math/auto-libm-test-in: Add tests of jn and yn.
35241         * math/auto-libm-test-out: Regenerated.
35242         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35243         (yn_test_data): Likewise.
35244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35245         mpfr_if_f.
35246         (func_calc_desc): Add mpfr_if_f union field.
35247         (FUNC_mpfr_if_f): New macro.
35248         (test_functions): Add jn and yn.
35249         (calc_generic_results): Assert type of second input for
35250         mpfr_ff_f.  Handle mpfr_if_f.
35251         (output_for_one_input_case): Disable all checking for arguments
35252         fitting floating-point types in case of an integer argument.
35253         * sysdeps/i386/fpu/libm-test-ulps: Update.
35254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35257         Don't expect fegetround reference in libm.so.
35259 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35261         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35262         $(config-cflags-nofma).
35264 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35266         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35267         * math/auto-libm-test-out: Regenerated.
35269         [BZ #16338]
35270         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35271         to determine exponent and adjust argument to have exponent of -1.
35272         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35273         log2.
35274         * math/auto-libm-test-out: Regenerated.
35275         * sysdeps/i386/fpu/libm-test-ulps: Update.
35276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35278 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35280         * manual/probes.texi: Remove cases when per-thread arenas are
35281         disabled.
35283 2013-12-18  Andreas Schwab  <schwab@suse.de>
35285         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35286         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35287         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35288         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35289         * sysdeps/i386/i686/multiarch/Makefile: Update.
35290         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35292 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35294         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35295         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35297 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35299         [BZ #15968]
35300         Support TZ transition times < 00:00:00.
35301         This is needed for version-3 tz-format files; it supports time
35302         stamps past 2037 for America/Godthab (the only entry in the tz
35303         database for which this change is relevant).
35304         * manual/time.texi (TZ Variable): Document transition times
35305         from -167:59:59 through -00:00:01.
35306         * time/tzset.c (tz_rule): Time of day is now signed.
35307         (__tzset_parse_tz): Parse negative time of day.
35309         Document TZ transition times >= 25:00:00.
35310         * manual/time.texi (TZ Variable): Document transition times from
35311         25:00:00 through 167:59:59.  These are already supported, and this
35312         support will help with version-3 tz-format files.
35314         * manual/time.texi (TZ Variable): Modernize North America example
35315         to reflect current (i.e., 2007-and-later) daylight saving rules.
35317         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35319 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35321         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35322         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35324         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35325         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35326         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35327         * sysdeps/unix/bsd/clock.c: Likewise.
35328         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35329         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35330         * sysdeps/unix/bsd/init-posix.c: Likewise.
35331         * sysdeps/unix/bsd/poll.c: Likewise.
35332         * sysdeps/unix/bsd/ptsname.c: Likewise.
35333         * sysdeps/unix/bsd/seekdir.c: Likewise.
35334         * sysdeps/unix/bsd/setegid.c: Likewise.
35335         * sysdeps/unix/bsd/seteuid.c: Likewise.
35336         * sysdeps/unix/bsd/setgid.c: Likewise.
35337         * sysdeps/unix/bsd/setrgid.c: Likewise.
35338         * sysdeps/unix/bsd/setruid.c: Likewise.
35339         * sysdeps/unix/bsd/setsid.c: Likewise.
35340         * sysdeps/unix/bsd/setuid.c: Likewise.
35341         * sysdeps/unix/bsd/sigaction.c: Likewise.
35342         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35343         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35344         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35345         * sysdeps/unix/bsd/telldir.c: Likewise.
35346         * sysdeps/unix/bsd/times.c: Likewise.
35347         * sysdeps/unix/bsd/usleep.c: Likewise.
35349         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35350         ($(objpfx)libbsd-compat.a): Remove rule.
35352         * include/features.h (__FAVOR_BSD): Do not define.
35353         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35354         features conflicting with POSIX.
35355         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35356         (_BSD_SOURCE): Remove description of not being a subset of other
35357         feature test macros.
35358         * manual/job.texi (getpgrp): Do not document BSD version.
35359         (getpgid): Do not document by reference to BSD getpgrp.
35360         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35361         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35362         * signal/signal.h [__FAVOR_BSD]: Likewise.
35363         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35364         instead of making contents conditional on [__FAVOR_BSD].
35365         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35367 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35371 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35373         [BZ #16314]
35374         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35375         values below 2**-450, not 2**-500.
35376         * math/auto-libm-test-in: Don't allow spurious underflow from
35377         hypot.
35378         * math/auto-libm-test-out: Regenerated.
35380         [BZ #16316]
35381         [BZ #16330]
35382         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35383         values of ha and hb and sort them after adjusting subnormal
35384         arguments.
35385         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35386         Likewise.
35387         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35388         values of ea and eb and sort them after adjusting subnormal
35389         arguments.
35390         * math/auto-libm-test-in: Do not expect some hypot tests of
35391         subnormals to fail.  Add more hypot tests.
35392         * math/auto-libm-test-out: Regenerated.
35394 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35396         [BZ #13304]
35397         * sysdeps/sh/s_fma.c: New file.
35398         * sysdeps/sh/s_fmaf.c: New file.
35399         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35400         version.
35401         * sysdeps/sh/Implies: Add sh/soft-fp.
35403 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35405         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35406         level of indirection to members `objname', `errstring', `malloced'.
35407         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35408         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35409         it as the __longjmp argument (just pass 1 instead).
35410         (_dl_catch_error): Initialize C with argument pointers and address of
35411         volatile local ERRCODE rather than copying values out of C at return.
35413 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35415         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35416         * math/auto-libm-test-out: Regenerated.
35417         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35418         (hypot_test_data): Likewise.
35419         (pow_test_data): Likewise.
35420         (pow_tonearest_test_data): Likewise.
35421         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35422         mpfr_ff_f.
35423         (func_calc_desc): Add mpfr_ff_f union field.
35424         (FUNC_mpfr_ff_f): New macro.
35425         (test_functions): Add atan2, hypot and pow.
35426         (special_fill_min): New function.
35427         (special_fill_minus_min): Likewise.
35428         (special_fill_min_subnorm): Likewise.
35429         (special_fill_minus_min_subnorm): Likewise.
35430         (special_real_inputs): Add min, -min, min_subnorm and
35431         -min_subnorm.
35432         (calc_generic_results): Handle mpfr_ff_f.
35433         * sysdeps/i386/fpu/libm-test-ulps: Update.
35434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35436 2013-12-16  Will Newton  <will.newton@linaro.org>
35438         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35439         (Aligned Memory Blocks): Add documentation for aligned_alloc
35440         and suggest it as an alternative to posix_memalign.
35441         (Hooks for Malloc): Document __memalign_hook is also called
35442         for aligned_alloc.  (Summary of Malloc): Add summary for
35443         aligned alloc.  Document __memalign_hook is also called
35444         for aligned_alloc.
35446 2013-12-16  Will Newton  <will.newton@linaro.org>
35448         * manual/memory.texi (Malloc Examples): Clarify default
35449         alignment documentation.  Suggest posix_memalign rather
35450         than memalign or valloc.
35451         (Aligned Memory Blocks): Remove suggestion to use memalign
35452         or valloc.  Remove obsolete comment about BSD.
35453         Document memalign errno values and mark the function obsolete.
35454         Document posix_memalign returned error codes.  Mark valloc
35455         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35456         called for posix_memalign and valloc.
35457         (Summary of Malloc): Add posix_memalign to function summary.
35458         __memalign_hook is also called for posix_memalign and valloc.
35460 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35462         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35463         TAYLOR_SIN.
35464         (__sin): Adjust.
35465         (__cos): Likewise.
35466         (sloww): Use mynumber union.  Expand ternary operator into
35467         if-else statements.
35468         (cslow): use mynumber union.
35470 2013-12-16  Allan McRae  <allan@archlinux.org>
35472         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35473         * configure: Regenerated.
35475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35477         [BZ #14120]
35478         * configure.ac: Added --enable-maintainer-mode. Check for
35479         autoconf when enabled.
35480         * configure: Regenerated.
35482         * nscd/nscd.service: New file.
35483         * nscd/nscd.tmpfiles: New file.
35485 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35487         [BZ #12100]
35488         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35489         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35490         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35491         (strstr): Add __strstr_sse2_unaligned ifunc.
35492         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35493         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35494         (strcasestr): Remove __strcasestr_sse42 ifunc.
35495         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35499 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35501         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35502         * sysdeps/sh/bits/fenv.h: ... here.
35503         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35505 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35507         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35510         hypotf multiarch implementations.
35511         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35512         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35513         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35514         multiarch hypot for PPC64.
35515         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35516         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35517         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35518         multiarch hypotf for PPC64.
35520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35521         modff multiarch implementations.
35522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35525         multiarch modf for PPC64.
35526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35529         multiarch modff for PPC64.
35531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35532         and logl multiarch implementations.
35533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35536         multiarch logb for PPC64.
35537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35540         multiarch logb for PPC64.
35541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35544         multiarch logb for PPC64.
35546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35547         isinff multiarch implementation.
35548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35549         file.
35550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35552         multiarch isinf for PPC64.
35553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35554         file.
35555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35556         multiarch isinff for PPC64.
35558         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35559         finitef multiarch implementation.
35560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35561         file.
35562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35564         multiarch finite for PPC64.
35565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35566         file.
35567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35568         multiarch finitef for PPC64.
35570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35571         lrint multiarch implementation.
35572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35573         file.
35574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35576         multiarch llrint for PPC64.
35577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35578         multiarch lrint for PPC64.
35580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35581         copysignf multiarch implementation.
35582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35583         file.
35584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35585         file.
35586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35587         multiarch copysign for PPC64.
35588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35589         multiarch copysignf for PPC64.
35591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35592         multiarch implementation.
35593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35594         file.
35595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35596         file.
35597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35598         file.
35599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35600         file.
35601         multiarch llround for PPC64.
35602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35603         multiarch trunc for PPC64.
35604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35605         multiarch truncf for PPC64.
35607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35608         multiarch implementation.
35609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35610         file.
35611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35612         file.
35613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35614         file.
35615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35616         file.
35617         multiarch llround for PPC64.
35618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35619         multiarch round for PPC64.
35620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35621         multiarch roundf for PPC64.
35623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35624         multiarch implementation.
35625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35626         file.
35627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35628         file.
35629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35630         file.
35631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35632         file.
35633         multiarch llround for PPC64.
35634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35635         multiarch floor for PPC64.
35636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35637         multiarch floorf for PPC64.
35639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35640         multiarch implementation.
35641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35642         file.
35643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35644         file.
35645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35646         file.
35647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35648         file.
35649         multiarch llround for PPC64.
35650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35651         multiarch ceil for PPC64.
35652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35653         multiarch ceilf for PPC64.
35655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35656         multiarch implementation.
35657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35658         file.
35659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35660         file.
35661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35662         file.
35663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35664         multiarch llround for PPC64.
35665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35666         multiarch lround for PPC64.
35668         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35669         multiarch implementation.
35670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35673         file.
35674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35677         multiarch isnan for PPC64.
35678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35679         multiarch isnanf for PPC64.
35681         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35682         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35683         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35684         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35685         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35688         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35689         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35694         multiarch implementations.
35695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35696         (__libc_ifunc_impl_list): Likewise.
35697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35700         multiarch stpcpy for PPC64.
35702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35703         multiarch implementations.
35704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35705         (__libc_ifunc_impl_list): Likewise.
35706         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35707         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35708         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35709         multiarch strcpy for PPC64.
35711         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35712         redefine function name.
35713         (_wordcopy_fwd_dest_aligned): Likewise.
35714         (_wordcopy_bwd_aligned): Likewise.
35715         (_wordcopy_bwd_dest_aligned): Likewise.
35716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35717         multiarch implementations.
35718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35719         (__libc_ifunc_impl_list): Likewise.
35720         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35721         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35722         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35724         multiarch wcscpy for PPC64.
35726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35727         multiarch implementations.
35728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35729         (__libc_ifunc_impl_list): Likewise.
35730         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35731         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35732         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35733         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35734         multiarch wcscpy for PPC64.
35736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35737         multiarch implementations.
35738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35739         (__libc_ifunc_impl_list): Likewise.
35740         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35741         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35742         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35743         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35744         multiarch wcsrchr for PPC64.
35746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35747         multiarch implementations.
35748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35749         (__libc_ifunc_impl_list): Likewise.
35750         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35751         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35752         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35753         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35754         multiarch wcschr for PPC64.
35756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35757         multiarch implementations.
35758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35759         (__libc_ifunc_impl_list): Likewise.
35760         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35761         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35762         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35763         multiarch strchrnul for PPC64.
35765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35766         implementations.
35767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35768         (__libc_ifunc_impl_list): Likewise.
35769         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35770         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35771         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35772         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35773         strchr for PPC64.
35775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35776         implementations.
35777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35778         (__libc_ifunc_impl_list): Likewise.
35779         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35780         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35781         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35782         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35783         strncmp for PPC64.
35785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35786         multiarch implementations.
35787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35788         (__libc_ifunc_impl_list): Likewise.
35789         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35790         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35791         strncasecmp for PPC64.
35792         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35793         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35794         multiarch strncasecmp_l for PPC64.
35796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35797         multiarch implementations.
35798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35799         (__libc_ifunc_impl_list): Likewise.
35800         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35801         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35802         multiarch strcasecmp for PPC64.
35803         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35804         file.
35805         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35806         multiarch strcasecmp_l for PPC64.
35808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35809         implementations.
35810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35811         (__libc_ifunc_impl_list): Likewise.
35812         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35813         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35814         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35815         strnlen for PPC64.
35817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35818         implementations.
35819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35820         (__libc_ifunc_impl_list): Likewise.
35821         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35822         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35823         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35824         strlen for PPC64.
35826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35827         implementations.
35828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35829         (__libc_ifunc_impl_list): Likewise.
35830         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35831         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35832         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35833         rawmemrchr for PPC64.
35835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35836         implementation.
35837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35838         (__libc_ifunc_impl_list): Likewise.
35839         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35840         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35841         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35842         memrchr for PPC64.
35844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35845         implementation.
35846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35847         (__libc_ifunc_impl_list): Likewise.
35848         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35849         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35850         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35851         memchr for PPC64.
35853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35854         implementation.
35855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35856         (__libc_ifunc_impl_list): Likewise.
35857         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35858         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35859         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35860         mempcpy for PPC64.
35862         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35863         avoid cretion of __bzero symbol.
35864         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35865         Likewise.
35866         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35867         Likewise.
35868         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35869         Likewise.
35870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35871         multiarch implementations.
35872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35873         (__libc_ifunc_impl_list): Likewise.
35874         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35875         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35876         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35877         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35878         bzero for PPC32.
35879         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35880         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35881         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35882         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35883         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35884         memset for PPC64.
35885         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35887         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35889         implementations.
35890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35891         (__libc_ifunc_impl_list): Likewise.
35892         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35893         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35894         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35895         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35896         memcmp for PPC64.
35898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35899         multiarch for POWER/PPC64.
35900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35901         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35902         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35903         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35904         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35905         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35906         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35908         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35909         memcpy for PPC64.
35911         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35912         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35913         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35914         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35915         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35916         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35917         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35918         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35919         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35920         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35921         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35922         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35923         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35924         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35925         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35934 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35936         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35938 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35940         * benchtests/Makefile (bench): Add exp2 and log2.
35941         (LDLIBS-bench-exp2): Add -lm.
35942         (LDLIBS-bench-log2): Likewise.
35943         * benchtests/exp2-inputs: New inputs file.
35944         * benchtests/log2-inputs: New inputs file.
35945         * benchtests/log-inputs: Add new inputs.
35946         * benchtests/tan-inputs: Likewise.
35948 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35950         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35951         definition...
35952         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35953         (csloww2): ... from here.
35955         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35956         instead of structures.
35957         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35958         (POLYNOMIAL): Likewise.
35959         (TAYLOR_SLOW): Likewise.
35960         (__sin): Likewise.
35961         (__cos): Likewise.
35962         (slow1): Likewise.
35963         (slow2): Likewise.
35964         (sloww): Likewise.
35965         (sloww1); Likewise.
35966         (sloww2): Likewise.
35967         (bsloww1): Likewise.
35968         (bsloww2): Likewise.
35969         (cslow2): Likewise.
35970         (csloww): Likewise.
35971         (csloww1): Likewise.
35972         (csloww2): Likewise.
35974 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35976         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35977         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35978         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35979         * malloc/hooks.c (realloc_check): Likewise.
35981         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35982         * malloc/arena.c: Remove PER_THREAD conditional.
35983         [!PER_THREAD]: Remove code.
35984         (ptmalloc_unlock_all2): Likewise.
35985         (ptmalloc_init): Likewise.
35986         (_int_new_arena): Likewise.
35987         (arena_get2): Likewise.
35988         * malloc/hooks.c (__malloc_get_state): Likewise.
35989         (__malloc_set_state): Likewise.
35990         * malloc/malloc.c: Likewise.
35991         (struct malloc_state): Likewise.
35992         (struct malloc_par): Likewise.
35993         (__libc_realloc): Likewise.
35994         (__libc_mallopt): Likewise.
35996 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35998         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36000 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36002         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36003         macro to a function.  Check for zero perturb_byte.
36004         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36006         * malloc/malloc.c: (force_reg): Remove.
36007         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36008         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36009         force_reg by atomic_forced_read.
36010         * malloc/arena.c (ptmalloc_init): Likewise.
36011         * malloc/hooks.c (top_check): Likewise.
36013 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36017 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36021 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36023         * math/auto-libm-test-in: Add tests of lgamma.
36024         * math/auto-libm-test-out: Regenerated.
36025         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36026         (M_LOG_2_SQRT_PIl): Likewise.
36027         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36028         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36029         mpfr_f_f1.
36030         (func_calc_desc): Add mpfr_f_f1 union field.
36031         (ARGS1): New macro.
36032         (ARGS2): Likewise.
36033         (ARGS3): Likewise.
36034         (ARGS4): Likewise.
36035         (RET1): Likewise.
36036         (RET2): Likewise.
36037         (CALC): Likewise.
36038         (FUNC): Likewise.
36039         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36040         (test_functions): Add lgamma.
36041         (calc_generic_results): Handle mpfr_f_f1.
36042         * sysdeps/i386/fpu/libm-test-ulps: Update.
36043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36045 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36047         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36048         __mpn_add_n for PowerPC64/POWER7.
36049         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36050         __mpn_sub_n for PowerPC64/POWER7.
36052         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36053         __mpn_addmul_1 for PowerPC64.
36054         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36055         __mpn_submul_1 for PowerPC64.
36056         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36057         for PowerPC64.
36058         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36059         for PowerPC64.
36061 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36063         [BZ #15089]
36064         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36066 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36068         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36070         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36071         add multiarch folders.
36072         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36073         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36074         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36075         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36076         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36077         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36078         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36079         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36080         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36081         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36082         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36091         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36093         New file.
36094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36095         New file.
36096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36097         multiarch __ieee754_hypot for PowerPC32.
36098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36099         New file.
36100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36101         New file.
36102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36103         multiarch __ieee754_hypotf for PowerPC32.
36105         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36106         long_double_symbol only if __logbl is defined.
36107         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36108         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36109         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36110         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36111         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36112         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36113         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36114         path for implementation.
36115         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36116         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36118         logb, and logbl multiarch implementations for PowerPC32.
36119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36120         file.
36121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36122         file.
36123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36124         multiarch logb for PowerPC32.
36125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36126         file.
36127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36128         file.
36129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36130         multiarch logbf for PowerPC32.
36131         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36133         file.
36134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36135         multiarch logbl implementation for PowerPC32.
36137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36138         and modff multiarch implementations.
36139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36140         New file.
36141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36142         New file.
36143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36144         multiarch modf for PowerPC32.
36145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36146         New file.
36147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36148         New file.
36149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36150         multiarch modff for PowerPC32.
36152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36153         and lrintf multiarch implementations.
36154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36155         New file.
36156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36157         New file.
36158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36159         multiarch lrint for PowerPC32.
36160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36161         file: multiarch lrintf for PowerPC32.
36163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36164         and lroundf multiarch implementations.
36165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36166         New file.
36167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36168         New file.
36169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36170         New file.
36171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36172         multiarch lround for PowerPC32.
36173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36174         file: multiarch lroundf for PowerPC32.
36176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36177         copysign and copysignf multiarch implementations.
36178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36179         New file.
36180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36181         New file.
36182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36183         file: multiarch copysign for PowerPC32.
36184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36185         file: multiarch copysignf for PowerPC32.
36187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36188         and truncf multiarch implementations.
36189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36190         New file.
36191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36192         file.
36193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36194         multiarch trunc for PowerPC32.
36195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36196         New file.
36197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36198         New file.
36199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36200         multiarch truncf for PowerPC32.
36202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36203         and roundf multiarch implementations.
36204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36205         New file.
36206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36207         file.
36208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36209         multiarch round for PowerPC32.
36210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36211         New file.
36212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36213         New file.
36214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36215         multiarch roundf for PowerPC32.
36217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36218         and floorf multiarch implementations.
36219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36220         New file.
36221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36222         file.
36223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36224         multiarch floor for PowerPC32.
36225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36226         New file.
36227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36228         New file.
36229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36230         multiarch floorf for PowerPC32.
36232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36233         and ceilf multiarch implementations.
36234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36235         New file.
36236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36237         file.
36238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36239         multiarch ceil for PowerPC32.
36240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36241         New file.
36242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36243         file.
36244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36245         multiarch ceilf for PowerPC32.
36247         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36248         is defined.
36249         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36250         FINITEF is defined.
36251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36252         and finitef multiarch implementations.
36253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36254         New file.
36255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36256         file.
36257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36258         multiarch finite for PowerPC32.
36259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36260         New file.
36261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36262         file: multiarch finitef for PowerPC32.
36264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36265         and isinff multiarch implementations.
36266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36267         file.
36268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36269         file.
36270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36271         multiarch isinf for PowerPC32.
36272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36273         New file.
36274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36275         multiarch isinff for PowerPC32.
36277         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36278         alias when __isnan is defined.
36279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36280         and isnanf multiarch implementations.
36281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36282         file.
36283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36284         file.
36285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36286         file.
36287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36288         file.
36289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36290         multiarch isnan for PowerPC32.
36291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36292         New file.
36293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36294         New file.
36295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36296         multiarch isnanf for PowerPC32.
36298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36299         and sqrtf multiarch implementations.
36300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36301         file.
36302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36303         file.
36304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36305         multiarch sqrt for PowerPC32.
36306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36307         file.
36308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36309         file.
36310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36311         multiarch sqrtf for PowerPC32.
36313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36314         and llroundf multiarch implementations.
36315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36316         New file.
36317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36318         New file.
36319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36320         New file.
36321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36322         file: multiarch llround for PowerPC32.
36323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36324         file: multiarch llroundf for PowerPC32.
36326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36327         multiarch PowerPC32 fpu implementations.
36328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36329         New file.
36330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36331         New file.
36332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36333         multiarch llrint for PowerPC32.
36334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36335         New file.
36336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36337         New file.
36338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36339         file.
36341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36343         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36344         file.
36345         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36346         file.
36347         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36348         file.
36349         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36350         multiarch wordcopy for PPC32.
36351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36352         wordcopy objects.
36353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36354         (__libc_ifunc_impl_list): Likewise.
36355         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36356         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36357         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36358         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36359         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36360         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36362         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36364         file.
36365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36366         file.
36367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36368         file.
36369         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36370         multiarch wcscpy for PPC32.
36371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36372         multiarch objects.
36373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36374         (__libc_ifunc_impl_list): Likewise.
36375         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36376         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36377         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36378         sysdeps/powerpc/power6/wcscpy.c.
36380         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36382         file.
36383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36384         file.
36385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36386         file.
36387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36388         multiarch wcsrchr for PPC32.
36389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36390         multiarch objects.
36391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36392         (__libc_ifunc_impl_list): Likewise.
36393         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36394         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36395         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36396         sysdeps/powerpc/power6/wcsrchr.c.
36398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36399         file.
36400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36401         file.
36402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36404         multiarch wcschr for PPc32.
36405         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36406         multiarch objects.
36407         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36408         (__libc_ifunc_impl_list): Likewise.
36409         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36410         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36411         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36412         sysdeps/powerpc/power6/wcschr.c.
36414         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36415         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36416         file.
36417         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36418         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36419         file: multiarch strchr for PPC32.
36420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36421         multiarch objects.
36422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36423         (__libc_ifunc_impl_list): Likewise.
36425         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36426         name.
36427         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36428         file.
36429         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36430         file.
36431         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36432         multiarch strchrnul for PPC32.
36433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36434         multiarch objects.
36435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36436         (__libc_ifunc_impl_list): Likewise.
36438         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36439         file.
36440         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36441         multiarch strncasecmp for PPC32.
36442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36443         file.
36444         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36445         multiarch strncasecmp_l for PPC32.
36446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36447         strncasecmp multiarch objects.
36448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36449         (__libc_ifunc_impl_list): Likewise.
36451         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36452         file.
36453         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36454         multiarch strncasecmp for PPC32.
36455         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36456         New file.
36457         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36458         multiarch strcasecmp_l for PPC32.
36459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36460         multiarch objects.
36461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36462         (__libc_ifunc_impl_list): Likewise.
36464         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36465         file.
36466         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36467         file.
36468         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36469         multiarch strncmp for PPC32.
36470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36471         multiarch objects.
36472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36473         (__libc_ifunc_impl_list): Likewise.
36475         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36476         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36477         file.
36478         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36479         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36481         multiarch objects.
36482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36483         (__libc_ifunc_impl_list): Likewise.
36485         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36486         file.
36487         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36488         file.
36489         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36491         multiarch objects.
36492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36493         (__libc_ifunc_impl_list): Likewise.
36495         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36496         file.
36497         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36498         file.
36499         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36500         multiarch rawmemchr for PPC32.
36501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36502         multiarch objects.
36503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36504         (__libc_ifunc_impl_list): Likewise.
36506         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36507         file.
36508         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36509         file.
36510         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36511         file: memrchr multiarch for PPC32.
36512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36513         multiarch objects.
36514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36515         (__libc_ifunc_impl_list): Likewise.
36517         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36518         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36519         file.
36520         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36522         multiarch memchr for PPC32.
36523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36524         multiarch objects.
36525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36526         (__libc_ifunc_impl_list): Likewise.
36528         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36529         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36530         file.
36531         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36532         file.
36533         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36534         file: multiarch mempcpy for PPC32.
36535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36536         multiarch objects.
36537         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36538         (__libc_ifunc_impl_list): Likewise.
36540         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36541         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36542         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36543         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36544         multiarch bzero for PPC32.
36545         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36546         file.
36547         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36548         file.
36549         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36550         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36551         file: multiarch memset for PPC32.
36552         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36554         memset multiarch objects.
36555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36556         (__libc_ifunc_impl_list): Likewise.
36558         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36559         file.
36560         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36561         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36562         memcmp for PPC32.
36563         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36565         multiarch objects.
36566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36567         (__libc_ifunc_impl_list): Likewise.
36569         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36570         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36571         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36572         file.
36573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36574         file.
36575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36576         file.
36577         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36578         multiarch memcpy for PPC32.
36579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36580         multiarch objects.
36581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36582         (__libc_ifunc_impl_list): Likewise.
36584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36585         support multiarch for POWER/PPC32.
36586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36587         Likewise.
36588         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36590         Implies file to make multiarch folder appers before the fpu and
36591         default folder for power4 configuration.
36593 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36595         * scripts/bench.pl: Append volatile keyword to type.
36597 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36599         * sysdeps/sh/sotruss-lib.c: New file.
36600         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36602 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36606 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36608         [BZ #6810]
36609         * math/w_tgamma.c: Include <errno.h>.
36610         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36611         * math/w_tgammaf.c: Include <errno.h>.
36612         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36613         * math/w_tgammal.c: Include <errno.h>.
36614         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36615         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36616         underflow.  Add more tgamma tests.
36617         * math/auto-libm-test-out: Regenerated.
36618         * sysdeps/i386/fpu/libm-test-ulps: Update.
36619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36621         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36622         sin, sinh, tan, tanh, tgamma, y0 and y1.
36623         * math/auto-libm-test-out: Regenerated.
36624         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36625         (TEST_COND_x86): Likewise.
36626         (M_E2l): Remove macro.
36627         (M_E3l): Likewise.
36628         (M_2_SQRT_PIl): Likewise.
36629         (M_SQRT_PIl): Likewise.
36630         (M_1_DIV_El): Likewise.
36631         (log_test_data): Use AUTO_TESTS_f_f.
36632         (log10_test_data): Likewise.
36633         (log1p_test_data): Likewise.
36634         (log2_test_data): Likewise.
36635         (sin_test_data): Likewise.
36636         (sin_tonearest_test_data): Likewise.
36637         (sin_towardzero_test_data): Likewise.
36638         (sin_downward_test_data): Likewise.
36639         (sin_upward_test_data): Likewise.
36640         (sinh_test_data): Likewise.
36641         (sinh_tonearest_test_data): Likewise.
36642         (sinh_towardzero_test_data): Likewise.
36643         (sinh_downward_test_data): Likewise.
36644         (sinh_upward_test_data): Likewise.
36645         (tan_test_data): Likewise.
36646         (tan_tonearest_test_data): Likewise.
36647         (tan_towardzero_test_data): Likewise.
36648         (tan_downward_test_data): Likewise.
36649         (tan_upward_test_data): Likewise.
36650         (tanh_test_data): Likewise.
36651         (tgamma_test_data): Likewise.
36652         (y0_test_data): Likewise.
36653         (y1_test_data): Likewise.
36654         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36655         (special_real_inputs): Add pi/4.
36656         * sysdeps/i386/fpu/libm-test-ulps: Update.
36657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36659 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36661         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36662         "longjmp_target" static probes.
36663         (__longjmp): Rename to __longjmp_symbol.
36664         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36665         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36666         on which longjmp to generate.
36667         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36668         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36669         probe.
36670         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36671         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36672         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36673         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36674         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36675         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36677         __longjmp_symbol based on which __longjmp to generate.
36678         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36679         probe.
36680         (setjmp): Rename to setjmp_symbol.
36681         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36682         (_setjmp): Rename to _setjmp_symbol.
36683         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36684         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36685         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36686         which setjmp to generate.
36687         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36688         "longjmp_target" static probes.
36690 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36692         * benchtests/README: Add note about output arguments.
36693         * benchtests/bench-sincos.c: Remove file.
36694         * benchtests/sincos-inputs: New file.
36695         * scripts/bench.pl: Identify output arguments and define
36696         static variables for them.
36698         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36700         [BZ #15941]
36701         * Makefile (INSTALL): Add install-plain.texi as the primary
36702         dependency.
36703         * manual/install-plain.texi: New file.
36704         * manual/install.texi: Include node directive only for
36705         non-plaintext output.
36707 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36709         * stdlib/longlong.h: Update from GCC.
36711         [BZ #6807]
36712         [BZ #15901]
36713         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36714         * math/w_j0f.c (y0f): Likewise.
36715         * math/w_j0l.c (__y0l): Likewise.
36716         * math/w_j1.c (y1): Likewise.
36717         * math/w_j1f.c (y1f): Likewise.
36718         * math/w_j1l.c (__y1l): Likewise.
36719         * math/w_jn.c (yn): Likewise.
36720         * math/w_jnf.c (ynf): Likewise.
36721         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36722         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36723         value for Bessel function domain errors outside _SVID_ mode.
36724         Adjust sign of return value for yn (negative integer, 0).
36725         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36726         by zero in return for negative x and set sign appropriately for
36727         negative n.
36728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36729         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36730         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36731         expectations in error cases.
36732         (y1_test_data): Likewise.
36733         (yn_test_data): Likewise.
36734         * sysdeps/i386/fpu/libm-test-ulps: Update.
36735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36737 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36739         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36740         "64" to "64-v1".  Add "64-v2".
36741         (abi-64-options): Rename to ...
36742         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36743         (abi-64-condition): Rename to ...
36744         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36745         (abi-64-ld-soname): Rename to ...
36746         (abi-64-v1-ld-soname): ... this.
36747         (abi-64-v2-options): Define.
36748         (abi-64-v2-condition): Likewise.
36749         (abi-64-v2-ld-soname): Likewise.
36750         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36751         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36756 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36757             Alan Modra  <amodra@gmail.com>
36759         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36760         New versions for use with the ELFv2 ABI.
36761         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36762         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36763         declaration.
36764         (struct La_ppc64v2_retval): Likewise.
36765         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36766         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36767         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36768         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36769         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36770         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36771         Do not save or restore CR.
36772         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36773         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36774         return values for ELFv2 ABI.  Fix location of FPR return registers.
36775         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36776         updated values for _CALL_ELF == 2.
36777         (La_regs, La_retval, int_retval): Likewise.
36779 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36781         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36782         (FRAME_MIN_SIZE_PARM): Likewise.
36783         (FRAME_BACKCHAIN): Likewise.
36784         (FRAME_CR_SAVE): Likewise.
36785         (FRAME_LR_SAVE): Likewise.
36786         (FRAME_TOC_SAVE): Likewise.
36787         (FRAME_PARM_SAVE): Likewise.
36788         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36789         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36790         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36791         (call_mcount_parm_offset): New macro.
36792         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36793         (PROF): Use symbolic stack frame offsets.
36794         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36795         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36796         Redefine in terms of FRAME_MIN_SIZE.
36797         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36798         (_dl_profile_resolve): Likewise.  Update comment.
36799         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36800         symbols stack frame offsets.
36801         (__sigsetjmp): Likewise.
36802         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36803         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36804         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36805         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36808         (FRAME_BACKCHAIN): Remove.
36809         (FRAME_CR_SAVE): Likewise.
36810         (FRAME_LR_SAVE): Likewise.
36811         (FRAME_COMPILER_DW): Likewise.
36812         (FRAME_LINKER_DW): Likewise.
36813         (FRAME_TOC_SAVE): Likewise.
36814         (FRAME_PARM_SAVE): Likewise.
36815         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36816         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36817         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36819         (CHECK_SP): Use symbolic stack frame offsets.
36820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36821         zone" instead of caller's parameter save area for temp storage.
36822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36823         Likewise.  Also, use symbolic stack frame offsets.
36824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36825         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36826         our own stack frame instead of the caller's.
36827         (__socket): Use symbolic stack frame offsets.
36829 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36830             Alan Modra  <amodra@gmail.com>
36832         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36833         Define.
36834         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36835         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36836         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36837         New function.
36838         (elf_machine_fixup_plt): Call it.
36839         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36840         reloc arguments.
36841         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36842         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36843         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36844         r2 before calling target.
36846 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36847             Alan Modra  <amodra@gmail.com>
36849         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36850         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36851         versions of macros to support ELFv2 ABI.
36852         (LOCALENTRY): New macro.
36853         (ENTRY, EALIGN): Use it.
36854         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36855         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36856         fall through into ENTRY entry point.
36857         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36858         Only define if _CALL_ELF != 2.
36860         (elf_machine_matches_host): Verify ABI version matches.
36861         (RTLD_START): Use LOCALENTRY.
36862         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36863         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36864         (PLT_ENTRY_WORDS): New macro.
36865         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36866         (elf_machine_runtime_setup): Support ELFv2 ABI.
36867         (elf_machine_fixup_plt): Likewise.
36868         (elf_machine_plt_conflict): Likewise.
36869         (resolve_ifunc): Likewise.
36870         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36871         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36872         Likewise.
36873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36874         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36876         (makecontext): Support ELFv2 ABI.
36877         * elf/elf.h (EF_PPC64_ABI): Define.
36879 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36881         * sysdeps/powerpc/powerpc64/sysdep.h
36882         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36883         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36884         (ENTRY) [ASSEMBLER]: ... but instead here ...
36885         (EALIGN) [ASSEMBLER]: ... and here.
36886         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36887         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36888         (ENTRY_2) [!ASSEMBLER]: Use it.
36889         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36890         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36891         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36892         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36893         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36895         Use PPC64_LOAD_FUNCPTR.
36897         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36899 2013-12-04  Alan Modra  <amodra@gmail.com>
36901         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36902         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36903         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36904         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36907         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36908         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36909         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36910         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36911         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36913 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36916         (__makecontext): Fix incorrect CFI when backtracing out of
36917         context created via makecontext.
36918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36919         (__setcontext): Fix incorrect CFI during switch to new context.
36920         (__novec_setcontext): Likewise.
36922 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36924         [BZ #4772]
36925         * time/strptime_l.c (__strptime_internal): Allow modifiers
36926         in strptime.
36927         * time/tst-strptime.c (day_tests): Add testcase.
36929 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36931         * scripts/bench.pl: Skip over blank lines.
36933 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36935         [BZ #926]
36936         * manual/time.texi (Calendar Time): Clarify what timezone functions
36937         use.
36939 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36943 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36945         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36946         implementation.
36947         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36948         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36949         * debug/memset_chk.c (__memset_chk): Likewise.
36950         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36951         * debug/strncpy_chk.c: Likewise.
36953 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36955         [BZ #15268]
36956         [BZ #15425]
36957         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36958         (__ieee754_exp): For possibly underflowing results, check size of
36959         result and force underflow exception if required.
36960         * math/auto-libm-test-in: Add more tests of exp.
36961         * math/auto-libm-test-out: Regenerated.
36962         * sysdeps/i386/fpu/libm-test-ulps: Update.
36963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36965         [BZ #16283]
36966         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36967         * math/w_exp2f.c (__exp2f): Likewise.
36968         * math/w_exp2l.c (__exp2l): Likewise.
36969         * math/auto-libm-test-in: Do not allow missing errno on exp2
36970         underflow.
36971         * math/auto-libm-test-out: Regenerated.
36973 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36975         [BZ #16274]
36976         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36977         handle filename validation.
36978         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36979         (do_open): Delete.
36981 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36983         [BZ #6786]
36984         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36985         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36986         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36987         <float.h>.
36988         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36989         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36990         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36992         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36993         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36994         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36995         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36996         Add more erfc tests.
36997         * math/auto-libm-test-out: Regenerated.
36998         * sysdeps/i386/fpu/libm-test-ulps: Update.
36999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37001         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37002         exp2, expm1, j0 and j1.
37003         * math/auto-libm-test-out: Regenerated.
37004         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37005         (erfc_test_data): Likewise.
37006         (exp_test_data): Likewise.
37007         (exp_tonearest_test_data): Likewise.
37008         (exp_towardzero_test_data): Likewise.
37009         (exp_downward_test_data): Likewise.
37010         (exp_upward_test_data): Likewise.
37011         (exp10_test_data): Likewise.
37012         (exp2_test_data): Likewise.
37013         (expm1_test_data): Likewise.
37014         (j0_test_data): Likewise.
37015         (j1_test_data): Likewise.
37016         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37017         (input_flag_type): Add flag_xfail_rounding.
37018         (input_flags): Add xfail-rounding.
37019         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37020         (output_for_one_input_case): Handle flag_xfail_rounding.
37021         * sysdeps/i386/fpu/libm-test-ulps: Update.
37022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37024 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37026         [BZ #16289]
37027         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37028         division by 0.
37030 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37032         [BZ #16195]
37033         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37034         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37035         (STAP_PROBE0): New macro.
37036         (STAP_PROBE1): Likewise.
37037         (STAP_PROBE2): Likewise.
37038         (STAP_PROBE3): Likewise.
37039         (STAP_PROBE4): Likewise.
37041 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37043         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37045 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37047         * benchtests/Makefile (bench): Add sqrt.
37048         (LDLIBS-bench-sqrt): New.
37049         * benchtests/sqrt-input: New.
37051 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37053         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37054         (GAIH_EAI): Likewise.
37055         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37056         (gaih_inet): Likewise.
37057         (getaddrinfo): Don't use GAIH_EAI.
37059         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37060         (struct gaih): Remove definition.
37062 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37064         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37065         Use HERRNOP directly.
37067 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37071 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37073         * math/gen-auto-libm-tests.c (test_functions): Add more
37074         single-argument functions.
37075         (special_fill_pi_2): New function.
37076         (special_fill_minus_pi_2): Likewise.
37077         (special_fill_pi_6): Likewise.
37078         (special_fill_minus_pi_6): Likewise.
37079         (special_fill_pi_3): Likewise.
37080         (special_fill_2pi_3): Likewise.
37081         (special_fill_e): Likewise.
37082         (special_fill_1_e): Likewise.
37083         (special_fill_e_minus_1): Likewise.
37084         (special_real_inputs): Add more special inputs.
37085         (output_for_one_input_case): Do not require ERANGE on underflow to
37086         zero if round-to-nearest result does not underflow to zero, unless
37087         exact results required.
37088         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37089         atan, atanh, cbrt, cos and cosh.
37090         * math/auto-libm-test-out: Regenerated.
37091         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37092         (acos_tonearest_test_data): Likewise.
37093         (acos_towardzero_test_data): Likewise.
37094         (acos_downward_test_data): Likewise.
37095         (acos_upward_test_data): Likewise.
37096         (acosh_test_data): Likewise.
37097         (asin_test_data): Likewise.
37098         (asin_tonearest_test_data): Likewise.
37099         (asin_towardzero_test_data): Likewise.
37100         (asin_upward_test_data): Likewise.
37101         (asinh_test_data): Likewise.
37102         (atan_test_data): Likewise.
37103         (atanh_test_data): Likewise.
37104         (cbrt_test_data): Likewise.
37105         (cos_test_data): Likewise.
37106         (cos_tonearest_test_data): Likewise.
37107         (cos_towardzero_test_data): Likewise.
37108         (cos_downward_test_data): Likewise.
37109         (cos_upward_test_data): Likewise.
37110         (cosh_test_data): Likewise.
37111         (cosh_tonearest_test_data): Likewise.
37112         (cosh_towardzero_test_data): Likewise.
37113         (cosh_downward_test_data): Likewise.
37114         (cosh_upward_test_data): Likewise.
37115         * sysdeps/i386/fpu/libm-test-ulps: Update.
37116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37118 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37120         [BZ #6787]
37121         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37122         * math/w_exp10f.c (__exp10f): Likewise.
37123         * math/w_exp10l.c (__exp10l): Likewise.
37124         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37125         errno settings in existing tests.
37127         [BZ #14032]
37128         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37129         precision control set to double precision.
37130         * sysdeps/i386/fpu/w_sqrt.c: New file.
37131         * math/auto-libm-test-in: Add more tests.
37132         * math/auto-libm-test-out: Update.
37134         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37135         (sqrt_test_tonearest): New function.
37136         (sqrt_towardzero_test_data): New variable.
37137         (sqrt_test_towardzero): New function.
37138         (sqrt_downward_test_data): New variable.
37139         (sqrt_test_downward): New function.
37140         (sqrt_upward_test_data): New variable.
37141         (sqrt_test_upward): New function.
37142         (main): Call the new functions.
37144         * math/gen-auto-libm-tests.c: New file.
37145         * math/auto-libm-test-in: Likewise.
37146         * math/auto-libm-test-out: New generated file.
37147         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37148         variables.
37149         (%beautify): Add generated representations of zero.
37150         (top level): Set $auto_input and call parse_auto_input.
37151         (beautify): Remove trailing "f" from hex float constants.
37152         (parse_args): Handle XFAIL_TEST.
37153         (convert_condition): New function.
37154         (or_value): Likewise.
37155         (or_cond_value): Likewise.
37156         (generate_testfile): Handle AUTO_TESTS_* lines.
37157         (parse_auto_input): New function.
37158         * math/libm-test.inc (XFAIL_TEST): New macro.
37159         (ERRNO_UNCHANGED): Update value.
37160         (ERRNO_EDOM): Likewise.
37161         (ERRNO_ERANGE): Likewise.
37162         (IGNORE_RESULT): Likewise.
37163         (TEST_COND_flt_32): New macro.
37164         (TEST_COND_dbl_64): Likewise.
37165         (TEST_COND_ldbl_96_intel): Likewise.
37166         (TEST_COND_ldbl_96_m68k): Likewise.
37167         (TEST_COND_ldbl_128): Likewise.
37168         (TEST_COND_ldbl_128ibm): Likewise.
37169         (TEST_COND_long32): Likewise.
37170         (TEST_COND_long64): Likewise.
37171         (TEST_COND_before_rounding): Likewise.
37172         (TEST_COND_after_rounding): Likewise.
37173         (enable_test): Handle XFAIL_TEST flag.
37174         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37175         with finite results.
37176         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37177         auto-libm-test-out.
37179 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37180             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37182         [BZ #16214]
37183         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37184         __tls_get_addr_internal instead of __tls_get_offset in order to
37185         avoid GOT pointer dependency.  Make rtld export
37186         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37187         __tls_get_addr since we are a __tls_get_offset platform.
37188         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37189         GOT pointer being set up before.
37190         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37192 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37194         * manual/math.texi (Errors in Math Functions): Document accuracy
37195         goals.
37197         [BZ #15004]
37198         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37199         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37200         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37201         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37202         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37203         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37204         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37205         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37206         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37207         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37208         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37209         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37210         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37211         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37212         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37213         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37215         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37216         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37217         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37218         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37219         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37220         Likewise.
37221         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37222         Likewise.
37223         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37224         Likewise.
37225         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37226         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37227         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37228         atomic-feupdateenv and flt-rounds.
37229         * sysdeps/powerpc/nofpu/Versions (libc): Add
37230         __atomic_feholdexcept, __atomic_feclearexcept,
37231         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37232         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37233         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37234         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37235         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37236         here.
37237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37238         Update.
37240         * manual/arith.texi (FP Exceptions): Document that exceptions may
37241         not be raised when matherr is used.
37242         (Math Error Reporting): Document overflow in directed rounding
37243         modes.  Document that errno may not be set when finite values are
37244         returned on overflow.  Document intent to set errno on underflow
37245         only for underflow to zero.
37247         [BZ #16271]
37248         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37249         round-to-nearest then adjust result for other rounding modes.
37250         * include/fenv.h (fegetround): Use libm_hidden_proto.
37251         * math/fegetround.c (fegetround): Use libm_hidden_def.
37252         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37253         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37254         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37255         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37256         Likewise.
37257         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37258         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37259         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37260         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37262 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37264         [BZ #16077]
37265         * nss/Versions (libnss_files): Add
37266         _nss_files_gethostbyname3_r.
37267         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37268         New function.
37269         (HOST_DB_LOOKUP): Remove macro.
37270         (_nss_files_gethostbyname_r): Implement function without the
37271         HOST_DB_LOOKUP macro.
37272         (_nss_files_gethostbyname2_r): Likewise.
37274 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37276         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37278 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37280         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37281         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37282         warning.
37284 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37286         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37287         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37288         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37289         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37290         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37291         __fe_nomask_env_priv and attribute_hidden.
37292         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37293         (libc_feupdateenv_test_ppc): Likewise.
37294         (libc_feresetround_ppc): Likewise.
37295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37296         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37297         compat_symbol macro.
37298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37299         (__fe_nomask_env): Likewise.
37300         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37302 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37304         * string/Makefile: Remove ifunc tests.
37305         * string/test-string.h: Define TEST_IFUNC.
37306         * string/test-bcopy-ifunc.c: Remove.
37307         * string/test-bzero-ifunc.c: Likewise.
37308         * string/test-memccpy-ifunc.c: Likewise.
37309         * string/test-memchr-ifunc.c: Likewise.
37310         * string/test-memcmp-ifunc.c: Likewise.
37311         * string/test-memcpy-ifunc.c: Likewise.
37312         * string/test-memmem-ifunc.c: Likewise.
37313         * string/test-memmove-ifunc.c: Likewise.
37314         * string/test-mempcpy-ifunc.c: Likewise.
37315         * string/test-memrchr-ifunc.c: Likewise.
37316         * string/test-memset-ifunc.c: Likewise.
37317         * string/test-rawmemchr-ifunc.c: Likewise.
37318         * string/test-stpcpy-ifunc.c: Likewise.
37319         * string/test-stpncpy-ifunc.c: Likewise.
37320         * string/test-strcasecmp-ifunc.c: Likewise.
37321         * string/test-strcasestr-ifunc.c: Likewise.
37322         * string/test-strcat-ifunc.c: Likewise.
37323         * string/test-strchr-ifunc.c: Likewise.
37324         * string/test-strchrnul-ifunc.c: Likewise.
37325         * string/test-strcmp-ifunc.c: Likewise.
37326         * string/test-strcpy-ifunc.c: Likewise.
37327         * string/test-strcspn-ifunc.c: Likewise.
37328         * string/test-strlen-ifunc.c: Likewise.
37329         * string/test-strncasecmp-ifunc.c: Likewise.
37330         * string/test-strncat-ifunc.c: Likewise.
37331         * string/test-strncmp-ifunc.c: Likewise.
37332         * string/test-strncpy-ifunc.c: Likewise.
37333         * string/test-strnlen-ifunc.c: Likewise.
37334         * string/test-strpbrk-ifunc.c: Likewise.
37335         * string/test-strrchr-ifunc.c: Likewise.
37336         * string/test-strspn-ifunc.c: Likewise.
37337         * string/test-strstr-ifunc.c: Likewise.
37339 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37341         * benchtests/Makefile: Remove ifunc tests.
37342         * benchtests/bench-string.h: Define TEST_IFUNC.
37343         * benchtests/bench-bcopy-ifunc.c: Remove.
37344         * benchtests/bench-bzero-ifunc.c: Likewise.
37345         * benchtests/bench-memccpy-ifunc.c: Likewise.
37346         * benchtests/bench-memchr-ifunc.c: Likewise.
37347         * benchtests/bench-memcmp-ifunc.c: Likewise.
37348         * benchtests/bench-memcpy-ifunc.c: Likewise.
37349         * benchtests/bench-memmem-ifunc.c: Likewise.
37350         * benchtests/bench-memmove-ifunc.c: Likewise.
37351         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37352         * benchtests/bench-memrchr-ifunc.c: Likewise.
37353         * benchtests/bench-memset-ifunc.c: Likewise.
37354         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37355         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37356         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37357         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37358         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37359         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37360         * benchtests/bench-strcat-ifunc.c: Likewise.
37361         * benchtests/bench-strchr-ifunc.c: Likewise.
37362         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37363         * benchtests/bench-strcmp-ifunc.c: Likewise.
37364         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37365         * benchtests/bench-strcpy-ifunc.c: Likewise.
37366         * benchtests/bench-strcspn-ifunc.c: Likewise.
37367         * benchtests/bench-strlen-ifunc.c: Likewise.
37368         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37369         * benchtests/bench-strncat-ifunc.c: Likewise.
37370         * benchtests/bench-strncmp-ifunc.c: Likewise.
37371         * benchtests/bench-strncpy-ifunc.c: Likewise.
37372         * benchtests/bench-strnlen-ifunc.c: Likewise.
37373         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37374         * benchtests/bench-strrchr-ifunc.c: Likewise.
37375         * benchtests/bench-strsep-ifunc.c: Likewise.
37376         * benchtests/bench-strspn-ifunc.c: Likewise.
37377         * benchtests/bench-strstr-ifunc.c: Likewise.
37379 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37381         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37383 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37385         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37386         * rt/aio.h: Likewise.
37387         * sysdeps/gnu/bits/utmp.h: Likewise.
37388         * sysdeps/gnu/bits/utmpx.h: Likewise.
37389         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37390         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37391         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37392         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37393         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37394         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37395         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37396         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37397         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37398         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37399         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37400         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37401         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37403         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37404         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37405         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37406         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37407         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37408         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37409         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37410         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37411         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37412         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37413         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37415         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37416         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37417         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37418         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37419         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37420         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37421         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37422         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37423         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37424         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37425         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37426         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37427         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37428         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37429         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37430         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37432 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37434         [BZ #16245]
37435         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37436         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37438 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37440         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37442         Likewise.
37444 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37446         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37447         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37448         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37449         (__fesetround): Remove define.
37450         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37451         rounding and exceptions handling.
37452         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37453         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37454         (__fe_nomask_env): Likewise.
37455         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37456         __fegetround instead of fegetround.
37457         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37458         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37460 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37462         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37463         it's there.
37465         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37467 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37469         [BZ #11157]
37470         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37471         (encrypt_r): Likewise.
37472         * malloc/obstack.h (obstack_free): Likewise.
37473         * posix/unistd.h (encrypt): Likewise.
37475 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37477         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37478         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37479         DL_CALL_DT_FINI() that call the functions directly.
37480         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37481         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37482         * elf/dl-fini.c: Likewise.
37484 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37486         * malloc/hooks.c (memalign_check): Add alignment rounding.
37487         * malloc/malloc.c (_mid_memalign): New function.
37488         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37489         Implement by calling _mid_memalign.
37490         * manual/probes.texi (Memory Allocation Probes): Remove
37491         memory_valloc_retry and memory_pvalloc_retry.
37493 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37495         * locale/programs/locarchive.c (open_archive): Add const
37496         qualifier to ARCHIVEFNAME and copy default fname to
37497         DEFAULT_FNAME.
37499         [BZ #15601]
37500         * libio/tst-widetext.input: Rename Oriya to Odia.
37501         * locale/iso-639.def: Likewise.
37503         * manual/probes.texi (Mathematical Function Probes): Add
37504         documentation for sin, cos, asin and acos probes.
37505         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37506         (__sin32): Add slowasin probe.
37507         (__cos32): Add slowacos probe.
37508         (__mpsin): Add slowsin probe.
37509         (__mpcos): Add slowcos probe.
37511 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37513         [BZ #15483]
37514         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37515         thread-local __sim_exceptions_thread and global
37516         __sim_exceptions_global.
37517         (__sim_disabled_exceptions): Change to thread-local
37518         __sim_disabled_exceptions_thread and global
37519         __sim_disabled_exceptions_global.
37520         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37521         and global __sim_round_mode_global.
37522         (__simulate_exceptions): Use thread-local floating-point state and
37523         set global state from it as needed.
37524         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37525         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37526         __sim_round_mode_thread.
37527         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37528         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37529         and global __sim_exceptions_global.
37530         (__sim_disabled_exceptions): Change to thread-local
37531         __sim_disabled_exceptions_thread and global
37532         __sim_disabled_exceptions_global.
37533         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37534         and global __sim_round_mode_global.
37535         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37536         (SIM_SET_GLOBAL): Likewise.
37537         * sysdeps/powerpc/soft-fp/sfp-machine.h
37538         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37539         __sim_round_mode_thread.
37540         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37541         __sim_disabled_exceptions_thread.
37542         (__sim_exceptions): Change to __sim_exceptions_thread.
37543         (__sim_disabled_exceptions): Change to
37544         __sim_disabled_exceptions_thread.
37545         (__sim_round_mode): Change to __sim_round_mode_thread.
37546         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37547         thread-local floating-point state and set global state from it as
37548         needed.
37549         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37550         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37551         (__sim_disabled_exceptions): Remove extern declaration.
37552         (feenableexcept): Use thread-local floating-point state and set
37553         global state from it as needed.
37554         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37555         extern declaration.
37556         (__sim_disabled_exceptions): Likewise.
37557         (__sim_round_mode): Likewise.
37558         (__fegetenv): Use thread-local floating-point state.
37559         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37560         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37561         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37562         floating-point state and set global state from it as needed.
37563         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37564         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37565         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37566         Likewise.
37567         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37568         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37569         Likewise.
37570         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37571         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37572         Use __sim_round_mode_thread.
37573         * math/test-fenv-tls.c: New file.
37574         * math/Makefile (tests): Add test-fenv-tls.
37575         ($(objpfx)test-fenv-tls): Depend on
37576         $(common-objpfx)nptl/libpthread.so.
37578 2013-11-19  Andreas Schwab  <schwab@suse.de>
37580         * locale/programs/locale.c (show_info): Decode wordarray elements.
37581         * locale/categories.def (LC_MONETARY): Add element for
37582         _NL_MONETARY_CRNCYSTR.
37583         * locale/C-monetary.c (conversion_rate): New variable.
37584         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37585         element.
37587 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37589         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37590         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37592 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37594         * elf/Makefile (tst-auxv): New test.
37595         * elf/tst-auxv.c: New
37596         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37598 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37600         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37601         (hidden_proto): Caller changed.
37602         (hidden_tls_proto): New macro.
37603         (libc_hidden_tls_proto): Likewise.
37604         (rtld_hidden_tls_proto): Likewise.
37605         (libm_hidden_tls_proto): Likewise.
37606         (libresolv_hidden_tls_proto): Likewise.
37607         (librt_hidden_tls_proto): Likewise.
37608         (libdl_hidden_tls_proto): Likewise.
37609         (libnss_files_hidden_tls_proto): Likewise.
37610         (libnsl_hidden_tls_proto): Likewise.
37611         (libnss_nisplus_hidden_tls_proto): Likewise.
37612         (libutil_hidden_tls_proto): Likewise.
37614 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37616         [BZ #10253]
37617         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37618         (decompose_rpath): Defer expansion to fillin_rpath.
37619         (_dl_init_paths): Pass linkmap to fillin_rpath.
37621 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37623         * benchtests/Makefile: Add strsep.
37624         * benchtests/bench-strsep.c: New file: strsep benchtest.
37625         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37627 2013-11-18  Andreas Schwab  <schwab@suse.de>
37629         * locale/programs/locale.c (show_info) [case byte]: Check for
37630         '\377' instead of '\177'.
37631         * locale/C-monetary.c (not_available): Always use "\377".
37632         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37633         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37634         detect unavailable sign_posn locale elements.
37635         * locale/localeconv.c (__localeconv): For grouping and
37636         mon_grouping handle "\177" and "\377" like no grouping.
37637         (INT_ELEM): New macro.  Use it to set all numeric members.
37638         * locale/programs/ld-monetary.c (monetary_read)
37639         <tok_mon_grouping>: Normalize single -1 to the empty string.
37640         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37641         Likewise.
37643 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37645         [BZ #16055]
37646         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37647         when we match (nil).
37648         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37650 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37652         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37653         (NO_TEST_INLINE): Update value.
37654         (ERRNO_UNCHANGED): Likewise.
37655         (ERRNO_EDOM): Likewise.
37656         (ERRNO_ERANGE): Likewise.
37657         (IGNORE_RESULT): Likewise.
37658         (check_float_internal): Check signs of NaN results if
37659         TEST_NAN_SIGN used.
37660         (check_complex): Pass TEST_NAN_SIGN flag through to second
37661         check_float_internal call.
37662         (copysign_test_data): Add tests with quiet NaNs as second
37663         argument.  Use TEST_NAN_SIGN.
37664         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37665         TEST_NAN_SIGN.
37666         (signbit_test_data): Add tests of quiet NaN argument.
37667         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37669         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37670         $ignore_result.
37671         (parse_args): Handle function results specified as IGNORE.
37672         * math/libm-test.inc (IGNORE_RESULT): New macro.
37673         (check_float_internal): Do not check numerical result if flag
37674         IGNORE_RESULT set.
37675         (check_complex): Pass through IGNORE_RESULT to second
37676         check_float_internal call.
37677         (check_int): Do not check numerical result if flag IGNORE_RESULT
37678         set.
37679         (check_long): Likewise.
37680         (check_bool): Likewise.
37681         (check_longlong): Likewise.
37682         (lrint_test_data): Add tests of infinite and NaN arguments.
37683         (lrint_tonearest_test_data): Likewise.
37684         (lrint_towardzero_test_data): Likewise.
37685         (lrint_downward_test_data): Likewise.
37686         (lrint_upward_test_data): Likewise.
37687         (llrint_test_data): Likewise.
37688         (llrint_tonearest_test_data): Likewise.
37689         (llrint_towardzero_test_data): Likewise.
37690         (llrint_downward_test_data): Likewise.
37691         (llrint_upward_test_data): Likewise.
37692         (lround_test_data): Likewise.
37693         (llround_test_data): Likewise.
37695         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37696         (ERRNO_UNCHANGED): Update value.
37697         (ERRNO_EDOM): Likewise.
37698         (ERRNO_ERANGE): Likewise.
37699         (NO_TEST_INLINE_FLOAT): New macro.
37700         (NO_TEST_INLINE_DOUBLE): Likewise.
37701         (enable_test): New function.
37702         (RUN_TEST_f_f): Check enable_test before running test.
37703         (RUN_TEST_2_f): Likewise.
37704         (RUN_TEST_fff_f): Likewise.
37705         (RUN_TEST_c_f): Likewise.
37706         (RUN_TEST_f_f1): Likewise.
37707         (RUN_TEST_fF_f1): Likewise.
37708         (RUN_TEST_fI_f1): Likewise.
37709         (RUN_TEST_ffI_f1): Likewise.
37710         (RUN_TEST_c_c): Likewise.
37711         (RUN_TEST_cc_c): Likewise.
37712         (RUN_TEST_f_i): Likewise.
37713         (RUN_TEST_f_i_tg): Likewise.
37714         (RUN_TEST_ff_i_tg): Likewise.
37715         (RUN_TEST_f_b): Likewise.
37716         (RUN_TEST_f_b_tg): Likewise.
37717         (RUN_TEST_f_l): Likewise.
37718         (RUN_TEST_f_L): Likewise.
37719         (RUN_TEST_fFF_11): Likewise.
37720         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37721         conditionals.
37722         (cosh_test_data): Likewise.
37723         (exp_test_data): Likewise.
37724         (expm1_test_data): Likewise.
37725         (hypot_test_data): Likewise.
37726         (pow_test_data): Likewise.
37727         (sinh_test_data): Likewise.
37728         (tanh_test_data): Likewise.
37729         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37730         flags argument.
37732         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37733         tests with quiet NaN input and output.
37734         (acosh_test_data): Likewise.
37735         (asin_test_data): Likewise.
37736         (asinh_test_data): Likewise.
37737         (atan_test_data): Likewise.
37738         (atanh_test_data): Likewise.
37739         (atan2_test_data): Likewise.
37740         (cbrt_test_data): Likewise.
37741         (cos_test_data): Likewise.
37742         (cosh_test_data): Likewise.
37743         (erf_test_data): Likewise.
37744         (erfc_test_data): Likewise.
37745         (exp_test_data): Likewise.
37746         (exp10_test_data): Likewise.
37747         (exp2_test_data): Likewise.
37748         (expm1_test_data): Likewise.
37749         (hypot_test_data): Likewise.
37750         (j0_test_data): Likewise.
37751         (j1_test_data): Likewise.
37752         (jn_test_data): Likewise.
37753         (lgamma_test_data): Likewise.
37754         (log_test_data): Likewise.
37755         (log10_test_data): Likewise.
37756         (log1p_test_data): Likewise.
37757         (log2_test_data): Likewise.
37758         (pow_test_data): Likewise.
37759         (scalb_test_data): Likewise.
37760         (sin_test_data): Likewise.
37761         (sincos_test_data): Likewise.
37762         (sinh_test_data): Likewise.
37763         (tan_test_data): Likewise.
37764         (tanh_test_data): Likewise.
37765         (tgamma_test_data): Likewise.
37766         (y0_test_data): Likewise.
37767         (y1_test_data): Likewise.
37768         (yn_test_data): Likewise.
37770         [BZ #16167]
37771         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37772         argument being NaN and avoid computations with second argument in
37773         that case.
37774         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37775         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37776         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37778 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37780         * locale/iso-639.def: Add Chitwani Tharu (the).
37782 2013-11-14  Andreas Schwab  <schwab@suse.de>
37784         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37785         word instead of empty string.
37787 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37790         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37792         (__fe_nomask_env): Likewise.
37794 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37796         * benchtests/bench-timing.h: Include time.h.
37798 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37800         [BZ #15997]
37801         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37802         to 3.4.0 for x32.
37803         * sysdeps/unix/sysv/linux/configure: Regenerated.
37805 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37807         [BZ #16151]
37808         * stdlib/strtod_l.c (round_and_return): Do not consider
37809         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37810         exponent one less than half the least subnormal exponent.
37811         * stdlib/test-strtod-round-data: Add more tests.
37812         * stdlib/tst-strtod-round.c (tests): Regenerated.
37814 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37816         [BZ #14143]
37817         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37818         (__fe_mask_env): Likewise.
37819         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37820         libm_hidden_proto and add function prototype.
37821         (__fe_mask_env): Add function prototype.
37822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37823         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37825         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37827         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37829 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37831         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37832         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37834 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37836         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37837         of htab_find_slot().
37839 2013-11-11  David S. Miller  <davem@davemloft.net>
37841         [BZ #16150]
37842         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37843         symbol in the non-vis3 case in static builds.
37844         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37845         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37846         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37847         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37849 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37851         [BZ #387]
37852         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37853         it is empty.
37855 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37857         * benchtests/Makefile: Add bench-strtod.
37858         * benchtests/bench-strtod.c: New file: strtod benchtest
37860 2013-11-11  Andreas Schwab  <schwab@suse.de>
37862         [BZ #16153]
37863         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37864         terminating NUL in key length.
37866 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37868         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37869         Add artificial ODP entry for vDSO symbol for PPC64.
37870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37871         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37873 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37875         [BZ #15374]
37876         * nss/getent.c (services_keys): Recognize services starting with digit.
37878 2013-11-06  David S. Miller  <davem@davemloft.net>
37880         [BZ #15985]
37881         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37882         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37884 2013-11-06  Will Newton  <will.newton@linaro.org>
37886         * manual/memory.texi (Malloc Examples): Remove register
37887         keyword from examples.
37889 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37891         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37893 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37895         [BZ #6981]
37896         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37897         depending on [__GCC_IEC_559 > 0].
37898         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37899         depending on [__GCC_IEC_559_COMPLEX > 0].
37901 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37903         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37904         to iso-639.def.
37906 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37908         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37910 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37912         [BZ #16112]
37913         * malloc/malloc (malloc_info): Do not handle first bin as
37914         special case.
37916 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37918         * locale/iso-639.def: Add Central Nahuatl (nhn).
37920 2013-11-01  Bruno Haible  <bruno@clisp.org>
37922         [BZ #7003]
37923         * manual/math.texi (BSD Random): Specify range upper bound as
37924         in POSIX.
37926 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37928         * locale/iso-639.def: Add Meadow Mari (mhr).
37930 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37932         [BZ #14752], [BZ #15763]
37933         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37934         Validate name.
37935         * rt/tst_shm.c: Add test for escaping directory.
37937 2013-10-31  Andreas Schwab  <schwab@suse.de>
37939         [BZ #15917]
37940         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37941         followed by 'x' as part of digit sequence.
37942         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37944 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37946         [BZ #16037]
37947         * configure.ac: allow GNU Make 4.0 and greater.
37948         * configure: Regenerated.
37950 2013-10-30  Will Newton  <will.newton@linaro.org>
37952         [BZ #16038]
37953         * malloc/hooks.c (memalign_check): Limit alignment to the
37954         maximum representable power of two.
37955         * malloc/malloc.c (__libc_memalign): Likewise.
37956         * malloc/tst-memalign.c (do_test): Add test for very
37957         large alignment values.
37958         * malloc/tst-posix_memalign.c (do_test): Likewise.
37960 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37962         [BZ #11087]
37963         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37964         (munmap_chunk): Likewise.
37965         (mremap_chunk): Likewise.
37967 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37969         [BZ #15799]
37970         * stdlib/div.c (div): Remove obsolete code.
37971         * stdlib/ldiv.c (ldiv): Likewise.
37972         * stdlib/lldiv.c (lldiv): Likewise.
37974 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37976         [BZ #16071]
37977         * nss/nss_files/files-XXX.c (get_contents_ret): New
37978         enumerator.
37979         (get_contents): New function.
37980         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37982 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37984         * configure.in: Moved to ...
37985         * configure.ac: ... here. Change reference to configure.in
37986         to configure.ac.
37987         * sysdeps/arm/preconfigure.ac: ... here.
37988         configure.in to configure.ac.
37989         * sysdeps/gnu/configure.in: Moved to ...
37990         * sysdeps/gnu/configure.ac: ... here.
37991         * sysdeps/i386/configure.in: Moved to ...
37992         * sysdeps/i386/configure.ac: ... here.
37993         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37994         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37995         * sysdeps/mach/configure.in: Moved to ...
37996         * sysdeps/mach/configure.ac: ... here.
37997         * sysdeps/mach/hurd/configure.in: Moved to ...
37998         * sysdeps/mach/hurd/configure.ac: ... here.
37999         * sysdeps/powerpc/configure.in: Moved to ...
38000         * sysdeps/powerpc/configure.ac: ... here.
38001         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38002         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38003         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38004         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38005         * sysdeps/s390/s390-32/configure.in: Moved to ...
38006         * sysdeps/s390/s390-32/configure.ac: ... here.
38007         * sysdeps/s390/s390-64/configure.in: Moved to ...
38008         * sysdeps/s390/s390-64/configure.ac: ... here.
38009         * sysdeps/sh/configure.in: Moved to ...
38010         * sysdeps/sh/configure.ac: ... here.
38011         * sysdeps/sparc/configure.in: Moved to ...
38012         * sysdeps/sparc/configure.ac: ... here.
38013         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38014         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38015         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38016         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38017         * sysdeps/x86_64/configure.in: Moved to ...
38018         * sysdeps/x86_64/configure.ac: ... here.
38019         * sysdeps/x86_64/preconfigure.in: Moved to ...
38020         * sysdeps/x86_64/preconfigure.ac: ... here.
38021         * aclocal.m4: Change reference to configure.in to configure.ac.
38022         * config.h.in: Likewise.
38023         * manual/install.texi: Likewise.
38024         * manual/maint.texi: Likewise.
38025         * Makefile: Likewise.
38026         * malloc/Makefile: Likewise.
38027         * nscd/Makefile: Likewise.
38028         * Makeconfig: Change reference to configure.in and
38029         preconfigure.in to configure.ac and preconfigure.ac
38030         respectively.
38031         * INSTALL: Regenerated.
38032         * configure: Likewise.
38033         * sysdeps/gnu/configure: Likewise.
38034         * sysdeps/i386/configure: Likewise.
38035         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38036         * sysdeps/mach/configure: Likewise.
38037         * sysdeps/mach/hurd/configure: Likewise.
38038         * sysdeps/powerpc/configure: Likewise.
38039         * sysdeps/powerpc/powerpc32/configure: Likewise.
38040         * sysdeps/powerpc/powerpc64/configure: Likewise.
38041         * sysdeps/s390/s390-32/configure: Likewise.
38042         * sysdeps/s390/s390-64/configure: Likewise.
38043         * sysdeps/sh/configure: Likewise.
38044         * sysdeps/sparc/configure: Likewise.
38045         * sysdeps/unix/sysv/linux/configure: Likewise.
38046         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38047         * sysdeps/x86_64/configure: Likewise.
38048         * sysdeps/x86_64/preconfigure: Likewise.
38050 2013-10-29  Andreas Schwab  <schwab@suse.de>
38052         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38054 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38056         * benchtests/pow-inputs: Add new inputs.
38058         * benchtests/exp-inputs: Add new inputs.
38060         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38061         conditional check for return value.
38062         (__cos32): Likewise.
38064 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38066         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38067         to provide a boost for large inputs with word alignment.
38068         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38069         implementation based on optimized PPC64 strcpy.
38070         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38071         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38072         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38073         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38075 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38077         [BZ #2801]
38078         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38080 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38082         [BZ #14876]
38083         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38084         * time/tst-strptime.c (day_tests): Add testcase.
38086 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38088         [BZ #14029]
38089         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38091 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38093         [BZ #16074]
38094         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38095         MAP_FAILED on error.
38097 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38099         [BZ #16072]
38100         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38101         heap for large requests.
38103 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38105         [BZ #9954]
38106         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38107         result if the result has no associated interface.
38108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38109         interface for all 127.X.Y.Z addresses.
38111 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38113         * locale/iso-639.def: Add Ligurian (lij)
38115 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38117         [BZ #15825]
38118         * sunrpc/rpc_main.c: Document rpcgen -5.
38120 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38122         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38124 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38126         [BZ #10278]
38127         * posix/glob.c: Match only directories when trailing slash is present.
38128         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38129         (main): Add testcase.
38131 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38133         [BZ #15670]
38134         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38136 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38138         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38139         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38140         AUTH_DES and cindex for FIPS 140-2.
38141         (DES Encryption): Add cindex FIPS 46-3.
38143         * locale/locarchive.h (struct locarhandle): Add fname.
38144         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38145         if an optional argument was specified to --list-archive,
38146         otherwise NULL.
38147         * locale/programs/locarchive.c (show_archive_content): Take new
38148         argument fname and pass it via ah.fname to open_archive.
38149         * locale/programs/localedef.h: Update decl.
38150         (open_archive): If AH->fname is non-null, open that file
38151         rather than the default file name, and don't ignore ENOENT.
38152         (create_archive): Set AH.fname to NULL.
38153         (delete_locales_from_archive): Likewise.
38154         (add_locales_to_archive): Likewise.
38155         * locale/programs/locfile.c (write_all_categories): Likewise.
38157 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38158             Aldy Hernandez  <aldyh@redhat.com>
38160         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38161         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38162         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38163         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38164         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38165         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38166         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38167         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38168         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38169         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38170         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38171         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38172         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38173         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38174         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38175         Likewise.
38176         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38177         Likewise.
38178         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38179         Likewise.
38180         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38181         Likewise.
38182         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38183         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38184         Likewise.
38185         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38186         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38187         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38188         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38189         Likewise.
38190         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38191         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38192         * sysdeps/powerpc/preconfigure: Likewise.
38193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38194         Likewise.
38195         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38196         Replace contents of file by #include of <fenv_libc.h>.
38197         * sysdeps/powerpc/soft-fp/sfp-machine.h
38198         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38199         and <sys/prctl.h>.
38200         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38201         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38202         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38203         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38204         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38205         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38207         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38208         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38209         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38210         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38211         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38213         Allow copysignl PLT reference to be missing.
38215 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38216             Joseph Myers  <joseph@codesourcery.com
38218         [BZ #15948]
38219         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38220         single character.
38221         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38223 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38225         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38226         * elf/tst-tls1.c: Likewise.
38227         * elf/tst-tls10.h: Likewise.
38228         * elf/tst-tls14.c: Likewise.
38229         * elf/tst-tls2.c: Likewise.
38230         * elf/tst-tls3.c: Likewise.
38231         * elf/tst-tls4.c: Likewise.
38232         * elf/tst-tls5.c: Likewise.
38233         * elf/tst-tls6.c: Likewise.
38234         * elf/tst-tls7.c: Likewise.
38235         * elf/tst-tls8.c: Likewise.
38236         * elf/tst-tls9.c: Likewise.
38237         * elf/tst-tlsmod1.c: Likewise.
38238         * elf/tst-tlsmod13.c: Likewise.
38239         * elf/tst-tlsmod13a.c: Likewise.
38240         * elf/tst-tlsmod14a.c: Likewise.
38241         * elf/tst-tlsmod16a.c: Likewise.
38242         * elf/tst-tlsmod16b.c: Likewise.
38243         * elf/tst-tlsmod2.c: Likewise.
38244         * elf/tst-tlsmod3.c: Likewise.
38245         * elf/tst-tlsmod4.c: Likewise.
38246         * elf/tst-tlsmod5.c: Likewise.
38247         * elf/tst-tlsmod6.c: Likewise.
38249 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38251         [BZ #12486]
38252         * malloc/malloc.c: remove checks for statistics.
38254 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38256         [BZ #15277]
38257         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38258         * inet/tst-network.c: Add testcase.
38260 2013-10-17  Andreas Schwab  <schwab@suse.de>
38262         [BZ #15218]
38263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38264         to determine canonical name.
38266 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38268         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38269         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38270         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38271         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38273         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38274         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38275         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38276         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38277         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38278         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38279         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38280         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38281         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38282         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38283         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38285         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38286         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38287         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38288         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38289         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38290         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38291         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38292         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38293         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38294         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38295         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38296         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38297         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38298         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38299         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38300         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38301         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38302         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38303         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38304         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38305         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38306         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38307         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38308         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38309         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38310         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38311         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38312         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38314         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38315         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38316         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38317         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38318         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38319         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38321         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38327 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38329         [BZ #16041]
38330         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38331         make result into a quiet NaN.
38333 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38335         * soft-fp/adddf3.c: Fix horizontal whitespace.
38336         * soft-fp/addsf3.c: Likewise.
38337         * soft-fp/addtf3.c: Likewise.
38338         * soft-fp/divdf3.c: Likewise.
38339         * soft-fp/divsf3.c: Likewise.
38340         * soft-fp/divtf3.c: Likewise.
38341         * soft-fp/double.h: Likewise.
38342         * soft-fp/eqdf2.c: Likewise.
38343         * soft-fp/eqsf2.c: Likewise.
38344         * soft-fp/eqtf2.c: Likewise.
38345         * soft-fp/extenddftf2.c: Likewise.
38346         * soft-fp/extended.h: Likewise.
38347         * soft-fp/extendsfdf2.c: Likewise.
38348         * soft-fp/extendsftf2.c: Likewise.
38349         * soft-fp/extendxftf2.c: Likewise.
38350         * soft-fp/fixdfdi.c: Likewise.
38351         * soft-fp/fixdfsi.c: Likewise.
38352         * soft-fp/fixdfti.c: Likewise.
38353         * soft-fp/fixsfdi.c: Likewise.
38354         * soft-fp/fixsfsi.c: Likewise.
38355         * soft-fp/fixsfti.c: Likewise.
38356         * soft-fp/fixtfdi.c: Likewise.
38357         * soft-fp/fixtfsi.c: Likewise.
38358         * soft-fp/fixtfti.c: Likewise.
38359         * soft-fp/fixunsdfdi.c: Likewise.
38360         * soft-fp/fixunsdfsi.c: Likewise.
38361         * soft-fp/fixunsdfti.c: Likewise.
38362         * soft-fp/fixunssfdi.c: Likewise.
38363         * soft-fp/fixunssfsi.c: Likewise.
38364         * soft-fp/fixunssfti.c: Likewise.
38365         * soft-fp/fixunstfdi.c: Likewise.
38366         * soft-fp/fixunstfsi.c: Likewise.
38367         * soft-fp/fixunstfti.c: Likewise.
38368         * soft-fp/floatdidf.c: Likewise.
38369         * soft-fp/floatdisf.c: Likewise.
38370         * soft-fp/floatditf.c: Likewise.
38371         * soft-fp/floatsidf.c: Likewise.
38372         * soft-fp/floatsisf.c: Likewise.
38373         * soft-fp/floatsitf.c: Likewise.
38374         * soft-fp/floattidf.c: Likewise.
38375         * soft-fp/floattisf.c: Likewise.
38376         * soft-fp/floattitf.c: Likewise.
38377         * soft-fp/floatundidf.c: Likewise.
38378         * soft-fp/floatundisf.c: Likewise.
38379         * soft-fp/floatunditf.c: Likewise.
38380         * soft-fp/floatunsidf.c: Likewise.
38381         * soft-fp/floatunsisf.c: Likewise.
38382         * soft-fp/floatunsitf.c: Likewise.
38383         * soft-fp/floatuntidf.c: Likewise.
38384         * soft-fp/floatuntisf.c: Likewise.
38385         * soft-fp/floatuntitf.c: Likewise.
38386         * soft-fp/fmadf4.c: Likewise.
38387         * soft-fp/fmasf4.c: Likewise.
38388         * soft-fp/fmatf4.c: Likewise.
38389         * soft-fp/gedf2.c: Likewise.
38390         * soft-fp/gesf2.c: Likewise.
38391         * soft-fp/getf2.c: Likewise.
38392         * soft-fp/ledf2.c: Likewise.
38393         * soft-fp/lesf2.c: Likewise.
38394         * soft-fp/letf2.c: Likewise.
38395         * soft-fp/muldf3.c: Likewise.
38396         * soft-fp/mulsf3.c: Likewise.
38397         * soft-fp/multf3.c: Likewise.
38398         * soft-fp/negdf2.c: Likewise.
38399         * soft-fp/negsf2.c: Likewise.
38400         * soft-fp/negtf2.c: Likewise.
38401         * soft-fp/op-1.h: Likewise.
38402         * soft-fp/op-2.h: Likewise.
38403         * soft-fp/op-4.h: Likewise.
38404         * soft-fp/op-8.h: Likewise.
38405         * soft-fp/op-common.h: Likewise.
38406         * soft-fp/quad.h: Likewise.
38407         * soft-fp/single.h: Likewise.
38408         * soft-fp/soft-fp.h: Likewise.
38409         * soft-fp/sqrtdf2.c: Likewise.
38410         * soft-fp/sqrtsf2.c: Likewise.
38411         * soft-fp/sqrttf2.c: Likewise.
38412         * soft-fp/subdf3.c: Likewise.
38413         * soft-fp/subsf3.c: Likewise.
38414         * soft-fp/subtf3.c: Likewise.
38415         * soft-fp/truncdfsf2.c: Likewise.
38416         * soft-fp/trunctfdf2.c: Likewise.
38417         * soft-fp/trunctfsf2.c: Likewise.
38418         * soft-fp/trunctfxf2.c: Likewise.
38419         * soft-fp/unorddf2.c: Likewise.
38420         * soft-fp/unordsf2.c: Likewise.
38421         * soft-fp/unordtf2.c: Likewise.
38423 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38425         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38426         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38428 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38430         * elf/dl-libc.c: Clear initfini list after freeing.
38432 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38434         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38435         * soft-fp/addsf3.c: Likewise.
38436         * soft-fp/addtf3.c: Likewise.
38437         * soft-fp/divdf3.c: Likewise.
38438         * soft-fp/divsf3.c: Likewise.
38439         * soft-fp/divtf3.c: Likewise.
38440         * soft-fp/double.h: Likewise.
38441         * soft-fp/eqdf2.c: Likewise.
38442         * soft-fp/eqsf2.c: Likewise.
38443         * soft-fp/eqtf2.c: Likewise.
38444         * soft-fp/extenddftf2.c: Likewise.
38445         * soft-fp/extended.h: Likewise.
38446         * soft-fp/extendsfdf2.c: Likewise.
38447         * soft-fp/extendsftf2.c: Likewise.
38448         * soft-fp/extendxftf2.c: Likewise.
38449         * soft-fp/fixdfdi.c: Likewise.
38450         * soft-fp/fixdfsi.c: Likewise.
38451         * soft-fp/fixdfti.c: Likewise.
38452         * soft-fp/fixsfdi.c: Likewise.
38453         * soft-fp/fixsfsi.c: Likewise.
38454         * soft-fp/fixsfti.c: Likewise.
38455         * soft-fp/fixtfdi.c: Likewise.
38456         * soft-fp/fixtfsi.c: Likewise.
38457         * soft-fp/fixtfti.c: Likewise.
38458         * soft-fp/fixunsdfdi.c: Likewise.
38459         * soft-fp/fixunsdfsi.c: Likewise.
38460         * soft-fp/fixunsdfti.c: Likewise.
38461         * soft-fp/fixunssfdi.c: Likewise.
38462         * soft-fp/fixunssfsi.c: Likewise.
38463         * soft-fp/fixunssfti.c: Likewise.
38464         * soft-fp/fixunstfdi.c: Likewise.
38465         * soft-fp/fixunstfsi.c: Likewise.
38466         * soft-fp/fixunstfti.c: Likewise.
38467         * soft-fp/floatdidf.c: Likewise.
38468         * soft-fp/floatdisf.c: Likewise.
38469         * soft-fp/floatditf.c: Likewise.
38470         * soft-fp/floatsidf.c: Likewise.
38471         * soft-fp/floatsisf.c: Likewise.
38472         * soft-fp/floatsitf.c: Likewise.
38473         * soft-fp/floattidf.c: Likewise.
38474         * soft-fp/floattisf.c: Likewise.
38475         * soft-fp/floattitf.c: Likewise.
38476         * soft-fp/floatundidf.c: Likewise.
38477         * soft-fp/floatundisf.c: Likewise.
38478         * soft-fp/floatunsidf.c: Likewise.
38479         * soft-fp/floatunsisf.c: Likewise.
38480         * soft-fp/floatuntidf.c: Likewise.
38481         * soft-fp/floatuntisf.c: Likewise.
38482         * soft-fp/floatuntitf.c: Likewise.
38483         * soft-fp/fmadf4.c: Likewise.
38484         * soft-fp/fmasf4.c: Likewise.
38485         * soft-fp/fmatf4.c: Likewise.
38486         * soft-fp/gedf2.c: Likewise.
38487         * soft-fp/gesf2.c: Likewise.
38488         * soft-fp/getf2.c: Likewise.
38489         * soft-fp/ledf2.c: Likewise.
38490         * soft-fp/lesf2.c: Likewise.
38491         * soft-fp/letf2.c: Likewise.
38492         * soft-fp/muldf3.c: Likewise.
38493         * soft-fp/mulsf3.c: Likewise.
38494         * soft-fp/multf3.c: Likewise.
38495         * soft-fp/negdf2.c: Likewise.
38496         * soft-fp/negsf2.c: Likewise.
38497         * soft-fp/negtf2.c: Likewise.
38498         * soft-fp/op-1.h: Likewise.
38499         * soft-fp/op-2.h: Likewise.
38500         * soft-fp/op-4.h: Likewise.
38501         * soft-fp/op-8.h: Likewise.
38502         * soft-fp/op-common.h: Likewise.
38503         * soft-fp/quad.h: Likewise.
38504         * soft-fp/single.h: Likewise.
38505         * soft-fp/soft-fp.h: Likewise.
38506         * soft-fp/sqrtdf2.c: Likewise.
38507         * soft-fp/sqrtsf2.c: Likewise.
38508         * soft-fp/sqrttf2.c: Likewise.
38509         * soft-fp/subdf3.c: Likewise.
38510         * soft-fp/subsf3.c: Likewise.
38511         * soft-fp/subtf3.c: Likewise.
38512         * soft-fp/truncdfsf2.c: Likewise.
38513         * soft-fp/trunctfdf2.c: Likewise.
38514         * soft-fp/trunctfsf2.c: Likewise.
38515         * soft-fp/trunctfxf2.c: Likewise.
38516         * soft-fp/unorddf2.c: Likewise.
38517         * soft-fp/unordsf2.c: Likewise.
38518         * soft-fp/unordtf2.c: Likewise.
38520 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38522         [BZ #15672]
38523         * misc/error.c (error_tail): Fix possible buffer overflow.
38525 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38527         [BZ #13028]
38528         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38529         address.
38531 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38533         [BZ #832]
38534         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38535         testing pipefail option.
38537 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38539         * soft-fp/double.h: Indent preprocessor directives inside #if.
38540         * soft-fp/extended.h: Likewise.
38541         * soft-fp/op-2.h: Likewise.
38542         * soft-fp/op-4.h: Likewise.
38543         * soft-fp/op-common.h: Likewise.
38544         * soft-fp/quad.h: Likewise.
38545         * soft-fp/single.h: Likewise.
38546         * soft-fp/soft-fp.h: Likewise.
38548 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38550         * iconv/iconv_prog.c: Fix typos.
38551         * stdio-common/psiginfo-data.h: Likewise.
38553 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38555         [BZ #15764]
38556         * locale/setlocale.c: Fix typo.
38558 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38560         [BZ #16036]
38561         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38562         signaling NaN arguments.
38563         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38564         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38566         [BZ #14910]
38567         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38568         unordered operands.
38569         * soft-fp/gesf2.c (__gesf2): Likewise.
38570         * soft-fp/getf2.c (__getf2): Likewise.
38571         * soft-fp/ledf2.c (__ledf2): Likewise.
38572         * soft-fp/lesf2.c (__lesf2): Likewise.
38573         * soft-fp/letf2.c (__letf2): Likewise.
38575         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38576         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38577         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38578         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38579         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38580         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38581         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38582         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38583         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38584         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38585         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38586         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38587         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38588         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38589         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38590         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38591         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38592         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38593         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38594         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38595         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38596         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38597         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38598         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38599         * soft-fp/floattidf.c (__floattidf): Likewise.
38600         * soft-fp/floattisf.c (__floattisf): Likewise.
38601         * soft-fp/floattitf.c (__floattitf): Likewise.
38602         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38603         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38604         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38605         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38606         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38607         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38608         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38609         * soft-fp/gesf2.c (__gesf2): Likewise.
38610         * soft-fp/getf2.c (__getf2): Likewise.
38611         * soft-fp/ledf2.c (__ledf2): Likewise.
38612         * soft-fp/lesf2.c (__lesf2): Likewise.
38613         * soft-fp/letf2.c (__letf2): Likewise.
38615         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38616         Undefine and redefine.
38617         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38618         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38619         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38620         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38621         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38622         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38623         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38624         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38625         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38626         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38627         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38628         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38629         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38630         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38631         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38633         [BZ #16032]
38634         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38635         without decrementing exponent if mantissa >= that for the
38636         denominator, not >.
38637         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38638         denominator, not >.  Decrement exponent in < case instead of
38639         incrementing in >= case.
38640         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38641         without decrementing exponent if mantissa >= that for the
38642         denominator, not >.
38644         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38645         computing saturated result for unsigned overflow.
38647 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38648             Jeff Law  <law@redhat.com>
38650         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38651         (atan2Mp): Add systemtap probe marker.
38652         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38653         (__ieee754_log): Add systemtap probe marker.
38654         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38655         (atanMp): Add systemtap probe marker.
38656         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38657         (tanMp): Add systemtap probe marker.
38658         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38659         (__slowexp): Add systemtap probe marker.
38660         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38661         (__slowpow): Add systemtap probe marker.
38662         * manual/probes.texi: Document probes.
38664 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38666         [BZ #15362]
38667         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38668         written.
38669         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38670         written.
38671         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38672         written to buffer but not flushed.
38673         * libio/iofwrite_u.c:  Likewise.
38674         * libio/iopadn.c:  Return bytes returned even if EOF was
38675         encountered.
38676         * libio/iowpadn.c:  Likewise.
38677         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38678         if _IO_padn does not write the whole buffer.
38679         [!COMPILE_WPRINTF] (PAD): Likewise.
38681 2013-10-10  David S. Miller  <davem@davemloft.net>
38683         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38684         directory block.
38686 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38688         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38689         instead of FSF address.
38690         * soft-fp/fixdfti.c: Likewise.
38691         * soft-fp/fixsfti.c: Likewise.
38692         * soft-fp/fixtfti.c: Likewise.
38693         * soft-fp/fixunsdfti.c: Likewise.
38694         * soft-fp/fixunssfti.c: Likewise.
38695         * soft-fp/fixunstfti.c: Likewise.
38696         * soft-fp/floattidf.c: Likewise.
38697         * soft-fp/floattisf.c: Likewise.
38698         * soft-fp/floattitf.c: Likewise.
38699         * soft-fp/floatuntidf.c: Likewise.
38700         * soft-fp/floatuntisf.c: Likewise.
38701         * soft-fp/floatuntitf.c: Likewise.
38702         * soft-fp/trunctfxf2.c: Likewise.
38704         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38705         * soft-fp/fixdfti.c: Likewise.
38706         * soft-fp/fixsfti.c: Likewise.
38707         * soft-fp/fixtfti.c: Likewise.
38708         * soft-fp/fixunsdfti.c: Likewise.
38709         * soft-fp/fixunssfti.c: Likewise.
38710         * soft-fp/fixunstfti.c: Likewise.
38711         * soft-fp/floattidf.c: Likewise.
38712         * soft-fp/floattisf.c: Likewise.
38713         * soft-fp/floattitf.c: Likewise.
38714         * soft-fp/floatuntidf.c: Likewise.
38715         * soft-fp/floatuntisf.c: Likewise.
38716         * soft-fp/floatuntitf.c: Likewise.
38717         * soft-fp/trunctfxf2.c: Likewise.
38719 2013-10-10  David S. Miller  <davem@davemloft.net>
38721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38723 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38725         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38726         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38727         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38728         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38729         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38730         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38731         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38733         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38734         for NaNs before doing comparisons on argument.
38735         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38736         Likewise.
38738 2013-10-10  Will Newton  <will.newton@linaro.org>
38740         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38741         passed to _int_memalign does not overflow.
38743 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38745         * scripts/bench.pl: Add include-sources directive.
38746         * benchtests/README: Update documentation.
38748 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38750         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38751         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38752         instead of FP_INIT_ROUNDMODE.
38753         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38754         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38756         [BZ #16034]
38757         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38758         copy class of input value.
38759         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38760         not handle exceptions.
38761         * soft-fp/negsf2.c (__negsf2): Likewise.
38762         * soft-fp/negtf2.c (__negtf2): Likewise.
38763         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38765 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38767         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38768         semicolon.  From Linux kernel.
38770 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38772         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38774 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38776         [BZ #156]
38777         * manual/socket.texi: Added statement about buffer
38778         for gethostbyname2_r.
38780 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38782         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38783         Use .p2align directive instead, throughout.
38784         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38785         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38786         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38787         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38788         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38789         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38790         * sysdeps/x86_64/strchr.S: Likewise.
38791         * sysdeps/x86_64/strrchr.S: Likewise.
38793 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38795         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38797         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38799         * sysdeps/generic/math_private.h (__mpsin1): Remove
38800         declaration.
38801         (__mpcos1): Likewise.
38802         (__mpsin): New argument __range_reduce.
38803         (__mpcos): Likewise.
38804         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38805         (slow): Use __mpsin and __mpcos.
38806         (slow1): Likewise.
38807         (slow2): Likewise.
38808         (sloww): Likewise.
38809         (sloww1): Likewise.
38810         (sloww2): Likewise.
38811         (bsloww): Likewise.
38812         (bsloww1): Likewise.
38813         (bsloww2): Likewise.
38814         (cslow2): Likewise.
38815         (csloww): Likewise.
38816         (csloww1): Likewise.
38817         (csloww2): Likewise.
38818         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38819         range_reduce.  Merge in __mpsin1.
38820         (__mpcos): Likewise.
38821         (__mpsin1): Remove.
38822         (__mpcos1): Likewise.
38824 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38826         * locale/loadlocale.c (_nl_intern_locale_data): Use
38827         LOCFILE_ALIGNED_P.
38828         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38829         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38830         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38831         obstack data is appropriately aligned.
38832         (obstack_int32_grow_fast): Likewise.
38833         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38834         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38835         (add_locale_uint32_array): Likewise.
38837 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38839         * benchtests/Makefile: Remove ARGLIST and RET variables.
38840         ($(objpfx)bench-%.c): Pass only function name to the script.
38841         * benchtests/README: Update documentation.
38842         * benchtests/acos-inputs: Add new directives.
38843         * benchtests/acosh-inputs: Likewise.
38844         * benchtests/asin-inputs: Likewise.
38845         * benchtests/asinh-inputs: Likewise.
38846         * benchtests/atan-inputs: Likewise.
38847         * benchtests/atanh-inputs: Likewise.
38848         * benchtests/cos-inputs: Likewise.
38849         * benchtests/cosh-inputs: Likewise.
38850         * benchtests/exp-inputs: Likewise.
38851         * benchtests/log-inputs: Likewise.
38852         * benchtests/pow-inputs: Likewise.
38853         * benchtests/rint-inputs: Likewise.
38854         * benchtests/sin-inputs: Likewise.
38855         * benchtests/sinh-inputs: Likewise.
38856         * benchtests/tan-inputs: Likewise.
38857         * benchtests/tanh-inputs: Likewise.
38858         * scripts/bench.pl: Add support for new directives.
38860 2013-10-07  Alan Modra  <amodra@gmail.com>
38862         * README: Fix careless merge.
38864 2013-10-05  Alan Modra  <amodra@gmail.com>
38866         * NEWS: Mention powerpc64le support and bugs fixed.
38867         * README: Both big-endian and little-endian powerpc64 supported.
38869 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38871         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38872         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38873         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38874         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38876 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38878         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38879         match prototype.
38881 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38883         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38884         Move -mhard-float appending from
38885         ports/sysdeps/powerpc/powerpc32/Makefile.
38886         [$(with-fp) = yes] (ASFLAGS): Likewise.
38887         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38888         * sysdeps/powerpc/nofpu: Move directory from
38889         ports/sysdeps/powerpc/nofpu.
38890         * sysdeps/powerpc/soft-fp: Move directory from
38891         ports/sysdeps/powerpc/soft-fp.
38892         * sysdeps/powerpc/powerpc32/405: Move directory from
38893         ports/sysdeps/powerpc/powerpc32/405.
38894         * sysdeps/powerpc/powerpc32/440: Move directory from
38895         ports/sysdeps/powerpc/powerpc32/440.
38896         * sysdeps/powerpc/powerpc32/464: Move directory from
38897         ports/sysdeps/powerpc/powerpc32/464.
38898         * sysdeps/powerpc/powerpc32/476: Move directory from
38899         ports/sysdeps/powerpc/powerpc32/476.
38900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38901         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38903         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38905         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38907         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38909         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38910         * README: Update for powerpc-*-linux-gnu software floating point
38911         support in libc.
38913         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38914         case to powerpc/powerpc32*.
38915         * sysdeps/unix/sysv/linux/configure: Regenerated.
38917         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38918         (_FPU_MASK_OM): Define as 0x04.
38919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38921         0x00c10080.
38922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38923         0x0000003c.
38924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38927         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38928         getcontext_e500.
38929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38930         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38931         setcontext_e500.
38932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38933         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38934         and setcontext_e500.
38936 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38938         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38940 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38942         * manual/threads.texi (Default Thread Attributes): Fix typo.
38944 2013-10-04  Will Newton  <will.newton@linaro.org>
38946         * malloc/Makefile: Add tst-memalign.
38947         * malloc/tst-memalign.c: New file.
38949         * malloc/tst-posix_memalign.c: Add comments.
38950         (do_test): Add comments and call free on all potentially
38951         allocated pointers. Add space after cast.
38953         * malloc/tst-pvalloc.c: Add comments.
38954         (do_test): Add comments and call free on all potentially
38955         allocated pointers. Remove duplicate check for NULL pointer.
38956         Add space after cast.
38958         * malloc/tst-valloc.c: Add comments.
38959         (do_test): Add comments and call free on all potentially
38960         allocated pointers. Remove duplicate check for NULL pointer.
38961         Add space after cast.
38963 2013-10-04  Alan Modra  <amodra@gmail.com>
38965         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38966         Use stdint types in rather than __attribute__((mode())).
38967         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38969 2013-10-04  Alan Modra  <amodra@gmail.com>
38971         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38972         Correct handling of unaligned relocs for little-endian.
38973         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38975 2013-10-04  Alan Modra  <amodra@gmail.com>
38977         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38978         * configure: Regenerate.
38979         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38980         * shlib-versions: Likewise.
38982 2013-10-04  Alan Modra  <amodra@gmail.com>
38984         * string/tester.c (test_memrchr): Increment reported test cycle.
38986 2013-10-04  Alan Modra  <amodra@gmail.com>
38988         * string/test-memcpy.c (do_one_test): When reporting errors, print
38989         string address and don't overrun end of string.
38991 2013-10-04  Alan Modra  <amodra@gmail.com>
38993         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38994         insrdi.  Make better use of reg selection to speed exit slightly.
38995         Schedule entry path a little better.  Remove useless "are we done"
38996         checks on entry to main loop.  Handle wrapping around zero address.
38997         Correct main loop count.  Handle single left-over word from main
38998         loop inline rather than by using loop_small.  Remove extra word
38999         case in loop_small caused by wrong loop count.  Add little-endian
39000         support.
39001         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39002         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39003         cache hint.
39004         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39005         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39006         support.  Avoid rlwimi.
39007         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39009 2013-10-04  Alan Modra  <amodra@gmail.com>
39011         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39012         insrdi.  Formatting.
39013         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39014         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39015         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39016         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39017         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39018         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39020 2013-10-04  Alan Modra  <amodra@gmail.com>
39022         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39023         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39024         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39025         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39026         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39027         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39028         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39029         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39030         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39031         use of regs.  Use power7 mtocrf.  Tidy function tails.
39033 2013-10-04  Alan Modra  <amodra@gmail.com>
39035         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39036         Formatting.  Consistently use rXXX register defines or rN defines.
39037         Use early exit labels that avoid restoring unused non-volatile regs.
39038         Make cr field use more consistent with rWORDn compares.  Rename
39039         regs used as shift registers for unaligned loop, using rN defines
39040         for short lifetime/multiple use regs.
39041         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39042         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39043         addi 1,1,64 to pop stack frame.  Simplify return value code.
39044         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39046 2013-10-04  Alan Modra  <amodra@gmail.com>
39048         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39049         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39050         rather than rlwimi.
39051         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39052         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39053         little-endian support.  Correct typos.
39054         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39055         rather than rlwimi.
39056         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39057         in loop and entry code to keep "and." results.
39058         (strchr): Add little-endian support.  Comment.  Move cntlzd
39059         earlier in tail.
39060         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39062 2013-10-04  Alan Modra  <amodra@gmail.com>
39064         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39065         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39066         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39067         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39069 2013-10-04  Alan Modra  <amodra@gmail.com>
39071         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39072         (rTMP): Define as r11.
39073         (strcmp): Add little-endian support.  Optimise tail.
39074         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39075         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39076         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39077         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39078         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39079         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39080         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39082 2013-10-04  Alan Modra  <amodra@gmail.com>
39084         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39085         little-endian support.  Remove unnecessary "are we done" tests.
39086         Handle "s" wrapping around zero and extremely large "size".
39087         Correct main loop count.  Handle single left-over word from main
39088         loop inline rather than by using small_loop.  Correct comments.
39089         Delete "zero" tail, use "end_max" instead.
39090         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39092 2013-10-04  Alan Modra  <amodra@gmail.com>
39094         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39095         support.  Don't branch over align.
39096         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39097         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39098         support.  Rearrange tmp reg use to suit.  Comment.
39099         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39101 2013-10-04  Alan Modra  <amodra@gmail.com>
39103         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39105 2013-10-04  Alan Modra  <amodra@gmail.com>
39107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39108         conditional form of branch and link when obtaining pc.
39109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39111 2013-10-04  Alan Modra  <amodra@gmail.com>
39113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39114         HIWORD/LOWORD.
39115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39118 2013-10-04  Alan Modra  <amodra@gmail.com>
39120         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39121         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39122         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39123         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39124         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39125         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39126         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39127         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39128         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39129         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39131 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39132             Alistair Popple <alistair@ozlabs.au.ibm.com>
39133             Alan Modra <amodra@gmail.com>
39135         [BZ #15723]
39136         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39137         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39138         _dl_hwcap access for little-endian.
39139         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39140         destroy vmx regs when saving unaligned.
39141         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39142         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39143         destroy vmx regs when saving unaligned.
39145 2013-10-04  Alan Modra  <amodra@gmail.com>
39147         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39148         Don't use a union to pack hi/low value.
39150 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39152         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39153         for little-endian.
39154         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39155         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39156         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39157         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39158         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39160 2013-10-04  Alan Modra  <amodra@gmail.com>
39162         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39163         constants to usual value for .cst8 section, and remove redundant
39164         high address load.
39165         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39166         constant for 0x1p52.  Load little-endian words of double from
39167         correct stack offsets.
39169 2013-10-04  Alan Modra  <amodra@gmail.com>
39171         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39172         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39173         words of double from correct stack offsets.
39174         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39175         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39176         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39177         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39178         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39179         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39180         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39181         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39182         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39183         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39184         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39185         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39186         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39187         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39188         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39189         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39190         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39192 2013-10-04  Alan Modra  <amodra@gmail.com>
39194         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39195         64-bit int/double union.
39196         (_FPU_SETCW): Likewise.
39197         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39198         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39200 2013-10-04  Alan Modra  <amodra@gmail.com>
39202         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39203         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39205 2013-10-04  Alan Modra  <amodra@gmail.com>
39207         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39208         use vector int constants.
39209         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39211 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39213         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39214         array with long long.
39215         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39216         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39217         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39218         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39219         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39220         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39221         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39222         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39223         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39224         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39225         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39226         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39227         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39229 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39231         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39232         (__signbit): Likewise.  Correct for little-endian.
39233         (__signbitl): Call __signbit.
39234         (lrint): Correct for little-endian.
39235         (lrintf): Call lrint.
39237 2013-10-04  Alan Modra  <amodra@gmail.com>
39239         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39240         union 32-bit int array member with 64-bit int array.
39241         (t515, tm256): Double rather than long double.
39242         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39244 2013-10-04  Alan Modra  <amodra@gmail.com>
39246         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39247         Delete.
39248         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39250         version of math_ldbl.h.
39252 2013-10-04  Alan Modra  <amodra@gmail.com>
39254         [BZ #15734], [BZ #15735]
39255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39256         all uses of ieee875 long double macros and unions.  Simplify test
39257         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39258         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39259         normalize after ldbl_extract_mantissa, and don't add hidden bit
39260         already handled.  Don't treat low word of ieee854 mantissa like
39261         low word of IBM long double and mask off bit when testing for
39262         zero.
39263         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39264         all uses of ieee875 long double macros and unions.  Simplify tests
39265         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39266         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39267         two1022, instead use their values.  Recognise that tests for large
39268         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39269         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39270         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39271         test for 0.0L and nan.  Correct negation.
39272         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39273         ieee875 long double macros and unions.  Correct output for large
39274         magnitude x.  Correct absolute value calculation.
39275         (__erfcl): Likewise.
39276         * math/libm-test.inc: Add tests for errors discovered in IBM long
39277         double versions of fmodl, remainderl, erfl and erfcl.
39279 2013-10-04  Alan Modra  <amodra@gmail.com>
39281         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39282         all uses of ieee854 long double macros and unions.  Simplify tests
39283         for long doubles that are fully specified by the high double.
39284         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39285         Likewise.
39286         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39287         Remove dead code too.
39288         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39289         (__ieee754_ynl): Likewise.
39290         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39291         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39293         Remove dead code too.
39294         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39295         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39296         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39297         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39298         Simplify.
39299         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39300         Simplify.
39301         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39302         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39303         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39304         Comment on variable precision.
39305         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39306         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39307         Likewise.
39308         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39309         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39310         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39311         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39312         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39314 2013-10-04  Alan Modra  <amodra@gmail.com>
39316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39317         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39318         all uses of ieee854 long double macros and unions.
39319         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39321         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39322         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39323         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39324         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39325         Likewise.
39326         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39327         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39328         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39329         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39330         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39331         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39332         Simplify sign and nan test too.
39333         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39334         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39335         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39336         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39337         Likewise.
39338         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39339         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39340         Likewise.
39341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39342         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39343         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39344         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39345         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39346         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39348 2013-10-04  Alan Modra  <amodra@gmail.com>
39350         * stdio-common/printf_size.c (__printf_size): Don't use
39351         union ieee854_long_double in fpnum union.
39352         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39353         signbit macro to retrieve sign from long double.
39354         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39355         retrieve sign from long double.
39356         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39357         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39358         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39359         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39360         * math/test-misc.c (main): Don't use union ieee854_long_double.
39362 2013-10-04  Alan Modra  <amodra@gmail.com>
39364         [BZ #15680]
39365         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39366         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39367         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39368         calculation.  Remove unnecessary test for denormal exponent.
39369         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39370         Correct handling of denormals.  Avoid undefined shift behaviour.
39371         Correct normalisation of low mantissa when low double is denormal.
39372         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39373         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39374         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39375         Correct normalisation of low mantissa.  Test for overflow of high
39376         mantissa and normalise.
39377         (ldbl_nearbyint): Use more readable constant for two52.
39378         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39379         (__mpn_construct_long_double): Fix test for overflow of high
39380         mantissa and correct normalisation.  Avoid undefined shift.
39382 2013-10-04  Alan Modra  <amodra@gmail.com>
39384         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39385         (union ibm_extended_long_double): Define as an array of ieee754_double.
39386         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39387         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39388         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39389         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39390         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39391         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39392         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39393         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39394         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39395         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39396         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39398 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39400         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39401         page size instead of calling getpagesize.
39403         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39404         (LOCFILE_ALIGN_MASK): Likewise.
39405         (LOCFILE_ALIGN_UP): Likewise.
39406         (LOCFILE_ALIGNED_P): Likewise.
39407         * locale/programs/ld-collate.c (collate_output): Use the new
39408         macros instead of __alignof__ (int32_t).
39409         * locale/weight.h (findidx): Likewise.
39411 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39413         [BZ #431]
39414         * manual/string.texi: Fix strncat and wcsncat.
39416 2013-10-03  Brooks Moses  <bmoses@google.com>
39418         [BZ #15915]
39419         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39420         * Makerules: ...here, and adjust associated comments.
39422 2013-10-02  Will Newton  <will.newton@linaro.org>
39424         * malloc/Makefile: Add tst-pvalloc.
39425         * malloc/tst-pvalloc.c: New file.
39427 2013-10-02  Will Newton  <will.newton@linaro.org>
39429         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39430         improve test coverage.
39432 2013-10-02  Will Newton  <will.newton@linaro.org>
39434         * malloc/Makefile: Add tst-posix_memalign.
39435         * malloc/tst-posix_memalign.c: New file.
39437 2013-10-01  Eric Blake  <eblake@redhat.com>
39439         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39440         Use __THROWNL rather than __THROW on static functions.
39442 2013-09-30  Petr Machata  <pmachata@redhat.com>
39444         * elf/elf.h (R_AARCH64_ABS16): New macro.
39445         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39446         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39447         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39448         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39449         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39450         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39451         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39452         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39453         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39454         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39455         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39456         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39457         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39458         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39459         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39460         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39461         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39462         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39463         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39464         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39465         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39466         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39467         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39468         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39469         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39470         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39471         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39472         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39473         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39474         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39475         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39476         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39477         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39478         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39479         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39480         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39481         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39482         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39483         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39484         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39485         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39486         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39487         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39488         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39489         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39490         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39491         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39492         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39493         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39494         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39495         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39496         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39497         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39498         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39499         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39500         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39501         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39502         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39503         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39504         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39505         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39506         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39507         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39508         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39509         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39510         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39511         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39512         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39513         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39514         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39515         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39516         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39517         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39518         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39519         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39520         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39521         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39522         (R_AARCH64_TLSDESC_LDR): Likewise.
39523         (R_AARCH64_TLSDESC_ADD): Likewise.
39524         (R_AARCH64_TLSDESC_CALL): Likewise.
39526 2013-09-30  Andreas Schwab  <schwab@suse.de>
39528         [BZ #15048]
39529         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39530         the nss database lookup.
39531         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39534 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39536         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39538 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39540         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39541         ${Bash-specific parameter/pattern/string} parameter expansion.
39542         * sysdeps/unix/make-syscalls.sh: Likewise.
39544 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39546         * sysdeps/sh/stackguard-macros.h: New file.
39548 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39550         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39552         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39553         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39554         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39555         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39557 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39559         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39560         Fix thread ID register.
39562 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39564         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39565         [POSIX || UNIX98]: Require rather than permitting all symbols from
39566         <time.h>.
39567         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39568         element of struct sched_param.
39569         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39570         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39571         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39572         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39573         constant.
39575 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39577         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39578         argument calculation.
39580 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39582         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39583         Expect macro.
39584         [POSIX] (pthread_attr_t): Do not require type.
39585         [POSIX] (pthread_cond_t): Likewise.
39586         [POSIX] (pthread_condattr_t): Likewise.
39587         [POSIX] (pthread_key_t): Likewise.
39588         [POSIX] (pthread_mutex_t): Likewise.
39589         [POSIX] (pthread_mutexattr_t): Likewise.
39590         [POSIX] (pthread_once_t): Likewise.
39591         [POSIX] (pthread_t): Likewise.
39592         [POSIX-based standards] (pthread_atfork): Expect function.
39594 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39595             Richard Sandiford  <richard@codesourcery.com>
39597         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39598         (swap_endianness_p): New extern variable.
39599         (set_big_endian): New inline function.
39600         (maybe_swap_uint32): Likewise.
39601         (maybe_swap_uint32_array): Likewise.
39602         (maybe_swap_uint32_obstack): Likewise.
39603         * locale/programs/locfile.c: Include <stdbool.h>.
39604         (swap_endianness_p): New variable.
39605         (add_locale_uint32): Call maybe_swap_uint32.
39606         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39607         (write_locale_data): Call maybe_swap_uint32_array.
39608         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39609         maybe_swap_uint32.
39610         (obstack_int32_grow_fast): Likewise.
39611         (output_weightwc): Call maybe_swap_uint32_obstack.
39612         (collate_output): Likewise.
39613         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39614         (OPT_LITTLE_ENDIAN): Likewise.
39615         (options): Add --little-endian and --big-endian options.
39616         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39617         * locale/programs/locarchive.c: Include "locfile.h".
39618         (GET): New macro.
39619         (SET): Likewise.
39620         (INC): Likewise.
39621         (create_archive): Use the new macros to access fields of
39622         structures directly mapped from or written to locale archives.
39623         (oldlocrecentcmp): Likewise.
39624         (enlarge_archive): Likewise.
39625         (insert_name): Likewise.
39626         (add_alias): Likewise.
39627         (add_locale): Likewise.
39628         (delete_locales_from_archive): Likewise.
39629         (show_archive_content): Likewise.
39630         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39631         locale data.
39633 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39635         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39636         http://www.gnu.org/doc/freemanuals.texi.
39637         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39639 2013-09-24  Will Newton  <will.newton@linaro.org>
39641         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39642         macro.
39644 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39646         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39647         unsigned char.
39649 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39651         * manual/threads.texi (POSIX Threads): Fix a typo.
39653 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39655         [BZ #14547]
39656         * string/tst-strcoll-overflow.c: New test case.
39657         * string/Makefile (xtests): Add tst-strcoll-overflow.
39658         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39659         cache if string sizes may cause integer overflow.
39661         [BZ #14547]
39662         * string/strcoll_l.c (coll_seq): New members rule, idx,
39663         save_idx and back_us.
39664         (get_next_seq_nocache): New function.
39665         (do_compare_nocache): New function.
39666         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39667         when malloc fails.
39669 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39671         [BZ #15754]
39672         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39673         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39674         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39676         [BZ #15754]
39677         * elf/Makefile (tests): Add tst-ptrguard1.
39678         (tests-static): Add tst-ptrguard1-static.
39679         (tst-ptrguard1-ARGS): Define.
39680         (tst-ptrguard1-static-ARGS): Define.
39681         * elf/tst-ptrguard1.c: New file.
39682         * elf/tst-ptrguard1-static.c: New file.
39683         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39684         * sysdeps/i386/stackguard-macros.h: Likewise.
39685         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39686         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39687         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39688         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39689         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39690         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39692 2013-09-23  Hector Marco  <hecmargi@upv.es>
39693             Ismael Ripoll  <iripoll@disca.upv.es>
39694             Carlos O'Donell  <carlos@redhat.com>
39696         [BZ #15754]
39697         * sysdeps/generic/stackguard-macros.h: Define
39698         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39699         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39700         Define __pointer_chk_guard_local.
39701         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39702         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39704 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39706         [BZ #15859]
39707         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39709 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39711         * include/string.h (__ffs): Declare as hidden.
39712         * string/ffs.c (__ffs): Define as hidden.
39713         * sysdeps/i386/ffs.c (__ffs): Likewise.
39714         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39715         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39716         * sysdeps/s390/ffs.c (__ffs): Likewise.
39717         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39719 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39721         * NEWS: Mention malloc probes.
39723         * malloc/arena.c (new_heap): New memory_heap_new probe.
39724         (grow_heap): New memory_heap_more probe.
39725         (shrink_heap): New memory_heap_less probe.
39726         (heap_trim): New memory_heap_free probe.
39727         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39728         (systrim): New memory_sbrk_less probe.
39729         * manual/probes.texi: Document them.
39731         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39732         * manual/probes.texi: Document it.
39734         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39735         (__libc_realloc): Add memory_realloc_retry probe.
39736         (__libc_memalign): Add memory_memalign_retry probe.
39737         (__libc_valloc): Add memory_valloc_retry probe.
39738         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39739         (__libc_calloc): Add memory_calloc_retry probe.
39740         * manual/probes.texi: Document them.
39742         * malloc/arena.c (get_free_list): Add probe
39743         memory_arena_reuse_free_list.
39744         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39745         and memory_arena_reuse.
39746         (arena_get2) [!PER_THREAD]: Likewise.
39747         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39748         memory_arena_reuse_realloc.
39749         * manual/probes.texi: Document them.
39751         * malloc/malloc.c (__libc_free): Add
39752         memory_mallopt_free_dyn_thresholds probe.
39753         (__libc_mallopt): Add multiple memory_mallopt probes.
39754         * manual/probes.texi: Document them.
39756         * malloc/malloc.c: Include stap-probe.h.
39757         (__libc_mallopt): Add memory_mallopt probe.
39758         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39759         * manual/probes.texi: New.
39760         * manual/Makefile (chapters): Add probes.
39761         * manual/threads.texi: Set next node.
39763 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39765         [BZ #15963, #13985]
39766         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39767         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39768         Add `Chinese' to `nan' entry name.
39770 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39772         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39773         (POLYNOMIAL): Likewise.
39774         (TAYLOR_SINCOS): Likewise.
39775         (TAYLOR_SLOW): Likewise.
39776         (__sin): Use TAYLOR_SINCOS.
39777         (__cos): Likewise.
39778         (slow): Use TAYLOR_SLOW.
39779         (sloww): Likewise.
39780         (bsloww): Likewise.
39781         (csloww): Likewise.
39783 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39785         * stdlib/strtod_l.c: Fix buffer overrun.
39787 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39789         * benchtests/Makefile (bench): Add sincos.
39790         * benchtests/bench-sincos.c: New file.
39792         * math/libm-test.inc (cos_test_data): New test inputs.
39793         (sin_test_data): Likewise.
39795         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39796         macro.
39797         (__sin): Use it.
39798         (__cos): Likewise.
39799         (slow1): Likewise.
39800         (slow2): Likewise.
39801         (sloww1): Likewise.
39802         (sloww2): Likewise.
39803         (bsloww1): Likewise.
39804         (bsloww2): Likewise.
39805         (cslow2): Likewise.
39806         (csloww1): Likewise.
39807         (csloww2): Likewise.
39809         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39810         function.
39811         (__sin): Use it.
39812         (__cos): Likewise.
39814         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39815         gotos.
39816         (__cos): Likewise.
39818 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39820         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39821         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39822         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39823         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39824         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39825         * elf/cache.c (print_entry): Handle the new cache flags.
39827 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39828             Aldy Hernandez  <aldyh@redhat.com>
39830         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39831         Change condition to [_SOFT_FLOAT].
39832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39841         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39842         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39843         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39844         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39847         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39848         declaration.
39850 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39852         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39853         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39854         (__longjmp): Use LOAD_GP to load saved GPRs.
39855         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39856         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39857         (__sigsetjmp): Use SAVE_GP to save GPRs.
39859         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39860         Do not append -msoft-float.
39861         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39863 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39865         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39867 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39869         [BZ #15966]
39870         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39871         (_FPU_GETCW): Use initial "__" on variable and field names but not
39872         on macro parameter name.
39873         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39874         parentheses around reference to macro parameter.
39876 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39878         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39879         prototype.
39880         (ctype_startup): Use uint32_t in cast and sizeof for
39881         ctype->charnames.
39883 2013-09-11  Jia Liu  <proljc@gmail.com>
39885         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39886         __daddr_t_defined.
39887         [__FreeBSD__]: Likewise.
39889 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39892         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39893         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39894         (strchr): Remove __strchr_sse42 ifunc selection.
39895         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39896         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39898 2013-09-11  Will Newton  <will.newton@linaro.org>
39900         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39901         parameter to RES. Remove hardcoded 1000 value.
39902         * benchtests/bench-skeleton.c (main): Pass RES parameter
39903         to TIMING_INIT and multiply result by 1000.
39905 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39909 2013-09-11  Andreas Schwab  <schwab@suse.de>
39911         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39912         if not defined.
39913         (O_TMPFILE) [__USE_GNU]: Define.
39914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39915         Define.
39917 2013-09-11  Will Newton  <will.newton@linaro.org>
39919         [BZ #15857]
39920         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39921         does not overflow.
39923 2013-09-11  Will Newton  <will.newton@linaro.org>
39925         [BZ #15856]
39926         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39927         does not overflow.
39929 2013-09-11  Will Newton  <will.newton@linaro.org>
39931         [BZ #15855]
39932         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39933         does not overflow.
39935 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39937         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39938         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39939         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39940         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39941         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39943 2013-09-10  Allan McRae  <allan@archlinux.org>
39945         [BZ #15748]
39946         * manual/arith.texi (Parsing of Floats): Clarify
39947         cross-reference.
39949         [BZ #15849]
39950         * manual/install.texi (Running make install): Mention
39951         --enable-pt-chown.
39952         * INSTALL: Regenerated.
39954 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39956         * csu/init-first.c (_init): Remove the !SHARED condition around
39957         FPU control word initialization.
39958         * elf/dl-support.c (_dl_fpu_control): New variable.
39959         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39960         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39961         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39962         * math/test-fpucw-static.c: New file.
39963         * math/test-fpucw-ieee.c: New file.
39964         * math/test-fpucw-ieee-static.c: New file.
39965         * math/Makefile (tests): Add `test-fpucw-ieee' and
39966         `$(tests-static)'.
39967         (tests-static): New variable.
39968         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39969         dependency to...
39970         [($(build-shared),yes)]
39971         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39972         ... this.
39973         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39974         New dependency.
39976 2013-09-09  Allan McRae  <allan@archlinux.org>
39978         [BZ #15939]
39979         * manual/string.texi (Collation Functions): Fix typo in
39980         strcoll example.
39981         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39983         [BZ #15893]
39984         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39986         [BZ #15892]
39987         * libio/memstream.c (open_memstream): Fix memory leak.
39988         * libio/wmemstream.c (open_wmemstream): Likewise.
39990         [BZ #15895]
39991         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39993 2013-09-09  Will Newton  <will.newton@linaro.org>
39995         * malloc/Makefile: Add tst-realloc to tests.
39996         * malloc/tst-realloc.c: New file.
39998 2013-09-09  Allan McRae  <allan@archlinux.org>
40000         [BZ #15844]
40001         * COPYING: Update from GNU website to fix FSF address.
40002         * COPYING.LIB: Likewise.
40004 2013-09-06  David S. Miller  <davem@davemloft.net>
40006         * po/zh_TW.po: Update Chinese (traditional) translation from
40007         translation project.
40009 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40010             Joseph Myers  <joseph@codesourcery.com>
40012         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40013         "localeinfo.h".
40014         (obstack_chunk_alloc): New macro.
40015         (obstack_chunk_free): Likewise.
40016         (record_offset): New function.
40017         (init_locale_data): Likewise.
40018         (align_locale_data): Likewise.
40019         (add_locale_empty): Likewise.
40020         (add_locale_raw_data): Likewise.
40021         (add_locale_raw_obstack): Likewise.
40022         (add_locale_string): Likewise.
40023         (add_locale_wstring): Likewise.
40024         (add_locale_uint32): Likewise.
40025         (add_locale_uint32_array): Likewise.
40026         (add_locale_char): Likewise.
40027         (start_locale_structure): Likewise.
40028         (end_locale_structure): Likewise.
40029         (start_locale_prelude): Likewise.
40030         (end_locale_prelude): Likewise.
40031         (write_locale_data): Take locale_file structure rather than an
40032         iovec.
40033         * locale/programs/locfile.h: Include "obstack.h".
40034         (struct locale_file): Change to store locale file contents instead
40035         of header.
40036         (init_locale_data): New prototype.
40037         (align_locale_data): Likewise.
40038         (add_locale_empty): Likewise.
40039         (add_locale_raw_data): Likewise.
40040         (add_locale_raw_obstack): Likewise.
40041         (add_locale_string): Likewise.
40042         (add_locale_wstring): Likewise.
40043         (add_locale_uint32): Likewise.
40044         (add_locale_uint32_array): Likewise.
40045         (add_locale_char): Likewise.
40046         (start_locale_structure): Likewise.
40047         (end_locale_structure): Likewise.
40048         (start_locale_prelude): Likewise.
40049         (end_locale_prelude): Likewise.
40050         (write_locale_data): Update prototype.
40051         * locale/programs/3level.h (struct TABLE): Remove result field.
40052         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40053         Use new locale_file interface.
40054         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40055         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40056         * locale/programs/ld-address.c (address_output): Use new
40057         locale_file interface.
40058         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40059         NO_ADD_LOCALE.
40060         (collate_finish): Don't call collseq_table_finalize.
40061         (collate_output): Use new locale_file interface.
40062         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40063         in file.
40064         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40065         (TABLE): Move defines earlier in file.
40066         (ELEMENT): Likewise.
40067         (DEFAULT): Likewise.
40068         (wctrans_table_add): Move macro and inline function earlier in
40069         file.
40070         (struct wctype_table): Move type earlier in file.
40071         (add_locale_wctype_table): New static prototype.
40072         (struct locale_ctype_t): Use logical types instead of struct iovec
40073         pointers for members.
40074         (ctype_output): Use new locale_file interface.
40075         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40076         new locale_file interface.
40077         (allocate_arrays): Update for use of new locale_file interface.
40078         * locale/programs/ld-identification.c (identification_output): Use
40079         new locale_file interface.
40080         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40081         * locale/programs/ld-messages.c (messages_output): Likewise.
40082         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40083         * locale/programs/ld-name.c (name_output): Likewise.
40084         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40085         * locale/programs/ld-paper.c (paper_output): Likewise.
40086         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40087         * locale/programs/ld-time.c (time_output): Likewise.
40089 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40091         * benchtests/Makefile: Add memrchr benchmark.
40092         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40093         benchmark as memrchr.
40094         * benchtests/bench-memrchr-ifunc.c: New file.
40095         * benchtests/bench-memrchr.c: New file.
40097 2013-09-06   Will Newton  <will.newton@linaro.org>
40099         * benchtests/Makefile (string-bench): Add memcpy.
40101 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40102             Cong Wang  <amwang@redhat.com>
40104         [BZ #15850]
40105         * sysdeps/unix/sysv/linux/bits/in.h
40106         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40107         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40108         before __USE_KERNEL_IPV6_DEFS uses.
40109         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40110         IPPROTO_BEETPH.
40111         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40112         sockaddr_in6, or ipv6_mreq.
40114 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40116         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40117         memory access for final bytes in some large inputs.
40118         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40120 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40122         * string/test-memrchr.c: New file.
40123         * string/test-memrchr-ifunc.c: New file.
40124         * string/Makefile: Add new memrchr testcase.
40126 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40128         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40129         fanotify_init returns EPERM.
40131 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40133         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40134         errors.
40135         (top level): Treat second token from macro or constant entries for
40136         allowed headers as allowed.
40137         * include/complex.h: Condition internal declarations on
40138         [!_ISOMAC].
40139         * include/fenv.h: Condition include of <stdbool.h> and internal
40140         declarations on [!_ISOMAC].
40142 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40144         [BZ #15923]
40145         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40147 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40149         * configure.in (--enable-versioning): Remove configure option.
40150         (libc_cv_asm_symver_directive): Remove configure test.
40151         (libc_cv_ld_version_script_option): Likewise.
40152         (VERSIONING): Remove variable and AC_SUBST.
40153         (DO_VERSIONING): Remove AC_DEFINE.
40154         * configure: Regenerated.
40155         * config.h.in (DO_VERSIONING): Remove macro.
40156         * Makerules [$(versioning) = yes]: Change conditionals to
40157         [$(build-shared) = yes].
40158         * config.make.in (versioning): Remove variable.
40159         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40160         [$(build-shared) = yes].
40161         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40162         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40163         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40164         [$(build-shared) = yes].
40165         * extra-lib.mk [$(versioning) = yes]: Likewise.
40166         * hurd/Makefile [$(versioning) = yes]: Likewise.
40167         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40168         [SHARED].
40169         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40170         [SHARED].
40171         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40172         [SHARED && !NO_HIDDEN].
40173         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40174         [SHARED].
40175         [SHARED && DO_VERSIONING]: Likewise..
40176         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40177         [$(build-shared) = yes].
40178         * manual/install.texi (--disable-versioning): Remove
40179         documentation.
40180         * INSTALL: Regenerated.
40181         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40182         to [SHARED].
40183         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40184         [$(build-shared) = yes].
40185         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40186         * sysdeps/i386/i686/multiarch/strstr-c.c
40187         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40188         [SHARED && !NO_HIDDEN].
40189         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40190         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40191         * sysdeps/powerpc/powerpc32/dl-machine.c
40192         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40193         * sysdeps/powerpc/powerpc32/sysdep.h
40194         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40195         to [SHARED && PIC && !NO_HIDDEN].
40196         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40197         conditional to [SHARED].
40199 2013-09-04   Will Newton  <will.newton@linaro.org>
40201         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40202         * benchtests/bench-string.h: Include bench-timing.h instead
40203         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40204         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40205         call to HP_TIMING_DIFF_INIT.
40206         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40207         instead of hp-timing.h macros.
40208         * benchtests/bench-memchr.c: Likewise.
40209         * benchtests/bench-memcmp.c: Likewise.
40210         * benchtests/bench-memcpy.c: Likewise.
40211         * benchtests/bench-memmem.c: Likewise.
40212         * benchtests/bench-memmove.c: Likewise.
40213         * benchtests/bench-memset.c: Likewise.
40214         * benchtests/bench-rawmemchr.c: Likewise.
40215         * benchtests/bench-strcasecmp.c: Likewise.
40216         * benchtests/bench-strcasestr.c: Likewise.
40217         * benchtests/bench-strcat.c: Likewise.
40218         * benchtests/bench-strchr.c: Likewise.
40219         * benchtests/bench-strcmp.c: Likewise.
40220         * benchtests/bench-strcpy.c: Likewise.
40221         * benchtests/bench-strcpy_chk.c: Likewise.
40222         * benchtests/bench-strlen.c: Likewise.
40223         * benchtests/bench-strncasecmp.c: Likewise.
40224         * benchtests/bench-strncat.c: Likewise.
40225         * benchtests/bench-strncmp.c: Likewise.
40226         * benchtests/bench-strncpy.c: Likewise.
40227         * benchtests/bench-strnlen.c: Likewise.
40228         * benchtests/bench-strpbrk.c: Likewise.
40229         * benchtests/bench-strrchr.c: Likewise.
40230         * benchtests/bench-strspn.c: Likewise.
40231         * benchtests/bench-strstr.c: Likewise.
40233 2013-09-04  Will Newton  <will.newton@linaro.org>
40235         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40237 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40239         [BZ #15427]
40240         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40241         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40242         * math/libm-test.inc (lgamma_test_data): Add more tests.
40243         * sysdeps/i386/fpu/libm-test-ulps: Update.
40244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40246 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40248         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40250         Add ifunc.
40251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40252         Add strcmp-sse2-unaligned
40253         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40255 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40257         * Versions.def (libc): Add GLIBC_2.19.
40259 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40261         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40262         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40264 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40266         [BZ #14155]
40267         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40268         intermediate calculations in recurrence.
40269         (__ieee754_ynf): Likewise.
40270         * math/libm-test.inc (jn_test_data): Do not allow spurious
40271         underflow exception.  Add more tests.
40272         (yn_test_data): Add more tests.
40273         * sysdeps/i386/fpu/libm-test-ulps: Update.
40274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40276 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40278         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40280 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40282         * csu/init-first.c: Fix then/than typos.
40283         * locale/programs/ld-collate.c: Likewise.
40284         * locale/programs/linereader.h: Likewise.
40285         * manual/charset.texi: Likewise.
40286         * manual/filesys.texi: Likewise.
40287         * manual/stdio.texi: Likewise.
40288         * manual/string.texi: Likewise.
40289         * stdlib/fmtmsg.c: Likewise.
40290         * sysdeps/i386/stpncpy.S: Likewise.
40291         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40292         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40293         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40294         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40296 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40298         * elf/dl-open.c: Fix typos.
40299         * iconvdata/gbbig5.c: Likewise.
40300         * iconvdata/iso-2022-jp.c: Likewise.
40301         * iconv/gconv_int.h: Likewise.
40302         * iconv/loop.c: Likewise.
40303         * nis/rpcsvc/nis.h: Likewise.
40304         * resolv/ns_name.c: Likewise.
40305         * stdio-common/vfscanf.c: Likewise.
40306         * streams/stropts.h: Likewise.
40307         * sunrpc/rpc_thread.c: Likewise.
40308         * sysdeps/i386/strpbrk.S: Likewise.
40309         * sysdeps/ieee754/k_standard.c: Likewise.
40310         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40311         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40312         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40313         * sysdeps/mach/hurd/profil.c: Likewise.
40314         * sysdeps/s390/dl-procinfo.h: Likewise.
40315         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40316         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40317         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40318         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40319         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40321 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40323         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40326 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40328         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40329         aix specific files.
40330         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40331         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40332         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40333         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40334         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40335         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40336         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40337         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40339 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40340             Roland McGrath  <roland@hack.frob.com>
40342         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40343         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40345 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40347         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40348         __executable_start symbol instead of _start.
40350 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40352         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40353         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40354         Move macros to...
40355         * sysdeps/gnu/ldsodefs.h: ... this new file.
40357         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40358         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40359         instead of ELFOSABI_LINUX.
40361         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40362         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40363         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40364         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40365         Likewise.
40366         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40367         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40368         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40369         Likewise.
40370         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40371         (ibm_extended_long_double): Add ieee_nan member.
40372         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40373         (do_test): New function.
40375         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40376         TEST_TRUNC.
40377         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40378         functions, renamed from truncdfsf_test, trunctfsf_test,
40379         trunctfdf_test.
40380         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40381         functions.
40382         (do_test): Run all these.
40384 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40386         * argp/argp-help.c: Fix typos.
40387         * argp/argp-parse.c: Likewise.
40388         * debug/backtracesyms.c: Likewise.
40389         * elf/elf.h: Likewise.
40390         * malloc/malloc.c: Likewise.
40391         * nis/nis_print.c: Likewise.
40392         * resolv/res_comp.c: Likewise.
40393         * stdlib/stdlib.h: Likewise.
40394         * sunrpc/clnt_tcp.c: Likewise.
40395         * sunrpc/clnt_udp.c: Likewise.
40396         * sunrpc/clnt_unix.c: Likewise.
40397         * sysdeps/unix/bsd/ptsname.c: Likewise.
40398         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40399         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40401         Likewise.
40402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40403         Likewise.
40404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40405         Likewise.
40406         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40408 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40410         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40411         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40413 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40415         [BZ #15897]
40416         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40417         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40418         ($(objpfx)bug-dl-leaf): New rule.
40419         ($(objpfx)bug-dl-leaf.so): Likewise.
40420         ($(objpfx)bug-dl-leaf.out): Likewise.
40421         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40422         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40423         * dlfcn/bug-dl-leaf.c: New test.
40424         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40425         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40426         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40427         (dlclose): Likewise.
40428         (dlmopen): Likewise.
40430 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40432         * include/netdb.h [!_ISOMAC]:
40433         Don't include <tls.h>.
40434         (h_errno, __libc_h_errno): Move declaration and macros out of
40435         [_LIBC_REENTRANT].
40437         * include/resolv.h [_RESOLV_H_]:
40438         Don't include <tls.h>.
40439         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40440         * resolv/res_libc.c: Don't include <tls.h>.
40441         (_res): Use __attribute__ ((nocommon)) in place of
40442         __attribute__ ((section (".bss"))).
40444         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40445         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40447         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40449         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40450         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40452         * resolv/res_mkquery.c: Include <sys/time.h>.
40454         * inet/ifreq.c: Moved to ...
40455         * sysdeps/unix/ifreq.c: ... here.
40456         * inet/ifreq.c: New file, true stub version.
40458         * socket/sa_len.c: New file.
40459         * socket/Makefile (aux): Add it.
40460         * sysdeps/unix/sysv/linux/Makefile
40461         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40462         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40463         and #include <socket/sa_len.c>.
40464         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40465         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40467         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40468         * bits/socket.h: ... here.
40470         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40471         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40472         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40474 2013-08-27  Andreas Schwab  <schwab@suse.de>
40476         [BZ #15736]
40477         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40478         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40479         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40480         * string/test-strcasecmp.c (test_main): Run tests in several
40481         locales.
40482         * string/test-strncasecmp.c (test_main): Likewise.
40484         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40485         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40486         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40487         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40488         (__strncasecmp_ssse3) [PIC]: Likewise.
40490 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40492         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40494         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40495         instead of explicitly declaring xdecrypt.
40496         * nis/nss_nis/nis-publickey.c: Likewise.
40498 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40500         [BZ #15890]
40501         * nscd/aicache.c: Include res_hconf.h.
40502         (addhstaiX): Initialize res_hconf.
40504 2013-08-26  Andreas Schwab  <schwab@suse.de>
40506         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40507         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40509 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40511         * nscd/aicache.c (addhstaiX): Fix indentation.
40513 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40515         * configure.ac: Quote $build_pt_chown test.
40516         * configure: Regenerated.
40518 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40520         [BZ #15532]
40521         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40522         * math/s_cexpf.c (__cexpf): Likewise.
40523         * math/s_cexpl.c (__cexpl): Likewise.
40524         * math/libm-test.inc (cexp_test_data): Correct expected return
40525         value for NaN + i0.  Add another test.
40527 2013-08-22  David S. Miller  <davem@davemloft.net>
40529         * po/ca.po: Update Catalan translation from translation project.
40530         * po/uk.po: Add Ukrainian translations from translation project.
40532 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40534         [BZ #15797]
40535         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40536         is infinite, not alongside NaN test.
40537         * math/s_fdimf.c (__fdimf): Likewise.
40538         * math/s_fdiml.c (__fdiml): Likewise.
40539         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40540         errno is unchanged.
40542 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40544         * argp/argp-help.c: Fix typos.
40545         * crypt/speeds.c: Likewise.
40546         * csu/check_fds.c: Likewise.
40547         * elf/dl-load.c: Likewise.
40548         * elf/dl-open.c: Likewise.
40549         * elf/reldep3.c: Likewise.
40550         * elf/reldep.c: Likewise.
40551         * elf/sprof.c: Likewise.
40552         * iconv/iconv_charmap.c: Likewise.
40553         * iconv/skeleton.c: Likewise.
40554         * iconv/strtab.c: Likewise.
40555         * io/lockf64.c: Likewise.
40556         * libio/libioP.h: Likewise.
40557         * resolv/gai_notify.c: Likewise.
40558         * resolv/ns_name.c: Likewise.
40559         * resolv/ns_samedomain.c: Likewise.
40560         * resolv/res_send.c: Likewise.
40561         * stdlib/random.c: Likewise.
40562         * sunrpc/rpc/xdr.h: Likewise.
40563         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40564         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40565         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40566         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40567         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40568         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40569         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40570         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40571         * sysdeps/mach/hurd/check_fds.c: Likewise.
40572         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40573         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40574         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40575         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40576         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40577         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40578         * sysdeps/pthread/aio_notify.c: Likewise.
40579         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40580         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40581         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40582         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40583         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40585 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40587         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40588         version if bit_Slow_SSE4_2 is set.
40589         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40590         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40592 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40594         [BZ #15867]
40595         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40596         trampoline stack frame information.
40597         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40599         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40600         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40601         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40602         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40603         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40604         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40605         sa_flags value.
40606         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40607         interrupting a syscall and set with option SA_SIGINFO.
40609 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40611         [BZ #15531]
40612         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40613         argument is infinite.
40614         * math/s_cprojf.c (__cprojf): Likewise.
40615         * math/s_cprojl.c (__cprojl): Likewise.
40616         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40617         * math/libm-test.inc (cproj_test_data): Add more tests.
40619         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40621         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40622         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40623         size.  Use __ffs to determine corresponding shift.
40625 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40626             Roland McGrath  <roland@hack.frob.com>
40628         * Makefile (INSTALL): Remove trailing blank lines from output of
40629         makeinfo.
40631 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40633         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40634         Align 32 bit compat elf_greg to 8 bytes.
40636 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40638         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40640 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40642         * string/strcoll_l.c (coll_seq): New structure.
40643         (get_next_seq_cached): New function.
40644         (get_next_seq): New function.
40645         (do_compare): New function.
40646         (STRCOLL): Use GNU style definition.  Simplify implementation
40647         by using get_next_seq, get_next_seq_cached and do_compare.
40649 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40651         [BZ #14699]
40652         CVE-2013-4237
40653         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40654         member.
40655         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40656         member.
40657         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40658         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40659         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40660         conditional.
40661         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40662         GETDENTS_64BIT_ALIGNED.
40663         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40664         * manual/filesys.texi (Reading/Closing Directory): Document
40665         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40666         strongly.
40667         * manual/conf.texi (Limits for Files): Add portability note to
40668         NAME_MAX, PATH_MAX.
40669         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40671 2013-08-13  Andreas Schwab  <schwab@suse.de>
40673         [BZ #15749]
40674         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40675         of fabs.
40676         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40677         LDBL_MAX_EXP >= 16384]: Add tests for it.
40679 2013-08-12  David S. Miller  <davem@davemloft.net>
40681         * version.h (RELEASE): Set to "development".
40682         (VERSION): Set to "2.18.90".
40683         * NEWS: Add 2.19 section.
40685 2013-08-03  David S. Miller  <davem@davemloft.net>
40687         * po/ko.po: Update Korean translation from translation project.
40689 2013-08-01  David S. Miller  <davem@davemloft.net>
40691         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40692         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40693         Bilka.
40695 2013-07-30  David S. Miller  <davem@davemloft.net>
40697         * po/fr.po: Update French translation from translation project.
40699 2013-07-28  David S. Miller  <davem@davemloft.net>
40701         * po/cs.po: Update Czech translation from translation project.
40703         * po/sv.po: Update Swedish translation from translation project.
40705 2013-07-27  David S. Miller  <davem@davemloft.net>
40707         * po/eo.po: Update Esperanto translation from translation project.
40709         * po/vi.po: Update Vietnamese translation from translation project.
40711         * po/de.po: Update German translation from translation project.
40713 2013-07-26  David S. Miller  <davem@davemloft.net>
40715         * po/bg.po: Update Bulgarian translation from translation project.
40717         * po/nl.po: Update Dutch translation from translation project.
40718         * po/pl.po: Update Polish translation from translation project.
40719         * po/ru.po: Update Russian translation from translation project.
40721 2013-07-24  David S. Miller  <davem@davemloft.net>
40723         * po/libc.pot: Update.
40725 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40727         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40728         variable page size.
40729         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40730         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40731         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40733 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40735         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40737 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40738             Andreas Schwab  <schwab@suse.de>
40739             Roland McGrath  <roland@hack.frob.com>
40740             Joseph Myers  <joseph@codesourcery.com>
40741             Carlos O'Donell  <carlos@redhat.com>
40743         [BZ #15755]
40744         * config.h.in: Define HAVE_PT_CHOWN.
40745         * config.make.in (build-pt-chown): New variable.
40746         * configure.in (--enable-pt_chown): New configure option.
40747         * configure: Regenerate.
40748         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40749         build-pt-chown is enabled.
40750         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40751         pt_chown to fix pty ownership.
40752         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40753         CLOSE_ALL_FDS.
40754         * manual/install.texi (Configuring and compiling): Mention
40755         --enable-pt_chown. Add @findex for grantpt.
40756         * INSTALL: Regenerate.
40758 2013-07-20  David S. Miller  <davem@davemloft.net>
40760         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40761         difference between 32-bit and 64-bit.
40763 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40765         [BZ #15711]
40766         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40767         Avoid system header dependency with -ffreestanding.
40768         ($(objpfx)bits/syscall%d): Likewise.
40770 2013-07-13  David S. Miller  <davem@davemloft.net>
40772         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40773         underflows from atanl/atan2l due to bug 15319.
40774         (casinh_test_data): Likewise.
40776 2013-07-07  David S. Miller  <davem@davemloft.net>
40778         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40780 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40782         * sysdeps/i386/fpu/libm-test-ulps: Update.
40783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40785 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40787         * configure.in (--enable-lock-elision): Fix message text.
40788         * INSTALL: Regenerate.
40789         * configure: Regenerate.
40791 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40795 2013-07-03  Andreas Jaeger  <aj@suse.de>
40797         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40798         define.
40799         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40800         (ptrace_peeksiginfo_args): Add.
40801         (__ptrace_peeksiginfo_flags): Add.
40802         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40803         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40804         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40806 2013-07-03  Allan McRae  <allan@archlinux.org>
40808         * sysdeps/i386/fpu/libm-test-ulps: Update.
40810 2013-07-02  David S. Miller  <davem@davemloft.net>
40812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40814 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40818 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40820         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40823 2013-07-02  Andi Kleen <ak@linux.intel.com>
40825         * config.h.in (ENABLE_LOCK_ELISION): Add.
40826         * configure.in (--enable-lock-elision): Add option.
40827         * manual/install.texi: Document --enable lock elision.
40828         * configure: Regenerate
40829         * INSTALL: Regenerate.
40831 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40833         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40834         SSE4.2 strcasecmp for libc.a.
40835         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40837 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40839         [BZ #13304]
40840         * soft-fp/op-common.h (_FP_FMA): New macro.
40841         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40842         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40843         (_FP_MUL_MEAT_1_imm): ... here.
40844         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40845         (_FP_MUL_MEAT_1_wide): ... here.
40846         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40847         (_FP_MUL_MEAT_1_hard): ... here.
40848         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40849         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40850         (_FP_MUL_MEAT_2_wide): ... here.
40851         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40852         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40853         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40854         (_FP_MUL_MEAT_2_gmp): ... here.
40855         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40856         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40857         (_FP_MUL_MEAT_4_wide): ... here.
40858         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40859         (_FP_MUL_MEAT_4_gmp): ... here.
40860         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40861         (_FP_WFRACBITS_DW_S): Likewise.
40862         (_FP_WFRACXBITS_DW_S): Likewise.
40863         (_FP_HIGHBIT_DW_S): Likewise.
40864         (FP_FMA_S): Likewise.
40865         (_FP_FRAC_HIGH_DW_S): Likewise.
40866         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40867         (_FP_WFRACBITS_DW_D): Likewise.
40868         (_FP_WFRACXBITS_DW_D): Likewise.
40869         (_FP_HIGHBIT_DW_D): Likewise.
40870         (FP_FMA_D): Likewise.
40871         (_FP_FRAC_HIGH_DW_D): Likewise.
40872         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40873         (_FP_WFRACBITS_DW_E): Likewise.
40874         (_FP_WFRACXBITS_DW_E): Likewise.
40875         (_FP_HIGHBIT_DW_E): Likewise.
40876         (FP_FMA_E): Likewise.
40877         (_FP_FRAC_HIGH_DW_E): Likewise.
40878         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40879         (_FP_WFRACBITS_DW_Q): Likewise.
40880         (_FP_WFRACXBITS_DW_Q): Likewise.
40881         (_FP_HIGHBIT_DW_Q): Likewise.
40882         (FP_FMA_Q): Likewise.
40883         (_FP_FRAC_HIGH_DW_Q): Likewise.
40884         * soft-fp/fmasf4.c: New file.
40885         * soft-fp/fmadf4.c: Likewise.
40886         * soft-fp/fmatf4.c: Likewise.
40888 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40891         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40892         Silvermont.
40893         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40894         macro.
40895         (index_Slow_SSE4_2): Likewise.
40896         (index_Prefer_PMINUB_for_stringop): Likewise.
40897         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40898         bit_Slow_SSE4_2 is set.
40899         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40900         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40902 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40904         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40905         rtld_global._dl_hwcap2.
40906         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40907         POWER8.
40908         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40909         POWER8 feature descriptions defined in _dl_hwcap2.
40910         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40911         string handling for POWER8 feature bits.
40912         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40913         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40914         _dl_powerpc_cap_flags.
40915         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40916         * sysdeps/powerpc/rtld-global-offsets.sym
40917         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40918         _dl_hwcap2 in the rtld_global_ro structure.
40920 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40922         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40923         hardware capabilities in support of AT_HWCAP2.
40924         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40925         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40926         GLRO(dl_hwcap2).
40927         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40928         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40929         explicitly the unknown a_type display mechanism is used.
40930         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40931         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40932         struct member.
40933         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40934         to macro prototype for AT_HWCAP2 support.
40935         * sysdeps/i386/dl-procinfo.h: Likewise.
40936         * sysdeps/s390/dl-procinfo.h: Likewise.
40937         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40938         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40939         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40940         return -1 for unknown a_type display fallback.
40941         * sysdeps/sparc/dl-procinfo.h: Likewise.
40942         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40943         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40945 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40947         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40948         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40950 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40952         [BZ #12492]
40953         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40954         mprotect making __stack_prot writable.
40956 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40957             Joseph Myers  <joseph@codesourcery.com>
40959         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40960         as being properly aligned.
40962 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40964         * dlfcn/modstatic5.c: New file.
40965         * dlfcn/tststatic5.c: New file.
40966         * dlfcn/Makefile (tests): Add tststatic5.
40967         (tests-static): Likewise.
40968         (modules-names): Add modstatic5.
40969         (tststatic5-ENV): New variable.
40970         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40972         [BZ #15022]
40973         * elf/dl-support.c (_dl_main_map): New variable.
40974         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40975         (_dl_nns, _dl_load_adds): Set to 1.
40976         (_dl_initial_searchlist): Refer to _dl_main_map.
40977         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40978         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40979         call to _dl_get_origin.
40980         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40981         around call_map.
40982         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40983         * dlfcn/modstatic3.c: New file.
40984         * dlfcn/tststatic3.c: New file.
40985         * dlfcn/tststatic4.c: New file.
40986         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40987         (tests-static): Likewise.
40988         (modules-names): Add modstatic3.
40989         (tststatic3-ENV, tststatic4-ENV): New variables.
40990         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40991         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40993 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40995         * configure.in (CC): Require GCC version 4.4 or later.
40996         * configure: Regenerated.
40997         * manual/install.texi (Tools for Compilation): Update GCC version
40998         requirement.
40999         * INSTALL: Regenerated.
41001 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41003         [BZ #15674]
41004         * string/test-memcmp.c (check2): New.
41005         (main): Call check2.
41007         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41009 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41011         [BZ #15022]
41012         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41013         over to...
41014         (dl_open_worker) [!SHARED]: ... here.
41016 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41018         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41020 2013-06-25  Richard Henderson  <rth@redhat.com>
41022         * locale/programs/locarchive.c: Include <libc-internal.h>
41024 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41026         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41027         trailing whitespace removed.
41029 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41031         [BZ #10283]
41032         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41033         * locale/programs/locarchive.c: Include libc-mmap.h.
41034         (prepare_address_space): Take two new outputs (the mmap base and len).
41035         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41036         values.
41037         (create_archive): Declare new mmap base and len values for
41038         prepare_address_space, and store the result in ah.
41039         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41040         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41041         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41042         Declare new mmap base and len values for
41043         prepare_address_space, and store the result in new_ah.
41044         (open_archive): Declare new mmap base and len values for
41045         prepare_address_space, and store the result in ah.
41046         (close_archive): If ah->mmap_base is not NULL, use that and
41047         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41048         * sysdeps/generic/libc-mmap.h: New file.
41050 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41052         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41053         (ALIGN_UP): Likewise.
41054         (PTR_ALIGN_DOWN): Likewise.
41055         (PTR_ALIGN_UP): Likewise.
41057 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41059         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41060         entry mapped to PPC_PLATFORM_POWER8.
41061         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41062         POWER8.
41063         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41064         (_dl_string_platform): Add case for exporting platform position for
41065         POWER8.
41066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41067         search path to sysdeps/powerpc/powerpc32/power8 directory.
41068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41069         search path to sysdeps/powerpc/powerpc64/power8 directory.
41070         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41071         power7 directories.
41072         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41073         power7 directories.
41075 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41077         * INSTALL: Regenerate.
41079         * nscd/connections.c (nscd_init): Fix comment.
41081 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41083         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41085         [BZ #15667]
41086         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41087         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41089 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41091         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41092         DL_DST_REQ_STATIC.
41093         (DL_DST_REQ_STATIC): Remove macro.
41095 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41097         [BZ #7006]
41098         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41099         with a shift of 0 bits.
41101 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41103         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41104         $(tststatic-ENV).
41106 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41108         [BZ #15655]
41109         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41111 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41113         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41114         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41115         accepts -fno-tree-loop-distribute-patterns.
41116         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41117         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41118         recursive call.
41119         * string/memset.c (memset): Likewise.
41120         * string/test-memmove.c (simple_memmove): Disable loop transformation
41121         to library calls.
41122         * string/test-memset.c (simple_memset): Likewise.
41123         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41124         * benchtests/bench-memset.c (simple_memset): Likewise.
41125         * configure: Regenerated.
41127 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41129         * math/test-misc.c (main): Ignore fesetround failure when failures
41130         of subsequent rounding tests would be ignored.
41132         [BZ #15654]
41133         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41134         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41135         * math/fegetenv.c (__fegetenv): Return 0.
41136         * math/fegetexcept.c (fegetexcept): Return 0.
41137         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41138         FE_TONEAREST.
41139         * math/feholdexcpt.c (feholdexcept): Return 0.
41140         * math/fesetenv.c (__fesetenv): Return 0.
41141         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41142         argument FE_TONEAREST.
41143         * math/feupdateenv.c (__feupdateenv): Return 0.
41144         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41146 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41148         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41149         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41150         ($(objpfx)rtld-%.os rules): Use them.
41152 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41154         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41155         fields.
41157 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41159         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41160         length of target pattern, then descending length of dependency pattern.
41161         * configure.in (AWK): Require gawk 3.1.2 or newer.
41162         * manual/install.texi (Tools for Compilation): Say that we do.
41163         * configure: Regenerated.
41165         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41166         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41167         * scripts/sysd-rules.awk: ... this new script.
41168         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41169         than a glob-style pattern.
41171 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41173         * math/test-misc.c (main): Do not treat incorrectly rounded
41174         conversions as failure unless ROUNDING_TESTS passes.
41176 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41178         [BZ #15631]
41179         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41180         restore exception state around main square root computation, then
41181         check for inexactness explicitly.
41183         * math/libm-test.inc (fma_test_data): Add another test.
41185 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41187         * manual/threads.texi (Non-POSIX Extensions): New document
41188         node.  Document pthread_getattr_default_np and
41189         pthread_setattr_default_np.
41191         * Versions.def (libpthread): Add GLIBC_2.18.
41192         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41194         Likewise.
41195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41196         Likewise.
41197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41198         Likewise.
41199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41200         Likewise.
41201         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41202         Likewise.
41203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41204         Likewise.
41205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41206         Likewise.
41207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41208         Likewise.
41209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41210         Likewise.
41212 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41214         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41215         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41217 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41218             H.J. Lu  <hjl.tools@gmail.com>
41220         [BZ #15627]
41221         * sysdeps/x86_64/rtld-memset.c: Remove file.
41222         * sysdeps/x86_64/rtld-memset.S: New file.
41224 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41226         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41227         (test_in_one_mode): Take arguments for whether the rounding mode
41228         is supported for each floating-point type.
41229         (do_test): Pass new arguments to test_in_one_mode using
41230         ROUNDING_TESTS.
41232 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41234         * posix/tst-waitid.c (do_test): Distinguish different instances of
41235         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41236         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41237         before entering the kernel for waitpid.
41239 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41241         * NEWS: Fix note on clock function precision.  Text by Roland
41242         McGrath.
41244 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41246         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41247         it into place only when and if the sanity check passes.
41249 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41251         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41252         output for whether conversion result is exact.  Take argument
41253         indicating whether type is IBM long double.
41254         (round_for_all): Change need_exact field to ibm_ld.
41255         * stdlib/tst-strtod-round.c (struct exactness): New type.
41256         (struct test): Change bool ld_ok field to struct exactness exact.
41257         (TEST): Update all definitions for change to field.
41258         (tests): Regenerate array contents.
41259         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41260         field value.  Check for IBM long double here.
41261         (do_test): Update calls to test_in_one_mode.
41263 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41265         [BZ #12515]
41266         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41267         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41269 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41271         [BZ #15605]
41272         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41273         generated by the compiler on loop optimizations.
41274         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41275         general definitions.
41277 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41279         * math/bug-nextafter.c: Include <math-tests.h>.
41280         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41281         the relevant type.
41282         * math/bug-nexttoward.c: Include <math-tests.h>.
41283         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41284         the relevant type.
41285         * math/test-misc.c: Include <math-tests.h>.
41286         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41287         the relevant type.
41289 2013-06-12  Andreas Jaeger  <aj@suse.de>
41291         * po/ia.po: Update Interlingua translation from translation
41292         project.
41294 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41296         * include/fenv.h: Include stdbool.h.
41297         (struct rm_ctx): New structure.
41298         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41299         Define macro.
41300         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41301         (SET_RESTORE_ROUNDF): Likewise.
41302         (SET_RESTORE_ROUNDL): Likewise.
41303         (SET_RESTORE_ROUND_NOEX): Likewise.
41304         (SET_RESTORE_ROUND_NOEXF): Likewise.
41305         (SET_RESTORE_ROUND_NOEXL): Likewise.
41306         (SET_RESTORE_ROUND_53BIT): Likewise.
41307         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41308         (libc_feresetround_noexf_ctx): Likewise.
41309         (libc_feresetround_noexl_ctx): Likewise.
41310         (libc_feholdsetround_53bit_ctx): Likewise.
41311         (libc_feresetround_53bit_ctx): Likewise.
41312         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41313         (libc_feholdexcept_setround_sse_ctx): New function.
41314         (libc_fesetenv_sse_ctx): Likewise.
41315         (libc_feupdateenv_sse_ctx): Likewise.
41316         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41317         (libc_feholdexcept_setround_387_ctx): Likewise.
41318         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41319         (libc_feholdsetround_387_prec_ctx): Likewise.
41320         (libc_feholdsetround_387_ctx): Likewise.
41321         (libc_feholdsetround_387_53bit_ctx): Likewise.
41322         (libc_feholdsetround_sse_ctx): Likewise.
41323         (libc_feresetround_sse_ctx): Likewise.
41324         (libc_feresetround_387_ctx): Likewise.
41325         (libc_feupdateenv_387_ctx): Likewise.
41326         (libc_feholdexcept_setroundf_ctx): Define macro.
41327         (libc_fesetenvf_ctx): Likewise.
41328         (libc_feupdateenvf_ctx): Likewise.
41329         (libc_feholdsetroundf_ctx): Likewise.
41330         (libc_feresetroundf_ctx): Likewise.
41331         (libc_feholdexcept_setround_ctx): Likewise.
41332         (libc_fesetenv_ctx): Likewise.
41333         (libc_feupdateenv_ctx): Likewise.
41334         (libc_feholdsetround_ctx): Likewise.
41335         (libc_feresetround_ctx): Likewise.
41336         (libc_feholdexcept_setroundl_ctx): Likewise.
41337         (libc_feupdateenvl_ctx): Likewise.
41338         (libc_feholdsetroundl_ctx): Likewise.
41339         (libc_feresetroundl_ctx): Likewise.
41340         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41341         (libc_feresetround_53bit_ctx): Likewise.
41343 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41345         * locale/iso-639.def: Convert to UTF-8.
41347 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41349         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41350         (EXCEPTION_TESTS_double): Likewise.
41351         (EXCEPTION_TESTS_long_double): Likewise.
41352         (EXCEPTION_TESTS): Likewise.
41353         * math/libm-test.inc (test_exceptions): Only test exceptions if
41354         EXCEPTION_TESTS (FLOAT).
41356 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41358         * benchtests/Makefile (string-bench): Add strcpy_chk and
41359         stpcpy_chk.
41360         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41361         * benchtests/bench-stpcpy_chk.c: New file.
41362         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41363         * benchtests/bench-strcpy_chk.c: New file.
41364         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41365         code.
41366         (do_test): Likewise.
41368 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41370         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41371         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41372         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41373         with tabs where appropriate.
41374         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41375         dl-procinfo.h.
41376         [PPC_PLATFORM_PPC440]: Likewise.
41377         [PPC_PLATFORM_PPC464]: Likewise.
41378         [PPC_PLATFORM_PPC476]: Likewise.
41379         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41380         ppc464, and ppc476 platform strings merging from ports/
41381         dl-procinfo.h.
41383 2013-06-11  Andreas Schwab  <schwab@suse.de>
41385         [BZ #14991]
41386         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41387         (from_ucs4_idx): Regenerate.
41388         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41389         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41390         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41391         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41392         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41393         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41394         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41395         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41396         from FROM_LOOP and TO_LOOP specific macros.
41397         (BODY): Handle combining characters.
41398         * iconvdata/BIG5HKSCS.irreversible: Update.
41399         * iconvdata/BIG5HKSCS.precomposed: New file.
41400         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41401         characters.
41402         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41404 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41406         * include/sys/time.h: Fix indentation and add copyright header.
41408         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41409         (do_test): Likewise.
41410         * string/test-memchr.c (do_one_test): Likewise.
41411         (do_test): Likewise.
41412         * string/test-memcmp.c (do_one_test): Likewise.
41413         (do_test): Likewise.
41414         * string/test-memcpy.c (do_one_test): Likewise.
41415         (do_test): Likewise.
41416         * string/test-memmem.c (do_one_test): Likewise.
41417         (do_test): Likewise.
41418         (do_random_tests): Likewise.
41419         * string/test-memmove.c (do_one_test): Likewise.
41420         (do_test): Likewise.
41421         * string/test-memset.c (do_one_test): Likewise.
41422         (do_test): Likewise.
41423         * string/test-rawmemchr.c (do_one_test): Likewise.
41424         (do_test): Likewise.
41425         * string/test-strcasecmp.c (do_one_test): Likewise.
41426         (do_test): Likewise.
41427         * string/test-strcasestr.c (do_one_test): Likewise.
41428         (do_test): Likewise.
41429         * string/test-strcat.c (do_one_test): Likewise.
41430         (do_test): Likewise.
41431         * string/test-strchr.c (do_one_test): Likewise.
41432         (do_test): Likewise.
41433         * string/test-strcmp.c (do_one_test): Likewise.
41434         (do_test): Likewise.
41435         * string/test-strcpy.c (do_one_test): Likewise.
41436         (do_test): Likewise.
41437         * string/test-string.h: Likewise.
41438         (test_init): Likewise.
41439         * string/test-strlen.c (do_one_test): Likewise.
41440         (do_test): Likewise.
41441         * string/test-strncasecmp.c (do_one_test): Likewise.
41442         (do_test): Likewise.
41443         * string/test-strncat.c (do_one_test): Likewise.
41444         (do_test): Likewise.
41445         * string/test-strncmp.c (do_one_test): Likewise.
41446         (do_test_limit): Likewise.
41447         (do_test): Likewise.
41448         * string/test-strncpy.c (do_one_test): Likewise.
41449         (do_test): Likewise.
41450         * string/test-strnlen.c (do_one_test): Likewise.
41451         (do_test): Likewise.
41452         * string/test-strpbrk.c (do_one_test): Likewise.
41453         (do_test): Likewise.
41454         * string/test-strrchr.c (do_one_test): Likewise.
41455         (do_test): Likewise.
41456         * string/test-strspn.c (do_one_test): Likewise.
41457         (do_test): Likewise.
41458         * string/test-strstr.c (do_one_test): Likewise.
41459         (do_test): Likewise.
41461         * benchtests/Makefile (string-bench): Add string benchmarks.
41462         * benchtests/bench-bcopy-ifunc.c: New file.
41463         * benchtests/bench-bcopy.c: New file.
41464         * benchtests/bench-bzero-ifunc.c: New file.
41465         * benchtests/bench-bzero.c: New file.
41466         * benchtests/bench-memccpy-ifunc.c: New file.
41467         * benchtests/bench-memccpy.c: New file.
41468         * benchtests/bench-memchr-ifunc.c: New file.
41469         * benchtests/bench-memchr.c: New file.
41470         * benchtests/bench-memcmp-ifunc.c: New file.
41471         * benchtests/bench-memcmp.c: New file.
41472         * benchtests/bench-memmem-ifunc.c: New file.
41473         * benchtests/bench-memmem.c: New file.
41474         * benchtests/bench-memmove-ifunc.c: New file.
41475         * benchtests/bench-memmove.c: New file.
41476         * benchtests/bench-mempcpy-ifunc.c: New file.
41477         * benchtests/bench-mempcpy.c: New file.
41478         * benchtests/bench-memset-ifunc.c: New file.
41479         * benchtests/bench-memset.c: New file.
41480         * benchtests/bench-rawmemchr-ifunc.c: New file.
41481         * benchtests/bench-rawmemchr.c: New file.
41482         * benchtests/bench-stpcpy-ifunc.c: New file.
41483         * benchtests/bench-stpcpy.c: New file.
41484         * benchtests/bench-stpncpy-ifunc.c: New file.
41485         * benchtests/bench-stpncpy.c: New file.
41486         * benchtests/bench-strcasecmp-ifunc.c: New file.
41487         * benchtests/bench-strcasecmp.c: New file.
41488         * benchtests/bench-strcasestr-ifunc.c: New file.
41489         * benchtests/bench-strcasestr.c: New file.
41490         * benchtests/bench-strcat-ifunc.c: New file.
41491         * benchtests/bench-strcat.c: New file.
41492         * benchtests/bench-strchr-ifunc.c: New file.
41493         * benchtests/bench-strchr.c: New file.
41494         * benchtests/bench-strchrnul-ifunc.c: New file.
41495         * benchtests/bench-strchrnul.c: New file.
41496         * benchtests/bench-strcmp-ifunc.c: New file.
41497         * benchtests/bench-strcmp.c: New file.
41498         * benchtests/bench-strcpy-ifunc.c: New file.
41499         * benchtests/bench-strcpy.c: New file.
41500         * benchtests/bench-strcspn-ifunc.c: New file.
41501         * benchtests/bench-strcspn.c: New file.
41502         * benchtests/bench-strlen-ifunc.c: New file.
41503         * benchtests/bench-strlen.c: New file.
41504         * benchtests/bench-strncasecmp-ifunc.c: New file.
41505         * benchtests/bench-strncasecmp.c: New file.
41506         * benchtests/bench-strncat-ifunc.c: New file.
41507         * benchtests/bench-strncat.c: New file.
41508         * benchtests/bench-strncmp-ifunc.c: New file.
41509         * benchtests/bench-strncmp.c: New file.
41510         * benchtests/bench-strncpy-ifunc.c: New file.
41511         * benchtests/bench-strncpy.c: New file.
41512         * benchtests/bench-strnlen-ifunc.c: New file.
41513         * benchtests/bench-strnlen.c: New file.
41514         * benchtests/bench-strpbrk-ifunc.c: New file.
41515         * benchtests/bench-strpbrk.c: New file.
41516         * benchtests/bench-strrchr-ifunc.c: New file.
41517         * benchtests/bench-strrchr.c: New file.
41518         * benchtests/bench-strspn-ifunc.c: New file.
41519         * benchtests/bench-strspn.c: New file.
41520         * benchtests/bench-strstr-ifunc.c: New file.
41521         * benchtests/bench-strstr.c: New file.
41523         * benchtests/Makefile: Disable parallel execution of targets.
41524         (string-bench): Add memcpy.
41525         (benchset): New variable to store a list of benchmark sets.
41526         (bench-func): Renamed from bench.
41527         (bench-set): New target.
41528         (bench): Depend on bench-func and bench-set.
41529         * benchtests/README: Add section on benchmark sets.
41530         * benchtests/bench-memcpy-ifunc.c: New file.
41531         * benchtests/bench-memcpy.c: New file.
41532         * benchtests/bench-string.h: New file.
41534 2013-06-11  Andreas Schwab  <schwab@suse.de>
41536         [BZ #15577]
41537         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41538         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41539         values in the triple.
41540         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41541         terminator in the group key.
41543 2013-06-11  Andreas Jaeger  <aj@suse.de>
41545         * po/zh_TW.po: Update Chinese (traditional) translation from
41546         translation project.
41548 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41550         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41551         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41552         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41553         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41554         (clock_getcpuclockid): Likewise.
41555         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41556         Add weak_alias and libc_hidden_def.
41557         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41558         * rt/clock_gettime.c (clock_gettime): Rename to
41559         __clock_gettime.  Add weak_alias and libc_hidden_def.
41560         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41561         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41562         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41563         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41564         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41565         Likewise.
41566         * rt/clock_settime.c (clock_settime): Rename to
41567         __clock_settime.  Add weak_alias and libc_hidden_def.
41568         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41570 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41572         * mach/err_boot.sub: Remove trailing whitespace.
41573         * mach/err_ipc.sub: Likewise.
41574         * mach/err_mach.sub: Likewise.
41576         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41577         (ROUNDING_TESTS_double): Likewise.
41578         (ROUNDING_TESTS_long_double): Likewise.
41579         (ROUNDING_TESTS): Likewise.
41580         * math/libm-test.inc: Include <math-tests.h>.
41581         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41582         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41583         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41584         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41586 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41588         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41589         of assigning.
41591 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41593         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41594         otherwise empty TRANS lines.
41595         * sysdeps/gnu/errlist.c: Regenerated.
41597         * catgets/gencat.c (error_print): Use (void) in function
41598         definition.
41599         * crypt/crypt_util.c (__init_des): Likewise.
41600         * crypt/speeds.c (Stop): Likewise.
41601         (main): Likewise.
41602         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41603         * inet/ruserpass.c (token): Likewise.
41604         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41605         * intl/localealias.c (extend_alias_table): Likewise.
41606         * intl/plural-exp.c (init_germanic_plural): Likewise.
41607         * libio/fcloseall.c (__fcloseall): Likewise.
41608         * libio/genops.c (_IO_flush_all): Likewise.
41609         (_IO_flush_all_linebuffered): Likewise.
41610         (_IO_cleanup): Likewise.
41611         (_IO_iter_begin): Likewise.
41612         (_IO_iter_end): Likewise.
41613         (_IO_list_lock): Likewise.
41614         (_IO_list_unlock): Likewise.
41615         (_IO_list_resetlock): Likewise.
41616         * libio/getchar.c (getchar): Likewise.
41617         * libio/getchar_u.c (getchar_unlocked): Likewise.
41618         * libio/getwchar.c (getwchar): Likewise.
41619         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41620         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41621         * login/getpt.c (__getpt): Likewise.
41622         * login/tst-utmp.c (main): Likewise.
41623         * malloc/hooks.c (__malloc_check_init): Likewise.
41624         * malloc/malloc.c (__malloc_stats): Likewise.
41625         * malloc/mtrace.c (tr_break): Likewise.
41626         (mtrace): Likewise.
41627         (muntrace): Likewise.
41628         * misc/fstab.c (endfsent): Likewise.
41629         * misc/getclktck.c (__getclktck): Likewise.
41630         * misc/getdtsz.c (__getdtablesize): Likewise.
41631         * misc/gethostid.c (gethostid): Likewise.
41632         * misc/getpagesize.c (__getpagesize): Likewise.
41633         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41634         (__get_nprocs): Likewise.
41635         (__get_phys_pages): Likewise.
41636         (__get_avphys_pages): Likewise.
41637         * misc/getttyent.c (getttyent): Likewise.
41638         (setttyent): Likewise.
41639         (endttyent): Likewise.
41640         * misc/getusershell.c (getusershell): Likewise.
41641         (endusershell): Likewise.
41642         (setusershell): Likewise.
41643         (initshells): Likewise.
41644         * misc/hsearch.c (__hdestroy): Likewise.
41645         * misc/sync.c (sync): Likewise.
41646         * misc/syslog.c (closelog_internal): Likewise.
41647         (closelog): Likewise.
41648         * misc/ttyslot.c (ttyslot): Likewise.
41649         * misc/vhangup.c (vhangup): Likewise.
41650         * posix/fork.c (__fork): Likewise.
41651         * posix/getegid.c (__getegid): Likewise.
41652         * posix/geteuid.c (__geteuid): Likewise.
41653         * posix/getgid.c (__getgid): Likewise.
41654         * posix/getpid.c (__getpid): Likewise.
41655         * posix/getppid.c (__getppid): Likewise.
41656         * posix/getuid.c (__getuid): Likewise.
41657         * posix/pause.c (pause): Likewise.
41658         * posix/setpgrp.c (setpgrp): Likewise.
41659         * posix/setsid.c (__setsid): Likewise.
41660         * posix/test-vfork.c (noop): Likewise.
41661         * resolv/gethnamaddr.c (_endhtent): Likewise.
41662         (_gethtent): Likewise.
41663         (ht_endhostent): Likewise.
41664         (gethostent): Likewise.
41665         (dns_service): Likewise.
41666         * stdlib/drand48.c (drand48): Likewise.
41667         * stdlib/lrand48.c (lrand48): Likewise.
41668         * stdlib/mrand48.c (mrand48): Likewise.
41669         * stdlib/rand.c (rand): Likewise.
41670         * stdlib/random.c (__random): Likewise.
41671         * stdlib/setenv.c (clearenv): Likewise.
41672         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41673         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41674         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41675         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41676         (__get_nprocs): Likewise.
41677         (__get_phys_pages): Likewise.
41678         (__get_avphys_pages): Likewise.
41679         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41680         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41681         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41682         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41683         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41684         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41685         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41686         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41687         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41688         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41689         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41690         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41691         * sysdeps/posix/clock.c (clock): Likewise.
41692         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41693         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41694         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41695         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41696         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41697         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41698         (__get_nprocs_conf): Likewise.
41699         (__get_phys_pages): Likewise.
41700         (__get_avphys_pages): Likewise.
41701         * time/clock.c (clock): Likewise.
41702         * time/tzset.c (__tzname_max): Likewise.
41704 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41706         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41707         (__bswap_32): Do not use "register".
41708         * crypt/crypt.c (_ufc_doit_r): Likewise.
41709         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41710         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41711         * gmon/gmon.c (__monstartup): Likewise.
41712         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41713         * hurd/hurdmalloc.c (more_memory): Likewise.
41714         (malloc): Likewise.
41715         (free): Likewise.
41716         (realloc): Likewise.
41717         (malloc_fork_prepare): Likewise.
41718         (malloc_fork_parent): Likewise.
41719         (malloc_fork_child): Likewise.
41720         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41721         (_svcauth_des): Likewise.
41722         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41723         * inet/inet_net.c (inet_network): Likewise.
41724         * inet/inet_netof.c (inet_netof): Likewise.
41725         * inet/rcmd.c (__validuser2_sa): Likewise.
41726         * io/fts.c (fts_open): Likewise.
41727         (fts_load): Likewise.
41728         (fts_close): Likewise.
41729         (fts_read): Likewise.
41730         (fts_children): Likewise.
41731         (fts_build): Likewise.
41732         (fts_stat): Likewise.
41733         (fts_sort): Likewise.
41734         (fts_alloc): Likewise.
41735         (fts_lfree): Likewise.
41736         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41737         (_IO_file_xsgetn): Likewise.
41738         (_IO_file_xsgetn_mmap): Likewise.
41739         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41740         (_IO_cookie_write): Likewise.
41741         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41742         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41743         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41744         * malloc/obstack.c (_obstack_begin): Likewise.
41745         (_obstack_begin_1): Likewise.
41746         (_obstack_newchunk): Likewise.
41747         (_obstack_allocated_p): Likewise.
41748         (obstack_free): Likewise.
41749         (_obstack_memory_used): Likewise.
41750         * misc/getttyent.c (getttynam): Likewise.
41751         (getttyent): Likewise.
41752         (skip): Likewise.
41753         (value): Likewise.
41754         * misc/getusershell.c (initshells): Likewise.
41755         * misc/syslog.c (__vsyslog_chk): Likewise.
41756         * misc/ttyslot.c (ttyslot): Likewise.
41757         * nis/nis_hash.c (__nis_hash): Likewise.
41758         * posix/fnmatch_loop.c (FCT): Likewise.
41759         * posix/getconf.c (print_all): Likewise.
41760         (main): Likewise.
41761         * posix/getopt.c (exchange): Likewise.
41762         * posix/glob.c (globfree): Likewise.
41763         (prefix_array): Likewise.
41764         (__glob_pattern_type): Likewise.
41765         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41766         (NS_GET32): Likewise.
41767         (NS_PUT16): Likewise.
41768         (NS_PUT32): Likewise.
41769         * resolv/gethnamaddr.c (getanswer): Likewise.
41770         (gethostbyname2): Likewise.
41771         (gethostbyaddr): Likewise.
41772         (_gethtent): Likewise.
41773         (_gethtbyname2): Likewise.
41774         (_gethtbyaddr): Likewise.
41775         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41776         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41777         * resolv/res_init.c (__res_vinit): Likewise.
41778         (net_mask): Likewise.
41779         * resolv/res_mkquery.c (outchar): Likewise.
41780         (PRINT): Likewise.
41781         * stdio-common/printf_fp.c (outchar): Likewise.
41782         (PRINT): Likewise.
41783         * stdio-common/printf_fphex.c (outchar): Likewise.
41784         (PRINT): Likewise.
41785         * stdio-common/printf_size.c (outchar): Likewise.
41786         (PRINT): Likewise.
41787         * stdio-common/test_rdwr.c (main): Likewise.
41788         * stdio-common/tfformat.c (matches): Likewise.
41789         * stdio-common/vfprintf.c (outchar): Likewise.
41790         (printf_unknown): Likewise.
41791         (buffered_vfprintf): Likewise.
41792         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41793         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41794         (ReadFile): Likewise.
41795         * stdlib/qsort.c (SWAP): Likewise.
41796         (_quicksort): Likewise.
41797         * stdlib/setenv.c (__add_to_environ): Likewise.
41798         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41799         * stdlib/strtol_l.c (__strtol_l): Likewise.
41800         * stdlib/tst-strtod.c (main): Likewise.
41801         * stdlib/tst-strtol.c (main): Likewise.
41802         * stdlib/tst-strtoll.c (main): Likewise.
41803         * string/bits/string2.h (__strcmp_cc): Likewise.
41804         (__strcmp_cg): Likewise.
41805         (__strcspn_c1): Likewise.
41806         (__strcspn_c2): Likewise.
41807         (__strcspn_c3): Likewise.
41808         (__strspn_c1): Likewise.
41809         (__strspn_c2): Likewise.
41810         (__strspn_c3): Likewise.
41811         (__strsep_1c): Likewise.
41812         (__strsep_2c): Likewise.
41813         (__strsep_3c): Likewise.
41814         * string/memccpy.c (__memccpy): Likewise.
41815         * string/stpcpy.c (__stpcpy): Likewise.
41816         * string/strcmp.c (strcmp): Likewise.
41817         * string/strrchr.c (strrchr): Likewise.
41818         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41819         Likewise.
41820         * sysdeps/mach/hurd/getcwd.c
41821         (_hurd_canonicalize_directory_name_internal): Likewise.
41822         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41823         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41824         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41825         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41826         Likewise, in both definitions.
41827         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41828         definitions.
41829         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41830         64] (__bswap_64): Likewise.
41831         * time/test_time.c (main): Likewise.
41832         * time/tzfile.c (__tzfile_read): Likewise.
41833         (__tzfile_compute): Likewise.
41834         * time/tzset.c (__tzset_parse_tz): Likewise.
41835         (tzset_internal): Likewise.
41836         (compute_change): Likewise.
41837         * wcsmbs/wcscat.c (__wcscat): Likewise.
41838         * wcsmbs/wcschr.c (wcschr): Likewise.
41839         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41840         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41841         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41842         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41843         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41844         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41845         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41846         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41847         * wcsmbs/wmemset.c (wmemset): Likewise.
41849 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41851         * scripts/config.guess: Update to version 2013-05-16.
41852         * scripts/config.sub: Update to version 2013-04-24.
41853         * scripts/install-sh: Update to version 2011-11-20.07.
41854         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41855         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41857 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41859         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41860         * elf/sln.c: Likewise.
41861         * hurd/hurd/ioctl.h: Likewise.
41862         * hurd/hurdmalloc.c: Likewise.
41863         * hurd/xattr.c: Likewise.
41864         * include/shlib-compat.h: Likewise.
41865         * inet/ruserpass.c: Likewise.
41866         * libio/iofgets_u.c: Likewise.
41867         * libio/iofgetws_u.c: Likewise.
41868         * locale/programs/ld-identification.c: Likewise.
41869         * locale/programs/ld-time.c: Likewise.
41870         * mach/msg-destroy.c: Likewise.
41871         * nss/nss_files/files-netgrp.c: Likewise.
41872         * resolv/res_data.c: Likewise.
41873         * soft-fp/op-1.h: Likewise.
41874         * soft-fp/op-2.h: Likewise.
41875         * soft-fp/op-4.h: Likewise.
41876         * soft-fp/op-common.h: Likewise.
41877         * stdio-common/printf_fphex.c: Likewise.
41878         * stdlib/strtod_l.c: Likewise.
41879         * sunrpc/rpc/clnt.h: Likewise.
41880         * sysdeps/generic/framestate.c: Likewise.
41881         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41882         * sysdeps/i386/bsd-setjmp.S: Likewise.
41883         * sysdeps/i386/__longjmp.S: Likewise.
41884         * sysdeps/i386/setjmp.S: Likewise.
41885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41886         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41887         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41888         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41890         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41891         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41892         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41893         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41894         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41895         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41896         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41897         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41898         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41901         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41902         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41903         * sysdeps/ieee754/support.c: Likewise.
41904         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41905         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41906         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41907         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41908         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41909         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41910         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41911         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41912         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41913         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41914         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41915         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41916         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41917         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41918         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41919         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41920         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41923 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41925         * posix/transbug.c: Remove executable mode.
41927 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41929         * crypt/speeds.c: Remove trailing whitespace.
41930         * dlfcn/default.c: Likewise.
41931         * elf/ifuncdep2.c: Likewise.
41932         * elf/ifuncmain1.c: Likewise.
41933         * elf/ifuncmain1vis.c: Likewise.
41934         * elf/testobj.h: Likewise.
41935         * elf/tst-stackguard1.c: Likewise.
41936         * gmon/sys/gmon.h: Likewise.
41937         * hurd/hurdmsg.c: Likewise.
41938         * hurd/new-fd.c: Likewise.
41939         * hurd/ports-get.c: Likewise.
41940         * iconvdata/ibm1008_420.c: Likewise.
41941         * inet/tst-getni1.c: Likewise.
41942         * inet/tst-getni2.c: Likewise.
41943         * libio/ioungetc.c: Likewise.
41944         * libio/wfiledoalloc.c: Likewise.
41945         * manual/libm-err-tab.pl: Likewise.
41946         * math/w_dremf.c: Likewise.
41947         * misc/ftruncate.c: Likewise.
41948         * posix/bug-glob2.c: Likewise.
41949         * posix/tst-pcre.c: Likewise.
41950         * posix/wait4.c: Likewise.
41951         * resolv/README: Likewise.
41952         * resolv/res_debug.h: Likewise.
41953         * resolv/tst-inet_ntop.c: Likewise.
41954         * setjmp/bug269-setjmp.c: Likewise.
41955         * soft-fp/extended.h: Likewise.
41956         * soft-fp/op-1.h: Likewise.
41957         * soft-fp/op-2.h: Likewise.
41958         * soft-fp/op-4.h: Likewise.
41959         * soft-fp/op-8.h: Likewise.
41960         * soft-fp/testit.c: Likewise.
41961         * stdio-common/bug16.c: Likewise.
41962         * stdlib/random.c: Likewise.
41963         * sunrpc/rpcsvc/rquota.x: Likewise.
41964         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41965         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41966         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41967         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41968         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41969         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41970         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41971         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41972         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41973         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41974         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41975         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41976         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41977         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41978         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41979         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41980         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41981         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41982         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41983         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41984         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41985         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41986         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41987         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41988         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41989         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41990         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41991         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41992         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41993         * sysdeps/ieee754/s_lib_version.c: Likewise.
41994         * sysdeps/mach/hurd/check_fds.c: Likewise.
41995         * sysdeps/mach/hurd/getsockname.c: Likewise.
41996         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41997         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41998         * sysdeps/powerpc/bits/link.h: Likewise.
41999         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42000         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42001         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42002         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42003         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42004         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42005         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42006         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42007         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42008         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42009         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42010         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42011         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42012         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42013         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42014         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42015         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42016         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42017         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42018         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42019         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42020         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42021         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42022         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42023         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42024         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42025         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42026         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42027         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42028         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42029         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42030         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42031         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42032         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42033         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42034         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42035         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42036         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42037         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42038         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42039         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42040         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42041         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42042         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42043         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42044         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42045         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42046         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42047         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42048         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42049         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42051         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42052         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42053         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42054         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42055         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42056         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42057         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42058         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42059         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42060         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42061         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42062         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42063         * sysdeps/powerpc/sysdep.h: Likewise.
42064         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42065         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42066         * sysdeps/sh/dl-trampoline.S: Likewise.
42067         * sysdeps/sh/memset.S: Likewise.
42068         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42069         * sysdeps/sh/strlen.S: Likewise.
42070         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42071         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42072         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42073         * sysdeps/sparc/sparc32/rem.S: Likewise.
42074         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42075         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42076         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42077         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42078         * sysdeps/sparc/sparc32/urem.S: Likewise.
42079         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42080         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42081         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42082         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42083         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42084         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42085         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42086         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42087         * sysdeps/unix/bsd/times.c: Likewise.
42088         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42089         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42093         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42094         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42095         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42096         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42097         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42098         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42099         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42100         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42101         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42102         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42103         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42104         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42105         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42106         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42107         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42108         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42109         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42110         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42111         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42112         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42113         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42114         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42115         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42116         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42117         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42118         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42119         * sysdeps/x86_64/strcspn.S: Likewise.
42121 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42123         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42124         generated file.  Regenerate properly from gen-translit.pl.
42125         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42126         locale/C-translit.h.
42128 2013-06-05  Andreas Schwab  <schwab@suse.de>
42130         [BZ #15100]
42131         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42132         week as 6 instead of -1.
42133         * time/tst-strptime.c (day_tests): Add test case.
42135 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42137         * sysdeps/generic/math_private.h
42138         (libc_feholdexcept_setround_53bit): Replace with
42139         libc_feholdsetround_53bit.
42140         (libc_feupdateenv_53bit): Replace with
42141         libc_feresetround_53bit.
42142         (SET_RESTORE_ROUND_53BIT): Adjust.
42144 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42146         * string/test-strchrnul.c: Add copyright header.
42148         * posix/tst-getaddrinfo4.c: Increase test timeout.
42150 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42152         [BZ #15536]
42153         * math/libm-test.inc (MAX_EXP): Remove
42154         (MIN_EXP): Define.
42155         (ulp): Use MIN_EXP - MANT_DIG.
42156         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42158 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42160         * po/be.po: Revert last change.
42161         * po/zh_CN.po: Likewise.
42162         * po/header.pot: Likewise.
42164 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42166         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42167         link-libc-deps to empty as target-specific variable.
42168         * Makerules (link-libc-args): New variable.
42169         (libc-for-link): Likewise.
42170         (link-libc-deps): Likewise.
42171         (lib%.so): Depend on $(link-libc-deps).  Link with
42172         $(link-libc-args).
42173         (build-module): Link with $(link-libc-args).
42174         (build-module-asneeded): Likewise.
42175         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42176         list of objects.
42177         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42178         target-specific variable.
42179         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42180         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42181         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42182         libc.
42183         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42184         libc and ld.so.
42185         ($(objpfx)libpcprofile.so): Likewise.
42186         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42187         libc_nonshared.a.
42188         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42189         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42190         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42191         $(link-libc-deps).
42192         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42193         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42194         * login/Makefile ($(objpfx)libutil.so): Likewise.
42195         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42196         * math/Makefile ($(objpfx)libm.so): Likewise.
42197         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42198         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42199         variable instead of depending directly on libc.
42200         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42201         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42202         $(link-libc-deps).
42203         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42204         libc.
42205         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42206         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42207         ($(objpfx)libanl.so): Likewise.
42208         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42209         ld.so.
42210         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42211         $(link-libc-deps).
42212         * sysdeps/i386/fpu/Makefile: Remove file.
42213         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42214         ($(objpfx)libm.so): Remove dependency on ld.so.
42216 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42218         [BZ # 15553]
42219         * nis/yp_xdr.c (XDRMAXNAME): Define.
42220         (XDRMAXRECORD): Define.
42221         (xdr_domainname): Use XDRMAXNAME.
42222         (xdr_mapname): Likewise.
42223         (xdr_peername): Likewise.
42224         (xdr_keydat): Use XDRMAXRECORD.
42225         (xdr_valdat): Likewise.
42227 2013-05-30  Jeff Law  <law@redhat.com>
42229         [BZ #14256]
42230         * manual/errno.texi (ESTALE): Update to account for more than
42231         just NFS file systems.
42232         * sysdeps/gnu/errlist.c: Regenerated.
42234 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42236         [BZ #15465]
42237         * elf/Makefile (tests): Add tst-null-argv.
42238         (modules-names):  Add tst-null-argv-lib.
42239         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42240         (tst-null-argv-ENV): Set environment for tst-null-argv.
42241         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42242         (RTLD_PROGNAME): New macro.
42243         * elf/tst-null-argv.c: New test case.
42244         * elf/tst-null-argv-lib.c: Library for test case.
42245         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42246         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42247         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42248         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42249         * elf/dl-init.c (call_init): Likewise.
42250         (_dl_init): Likewise.
42251         * elf/dl-load.c (print_search_path): Likewise.
42252         (_dl_map_object): Likewise.
42253         * elf/dl-lookup.c (do_lookup_x): Likewise.
42254         (add_dependency): Likewise.
42255         (_dl_lookup_symbol_x): Likewise.
42256         (_dl_debug_bindings): Likewise.
42257         * elf/dl-open.c (_dl_show_scope): Likewise.
42258         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42259         * elf/dl-version.c (match_symbol): Likewise.
42260         (_dl_check_map_versions): Likewise.
42261         * elf/rtld.c (dl_main): Likewise.
42262         (print_unresolved): Use RTLD_PROGNAME.
42263         (print_missing_version): Likewise.
42264         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42265         (elf_machine_rela): Likewise.
42266         * sysdeps/powerpc/powerpc32/dl-machine.c
42267         (__process_machine_rela): Likewise.
42268         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42269         Likewise.
42270         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42271         Likewise.
42272         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42273         Likewise.
42274         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42275         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42276         Likewise.
42277         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42278         Likewise.
42279         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42281 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42283         * po/be.po: Add descriptive title.
42284         * po/zh_CN.po: Likewise.
42285         * po/header.pot: Likewise.
42287 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42289         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42290         error message.
42291         (enlarge_archive): Likewise.
42293 2013-05-28  Ben North  <ben@redfrontdoor.org>
42295         * manual/arith.texi (frexp): It is the magnitude of the return
42296         value which lies in [0.5, 1), not the return value itself.
42298 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42302 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42304         * stdio-common/bug26.c (main): Correct fscanf template.
42306         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42307         declare _dl_skip_args.
42309         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42310         Don't declare.
42312         * manual/platform.texi: Add missing @end deftypefun.
42314 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42316         [BZ #15529]
42317         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42318         bit of mantissa of 2^16382.
42319         * math/libm-test.inc (hypot_test_data): Add more tests.
42321         * math/libm-test.inc: Add drem and pow10 to list of tested
42322         functions.
42323         (pow10_test): New function.
42324         (drem_test): Likewise.
42325         (drem_test_tonearest): Likewise.
42326         (drem_test_towardzero): Likewise.
42327         (drem_test_downward): Likewise.
42328         (drem_test_upward): Likewise.
42329         (main): Call the new functions.
42331         * math/libm-test.inc (finite_test_data): Remove.
42332         (finite_test): Run tests from isfinite_test_data.
42333         (gamma_test_data): Remove.
42334         (gamma_test): Run tests from lgamma_test_data.
42335         * sysdeps/i386/fpu/libm-test-ulps: Update.
42336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42338 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42340         * manual/platform.texi: Add PowerPC PPR function set documentation.
42341         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42342         implementation.
42344 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42346         * math/libm-test.inc (MAX_EXP): Define.
42347         (ULPDIFF): Define.
42348         (ulp): New function.
42349         (check_float_internal): Use ULPDIFF.
42350         (cpow_test): Disable failing test.
42351         (check_ulp): Test ulp() implemetnation.
42352         (main): Call check_ulp before starting tests.
42354 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42356         * math/gen-libm-test.pl (generate_testfile): Do not handle
42357         START_DATA and END_DATA.
42358         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42359         END_DATA.
42360         (acos_tonearest_test_data): Likewise.
42361         (acos_towardzero_test_data): Likewise.
42362         (acos_downward_test_data): Likewise.
42363         (acos_upward_test_data): Likewise.
42364         (acosh_test_data): Likewise.
42365         (asin_test_data): Likewise.
42366         (asin_tonearest_test_data): Likewise.
42367         (asin_towardzero_test_data): Likewise.
42368         (asin_downward_test_data): Likewise.
42369         (asin_upward_test_data): Likewise.
42370         (asinh_test_data): Likewise.
42371         (atan_test_data): Likewise.
42372         (atanh_test_data): Likewise.
42373         (atan2_test_data): Likewise.
42374         (cabs_test_data): Likewise.
42375         (cacos_test_data): Likewise.
42376         (cacosh_test_data): Likewise.
42377         (carg_test_data): Likewise.
42378         (casin_test_data): Likewise.
42379         (casinh_test_data): Likewise.
42380         (catan_test_data): Likewise.
42381         (catanh_test_data): Likewise.
42382         (cbrt_test_data): Likewise.
42383         (ccos_test_data): Likewise.
42384         (ccosh_test_data): Likewise.
42385         (ceil_test_data): Likewise.
42386         (cexp_test_data): Likewise.
42387         (cimag_test_data): Likewise.
42388         (clog_test_data): Likewise.
42389         (clog10_test_data): Likewise.
42390         (conj_test_data): Likewise.
42391         (copysign_test_data): Likewise.
42392         (cos_test_data): Likewise.
42393         (cos_tonearest_test_data): Likewise.
42394         (cos_towardzero_test_data): Likewise.
42395         (cos_downward_test_data): Likewise.
42396         (cos_upward_test_data): Likewise.
42397         (cosh_test_data): Likewise.
42398         (cosh_tonearest_test_data): Likewise.
42399         (cosh_towardzero_test_data): Likewise.
42400         (cosh_downward_test_data): Likewise.
42401         (cosh_upward_test_data): Likewise.
42402         (cpow_test_data): Likewise.
42403         (cproj_test_data): Likewise.
42404         (creal_test_data): Likewise.
42405         (csin_test_data): Likewise.
42406         (csinh_test_data): Likewise.
42407         (csqrt_test_data): Likewise.
42408         (ctan_test_data): Likewise.
42409         (ctan_tonearest_test_data): Likewise.
42410         (ctan_towardzero_test_data): Likewise.
42411         (ctan_downward_test_data): Likewise.
42412         (ctan_upward_test_data): Likewise.
42413         (ctanh_test_data): Likewise.
42414         (ctanh_tonearest_test_data): Likewise.
42415         (ctanh_towardzero_test_data): Likewise.
42416         (ctanh_downward_test_data): Likewise.
42417         (ctanh_upward_test_data): Likewise.
42418         (erf_test_data): Likewise.
42419         (erfc_test_data): Likewise.
42420         (exp_test_data): Likewise.
42421         (exp_tonearest_test_data): Likewise.
42422         (exp_towardzero_test_data): Likewise.
42423         (exp_downward_test_data): Likewise.
42424         (exp_upward_test_data): Likewise.
42425         (exp10_test_data): Likewise.
42426         (exp2_test_data): Likewise.
42427         (expm1_test_data): Likewise.
42428         (fabs_test_data): Likewise.
42429         (fdim_test_data): Likewise.
42430         (finite_test_data): Likewise.
42431         (floor_test_data): Likewise.
42432         (fma_test_data): Likewise.
42433         (fma_towardzero_test_data): Likewise.
42434         (fma_downward_test_data): Likewise.
42435         (fma_upward_test_data): Likewise.
42436         (fmax_test_data): Likewise.
42437         (fmin_test_data): Likewise.
42438         (fmod_test_data): Likewise.
42439         (fpclassify_test_data): Likewise.
42440         (frexp_test_data): Likewise.
42441         (gamma_test_data): Likewise.
42442         (hypot_test_data): Likewise.
42443         (ilogb_test_data): Likewise.
42444         (isfinite_test_data): Likewise.
42445         (isgreater_test_data): Likewise.
42446         (isgreaterequal_test_data): Likewise.
42447         (isinf_test_data): Likewise.
42448         (isless_test_data): Likewise.
42449         (islessequal_test_data): Likewise.
42450         (islessgreater_test_data): Likewise.
42451         (isnan_test_data): Likewise.
42452         (isnormal_test_data): Likewise.
42453         (issignaling_test_data): Likewise.
42454         (isunordered_test_data): Likewise.
42455         (j0_test_data): Likewise.
42456         (j1_test_data): Likewise.
42457         (jn_test_data): Likewise.
42458         (ldexp_test_data): Likewise.
42459         (lgamma_test_data): Likewise.
42460         (lrint_test_data): Likewise.
42461         (lrint_tonearest_test_data): Likewise.
42462         (lrint_towardzero_test_data): Likewise.
42463         (lrint_downward_test_data): Likewise.
42464         (lrint_upward_test_data): Likewise.
42465         (llrint_test_data): Likewise.
42466         (llrint_tonearest_test_data): Likewise.
42467         (llrint_towardzero_test_data): Likewise.
42468         (llrint_downward_test_data): Likewise.
42469         (llrint_upward_test_data): Likewise.
42470         (log_test_data): Likewise.
42471         (log10_test_data): Likewise.
42472         (log1p_test_data): Likewise.
42473         (log2_test_data): Likewise.
42474         (logb_test_data): Likewise.
42475         (logb_downward_test_data): Likewise.
42476         (lround_test_data): Likewise.
42477         (llround_test_data): Likewise.
42478         (modf_test_data): Likewise.
42479         (nearbyint_test_data): Likewise.
42480         (nextafter_test_data): Likewise.
42481         (nexttoward_test_data): Likewise.
42482         (pow_test_data): Likewise.
42483         (pow_tonearest_test_data): Likewise.
42484         (pow_towardzero_test_data): Likewise.
42485         (pow_downward_test_data): Likewise.
42486         (pow_upward_test_data): Likewise.
42487         (remainder_test_data): Likewise.
42488         (remainder_tonearest_test_data): Likewise.
42489         (remainder_towardzero_test_data): Likewise.
42490         (remainder_downward_test_data): Likewise.
42491         (remainder_upward_test_data): Likewise.
42492         (remquo_test_data): Likewise.
42493         (rint_test_data): Likewise.
42494         (rint_tonearest_test_data): Likewise.
42495         (rint_towardzero_test_data): Likewise.
42496         (rint_downward_test_data): Likewise.
42497         (rint_upward_test_data): Likewise.
42498         (round_test_data): Likewise.
42499         (scalb_test_data): Likewise.
42500         (scalbn_test_data): Likewise.
42501         (scalbln_test_data): Likewise.
42502         (signbit_test_data): Likewise.
42503         (sin_test_data): Likewise.
42504         (sin_tonearest_test_data): Likewise.
42505         (sin_towardzero_test_data): Likewise.
42506         (sin_downward_test_data): Likewise.
42507         (sin_upward_test_data): Likewise.
42508         (sincos_test_data): Likewise.
42509         (sinh_test_data): Likewise.
42510         (sinh_tonearest_test_data): Likewise.
42511         (sinh_towardzero_test_data): Likewise.
42512         (sinh_downward_test_data): Likewise.
42513         (sinh_upward_test_data): Likewise.
42514         (sqrt_test_data): Likewise.
42515         (tan_test_data): Likewise.
42516         (tan_tonearest_test_data): Likewise.
42517         (tan_towardzero_test_data): Likewise.
42518         (tan_downward_test_data): Likewise.
42519         (tan_upward_test_data): Likewise.
42520         (tanh_test_data): Likewise.
42521         (tgamma_test_data): Likewise.
42522         (trunc_test_data): Likewise.
42523         (y0_test_data): Likewise.
42524         (y1_test_data): Likewise.
42525         (yn_test_data): Likewise.
42526         (significand_test_data): Likewise.
42528         * math/gen-libm-test.pl (@functions): Remove variable.
42529         (generate_testfile): Don't handle START and END lines.
42530         * math/libm-test.inc (START): New macro.
42531         (END): Likewise.
42532         (END_COMPLEX): Likewise.
42533         (acos_test): Use END macro without arguments.
42534         (acos_test_tonearest): Likewise.
42535         (acos_test_towardzero): Likewise.
42536         (acos_test_downward): Likewise.
42537         (acos_test_upward): Likewise.
42538         (acosh_test): Likewise.
42539         (asin_test): Likewise.
42540         (asin_test_tonearest): Likewise.
42541         (asin_test_towardzero): Likewise.
42542         (asin_test_downward): Likewise.
42543         (asin_test_upward): Likewise.
42544         (asinh_test): Likewise.
42545         (atan_test): Likewise.
42546         (atanh_test): Likewise.
42547         (atan2_test): Likewise.
42548         (cabs_test): Likewise.
42549         (cacos_test): Use END_COMPLEX macro without arguments.
42550         (cacosh_test): Likewise.
42551         (carg_test): Use END macro without arguments.
42552         (casin_test): Use END_COMPLEX macro without arguments.
42553         (casinh_test): Likewise.
42554         (catan_test): Likewise.
42555         (catanh_test): Likewise.
42556         (cbrt_test): Use END macro without arguments.
42557         (ccos_test): Use END_COMPLEX macro without arguments.
42558         (ccosh_test): Likewise.
42559         (ceil_test): Use END macro without arguments.
42560         (cexp_test): Use END_COMPLEX macro without arguments.
42561         (cimag_test): Use END macro without arguments.
42562         (clog_test): Use END_COMPLEX macro without arguments.
42563         (clog10_test): Likewise.
42564         (conj_test): Likewise.
42565         (copysign_test): Use END macro without arguments.
42566         (cos_test): Likewise.
42567         (cos_test_tonearest): Likewise.
42568         (cos_test_towardzero): Likewise.
42569         (cos_test_downward): Likewise.
42570         (cos_test_upward): Likewise.
42571         (cosh_test): Likewise.
42572         (cosh_test_tonearest): Likewise.
42573         (cosh_test_towardzero): Likewise.
42574         (cosh_test_downward): Likewise.
42575         (cosh_test_upward): Likewise.
42576         (cpow_test): Use END_COMPLEX macro without arguments.
42577         (cproj_test): Likewise.
42578         (creal_test): Use END macro without arguments.
42579         (csin_test): Use END_COMPLEX macro without arguments.
42580         (csinh_test): Likewise.
42581         (csqrt_test): Likewise.
42582         (ctan_test): Likewise.
42583         (ctan_test_tonearest): Likewise.
42584         (ctan_test_towardzero): Likewise.
42585         (ctan_test_downward): Likewise.
42586         (ctan_test_upward): Likewise.
42587         (ctanh_test): Likewise.
42588         (ctanh_test_tonearest): Likewise.
42589         (ctanh_test_towardzero): Likewise.
42590         (ctanh_test_downward): Likewise.
42591         (ctanh_test_upward): Likewise.
42592         (erf_test): Use END macro without arguments.
42593         (erfc_test): Likewise.
42594         (exp_test): Likewise.
42595         (exp_test_tonearest): Likewise.
42596         (exp_test_towardzero): Likewise.
42597         (exp_test_downward): Likewise.
42598         (exp_test_upward): Likewise.
42599         (exp10_test): Likewise.
42600         (exp2_test): Likewise.
42601         (expm1_test): Likewise.
42602         (fabs_test): Likewise.
42603         (fdim_test): Likewise.
42604         (finite_test): Likewise.
42605         (floor_test): Likewise.
42606         (fma_test): Likewise.
42607         (fma_test_towardzero): Likewise.
42608         (fma_test_downward): Likewise.
42609         (fma_test_upward): Likewise.
42610         (fmax_test): Likewise.
42611         (fmin_test): Likewise.
42612         (fmod_test): Likewise.
42613         (fpclassify_test): Likewise.
42614         (frexp_test): Likewise.
42615         (gamma_test): Likewise.
42616         (hypot_test): Likewise.
42617         (ilogb_test): Likewise.
42618         (isfinite_test): Likewise.
42619         (isgreater_test): Likewise.
42620         (isgreaterequal_test): Likewise.
42621         (isinf_test): Likewise.
42622         (isless_test): Likewise.
42623         (islessequal_test): Likewise.
42624         (islessgreater_test): Likewise.
42625         (isnan_test): Likewise.
42626         (isnormal_test): Likewise.
42627         (issignaling_test): Likewise.
42628         (isunordered_test): Likewise.
42629         (j0_test): Likewise.
42630         (j1_test): Likewise.
42631         (jn_test): Likewise.
42632         (ldexp_test): Likewise.
42633         (lgamma_test): Likewise.
42634         (lrint_test): Likewise.
42635         (lrint_test_tonearest): Likewise.
42636         (lrint_test_towardzero): Likewise.
42637         (lrint_test_downward): Likewise.
42638         (lrint_test_upward): Likewise.
42639         (llrint_test): Likewise.
42640         (llrint_test_tonearest): Likewise.
42641         (llrint_test_towardzero): Likewise.
42642         (llrint_test_downward): Likewise.
42643         (llrint_test_upward): Likewise.
42644         (log_test): Likewise.
42645         (log10_test): Likewise.
42646         (log1p_test): Likewise.
42647         (log2_test): Likewise.
42648         (logb_test): Likewise.
42649         (logb_test_downward): Likewise.
42650         (lround_test): Likewise.
42651         (llround_test): Likewise.
42652         (modf_test): Likewise.
42653         (nearbyint_test): Likewise.
42654         (nextafter_test): Likewise.
42655         (nexttoward_test): Likewise.
42656         (pow_test): Likewise.
42657         (pow_test_tonearest): Likewise.
42658         (pow_test_towardzero): Likewise.
42659         (pow_test_downward): Likewise.
42660         (pow_test_upward): Likewise.
42661         (remainder_test): Likewise.
42662         (remainder_test_tonearest): Likewise.
42663         (remainder_test_towardzero): Likewise.
42664         (remainder_test_downward): Likewise.
42665         (remainder_test_upward): Likewise.
42666         (remquo_test): Likewise.
42667         (rint_test): Likewise.
42668         (rint_test_tonearest): Likewise.
42669         (rint_test_towardzero): Likewise.
42670         (rint_test_downward): Likewise.
42671         (rint_test_upward): Likewise.
42672         (round_test): Likewise.
42673         (scalb_test): Likewise.
42674         (scalbn_test): Likewise.
42675         (scalbln_test): Likewise.
42676         (signbit_test): Likewise.
42677         (sin_test): Likewise.
42678         (sin_test_tonearest): Likewise.
42679         (sin_test_towardzero): Likewise.
42680         (sin_test_downward): Likewise.
42681         (sin_test_upward): Likewise.
42682         (sincos_test): Likewise.
42683         (sinh_test): Likewise.
42684         (sinh_test_tonearest): Likewise.
42685         (sinh_test_towardzero): Likewise.
42686         (sinh_test_downward): Likewise.
42687         (sinh_test_upward): Likewise.
42688         (sqrt_test): Likewise.
42689         (tan_test): Likewise.
42690         (tan_test_tonearest): Likewise.
42691         (tan_test_towardzero): Likewise.
42692         (tan_test_downward): Likewise.
42693         (tan_test_upward): Likewise.
42694         (tanh_test): Likewise.
42695         (tgamma_test): Likewise.
42696         (trunc_test): Likewise.
42697         (y0_test): Likewise.
42698         (y1_test): Likewise.
42699         (yn_test): Likewise.
42700         (significand_test): Likewise.
42702 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42704         [BZ #15381]
42705         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42707 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42709         [BZ #14894]
42710         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42711         __ppc_mdoio and __ppc_mdoom.
42712         * manual/platform.texi: Document new functions __ppc_yield,
42713         __ppc_mdoio and __ppc_mdoom.
42715 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42717         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42718         (main): Mention "tls" pseudo-hwcap is legacy.
42719         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42721 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42723         * math/gen-libm-test.pl (parse_args): Output only string of
42724         arguments as text for test name, not full call or descriptions of
42725         tests for extra outputs.
42726         (generate_testfile): Do not pass function name to parse_args.
42727         Generate this_func variable from START.
42728         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42729         field to arg_str.
42730         (struct test_ff_f_data): Likewise.
42731         (test_ff_f_data_nexttoward): Likewise.
42732         (struct test_fi_f_data): Likewise.
42733         (struct test_fl_f_data): Likewise.
42734         (struct test_if_f_data): Likewise.
42735         (struct test_fff_f_data): Likewise.
42736         (struct test_c_f_data): Likewise.
42737         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42738         (struct test_fF_f1_data): Likewise.
42739         (struct test_ffI_f1_data): Likewise.
42740         (struct test_c_c_data): Rename test_name field to arg_str.
42741         (struct test_cc_c_data): Likewise.
42742         (struct test_f_i_data): Likewise.
42743         (struct test_ff_i_data): Likewise.
42744         (struct test_f_l_data): Likewise.
42745         (struct test_f_L_data): Likewise.
42746         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42747         and extra2_name.
42748         (COMMON_TEST_SETUP): New macro.
42749         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42750         (COMMON_TEST_CLEANUP): Likewise.
42751         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42752         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42753         macros.
42754         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42755         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42756         macros.
42757         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42758         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42759         cleanup macros.
42760         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42761         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42762         macros.
42763         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42764         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42765         macros.
42766         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42767         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42768         cleanup macros.
42769         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42770         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42771         cleanup macros.
42772         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42773         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42774         cleanup macros.
42775         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42776         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42777         macros.
42778         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42779         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42780         macros.
42781         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42782         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42783         macros.
42784         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42785         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42786         cleanup macros.
42787         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42788         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42789         cleanup macros.
42790         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42791         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42792         macros.
42793         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42794         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42795         cleanup macros.
42796         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42797         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42798         macros.
42799         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42800         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42801         macros.
42802         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42803         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42804         cleanup macros.
42805         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42807 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42809         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42810         to _sifields.sigfault.
42811         (si_addr_lsb): Define new macro.
42812         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42813         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42814         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42816 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42818         [BZ #15441]
42819         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42820         returns -1.
42821         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42822         null return -1.
42823         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42824         loading the domain.
42826 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42828         * math/gen-libm-test.pl (parse_args): Do not include expected
42829         result in test name.
42830         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42831         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42832         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42833         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42834         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42837 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42839         * benchtests/Makefile: Sort function entries.
42841         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42842         tanh, asinh, acosh, atanh.
42843         * benchtests/acos-inputs: New file.
42844         * benchtests/acosh-inputs: New file.
42845         * benchtests/asin-inputs: New file.
42846         * benchtests/asinh-inputs: New file.
42847         * benchtests/atanh-inputs: New file.
42848         * benchtests/cosh-inputs: New file.
42849         * benchtests/log-inputs: New file.
42850         * benchtests/sinh-inputs: New file.
42851         * benchtests/tanh-inputs: New file.
42853 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42855         [BZ #15339]
42856         * posix/tst-getaddrinfo4.c: New test.
42857         * posix/Makefile (tests): Add it.
42859 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42861         [BZ #15339]
42862         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42863         when no services were used.
42864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42865         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42867 2013-05-21  Andreas Schwab  <schwab@suse.de>
42869         [BZ #15014]
42870         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42871         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42872         successful.
42873         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42874         redundant variable declarations and reallocation of buffer when
42875         parsing as IPv6 address.  Always set NSS status when called from
42876         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42877         buffer too small.  Correct computation of needed size.
42878         * nss/Makefile (tests): Add test-digits-dots.
42879         * nss/test-digits-dots.c: New test.
42881 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42883         * benchtests/Makefile: Remove instructions for adding
42884         benchmark tests.
42885         * benchtests/README: New file to explain how to execute and
42886         enhance the benchmark tests.
42888 2013-05-21  Andreas Schwab  <schwab@suse.de>
42890         [BZ #15493]
42891         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42892         * setjmp/tst-sigsetjmp.c: New test.
42894 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42896         * sysdeps/x86_64/memset.S (memset): New implementation.
42897         (__bzero): Likewise.
42898         (__memset_tail): New function.
42900 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42902         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42903         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42904         __memcpy_sse2_unaligned ifunc selection.
42905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42906         Add memcpy-sse2-unaligned.S.
42907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42908         Add: __memcpy_sse2_unaligned.
42910 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42912         [BZ #15490]
42913         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42914         math_force_eval before restoring floating-point envrionment.
42915         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42916         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42917         Likewise.
42918         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42919         <math_private.h>.
42920         (__nearbyintl): Use math_force_eval before restoring
42921         floating-point environment.
42922         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42924         * math/gen-libm-test.pl (special_functions): Remove.
42925         (parse_args): Don't handle TEST_extra.  Handle functions with no
42926         return value.
42927         * math/libm-test.inc (struct test_sincos_data): Replace with
42928         struct test_fFF_11_data.
42929         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42930         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42931         (sincos_test_data): Change element type to struct
42932         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42933         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42934         RUN_TEST_LOOP_sincos.
42935         * math/README.libm-test: Don't mention special handling of
42936         individual functions.
42937         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42938         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42939         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42940         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42941         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42944         * math/gen-libm-test.pl (get_variable): Remove function.
42945         (parse_args): Don't show pointer parameters to call in test
42946         names.  Use "extra output N" in test names for extra outputs
42947         rather than naming variables.
42949 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42951         [BZ #15488]
42952         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42953         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42954         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42955         double tests.
42956         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42957         disable.
42958         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42959         check_long_double.
42961         * math/gen-libm-test.pl (@tests): Remove variable.
42962         ($count): Likewise.
42963         (new_test): Remove function.
42964         (show_exceptions): New function.
42965         (special_functions): Use show_exceptions instead of new_test.
42966         (parse_args): Likewise.
42967         (generate_testfile): Pass only function name in generated call to
42968         print_max_error or print_complex_max_error.
42969         (get_ulps): Do not handle complex tests specially.
42970         (output_test): Rename to ...
42971         (get_all_ulps_for_test): ... this.  Return a string rather than
42972         printing to a file.  Require ulps to be present.
42973         (output_ulps): Generate arrays rather than #defines.
42974         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42975         (struct ulp_data): New type.
42976         (BUILD_COMPLEX_ULP): Remove macro.
42977         (compare_ulp_data): New function.
42978         (find_ulps): Likewise.
42979         (find_test_ulps): Likewise.
42980         (find_function_ulps): Likewise.
42981         (find_complex_function_ulps): Likewise.
42982         (print_max_error): Determine allowed ulps using
42983         find_function_ulps.
42984         (print_complex_max_error): Determine allowed ulps using
42985         find_complex_function_ulps.
42986         (check_float_internal): Determine max ulps using find_test_ulps.
42987         (check_float): Do not take max_ulp parameter.  Update call to
42988         check_float_internal.
42989         (check_complex): Likewise.
42990         (check_int): Do not take max_ulp parameter.
42991         (check_long): Likewise.
42992         (check_bool): Likewise.
42993         (check_longlong): Likewise.
42994         (struct test_f_f_data): Remove max_ulp field.
42995         (struct test_ff_f_data): Likewise.
42996         (struct test_ff_f_data_nexttoward): Likewise.
42997         (struct test_fi_f_data): Likewise.
42998         (struct test_fl_f_data): Likewise.
42999         (struct test_if_f_data): Likewise.
43000         (struct test_fff_f_data): Likewise.
43001         (struct test_c_f_data): Likewise.
43002         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43003         (struct test_fF_f1_data): Likewise.
43004         (struct test_ffI_f1_data): Likewise.
43005         (struct test_c_c_data): Remove max_ulp field.
43006         (struct test_cc_c_data): Likewise.
43007         (struct test_f_i_data): Likewise.
43008         (struct test_ff_i_data): Likewise.
43009         (struct test_f_l_data): Likewise.
43010         (struct test_f_L_data): Likewise.
43011         (struct test_sincos_data): Likewise.
43012         (RUN_TEST_f_f): Do not handle ulps.
43013         (RUN_TEST_LOOP_f_f): Likewise.
43014         (RUN_TEST_2_f): Likewise.
43015         (RUN_TEST_LOOP_2_f): Likewise.
43016         (RUN_TEST_fff_f): Likewise.
43017         (RUN_TEST_LOOP_fff_f): Likewise.
43018         (RUN_TEST_c_f): Likewise.
43019         (RUN_TEST_LOOP_c_f): Likewise.
43020         (RUN_TEST_f_f1): Likewise.
43021         (RUN_TEST_LOOP_f_f1): Likewise.
43022         (RUN_TEST_fF_f1): Likewise.
43023         (RUN_TEST_LOOP_fF_f1): Likewise.
43024         (RUN_TEST_fI_f1): Likewise.
43025         (RUN_TEST_LOOP_fI_f1): Likewise.
43026         (RUN_TEST_ffI_f1): Likewise.
43027         (RUN_TEST_LOOP_ffI_f1): Likewise.
43028         (RUN_TEST_c_c): Likewise.
43029         (RUN_TEST_LOOP_c_c): Likewise.
43030         (RUN_TEST_cc_c): Likewise.
43031         (RUN_TEST_LOOP_cc_c): Likewise.
43032         (RUN_TEST_f_i): Likewise.
43033         (RUN_TEST_LOOP_f_i): Likewise.
43034         (RUN_TEST_f_i_tg): Likewise.
43035         (RUN_TEST_LOOP_f_i_tg): Likewise.
43036         (RUN_TEST_ff_i_tg): Likewise.
43037         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43038         (RUN_TEST_f_b): Likewise.
43039         (RUN_TEST_LOOP_f_b): Likewise.
43040         (RUN_TEST_f_b_tg): Likewise.
43041         (RUN_TEST_LOOP_f_b_tg): Likewise.
43042         (RUN_TEST_f_l): Likewise.
43043         (RUN_TEST_LOOP_f_l): Likewise.
43044         (RUN_TEST_f_L): Likewise.
43045         (RUN_TEST_LOOP_f_L): Likewise.
43046         (RUN_TEST_sincos): Likewise.
43047         (RUN_TEST_LOOP_sincos): Likewise.
43049 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43051         [BZ #15480]
43052         [BZ #15485]
43053         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43054         main case of finite arguments, set rounding mode to FE_TONEAREST
43055         and discard exceptions.
43056         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43057         exceptions.
43058         (remainder_tonearest_test_data): New variable.
43059         (remainder_test_tonearest): New function.
43060         (remainder_towardzero_test_data): New variable.
43061         (remainder_test_towardzero): New function.
43062         (remainder_downward_test_data): New variable.
43063         (remainder_test_downward): New function.
43064         (remainder_upward_test_data): New variable.
43065         (remainder_test_upward): New function.
43066         (main): Call the new test functions.
43068         * math/libm-test.inc (struct test_f_f1_data): Remove field
43069         extra_init.
43070         (struct test_fF_f1_data): Likewise.
43071         (struct test_ffI_f1_data): Likewise.
43072         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43073         based on value of EXTRA_EXPECTED.
43074         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43075         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43076         EXTRA_VAR based on value of EXTRA_EXPECTED.
43077         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43078         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43079         EXTRA_VAR based on value of EXTRA_EXPECTED.
43080         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43081         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43082         EXTRA_VAR based on value of EXTRA_EXPECTED.
43083         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43084         * math/gen-libm-test.pl (parse_args): Don't output initializers
43085         for extra output values.
43087         * math/libm-test.inc (check_int): Expect result to be exactly
43088         equal to expected value and do not handle ulps.
43089         (check_long): Likewise.
43090         (check_longlong): Likewise.
43092         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43093         exceptions.
43094         (cimag_test_data): Likewise.
43095         (conj_test_data): Likewise.
43096         (copysign_test_data): Likewise.
43097         (cproj_test_data): Likewise.
43098         (creal_test_data): Likewise.
43099         (fabs_test_data): Likewise.
43100         (fdim_test_data): Likewise.
43101         (finite_test_data): Likewise.
43102         (floor_test_data): Likewise.
43103         (fmax_test_data): Likewise.
43104         (fmin_test_data): Likewise.
43105         (fmod_test_data): Likewise.
43106         (fpclassify_test_data): Likewise.
43107         (frexp_test_data): Likewise.
43108         (ilogb_test_data): Likewise.
43109         (isfinite_test_data): Likewise.
43110         (isgreater_test_data): Likewise.
43111         (isgreaterequal_test_data): Likewise.
43112         (isinf_test_data): Likewise.
43113         (isless_test_data): Likewise.
43114         (islessequal_test_data): Likewise.
43115         (islessgreater_test_data): Likewise.
43116         (isnan_test_data): Likewise.
43117         (isnormal_test_data): Likewise.
43118         (issignaling_test_data): Likewise.
43119         (isunordered_test_data): Likewise.
43120         (ldexp_test_data): Likewise.
43121         (lrint_test_data): Likewise.
43122         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43123         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43124         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43125         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43126         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43127         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43128         test input.
43129         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43130         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43131         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43132         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43133         that test input.
43134         (lrint_downward_test_data): Test for "inexact" exceptions.
43135         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43136         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43137         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43138         test input.
43139         (lrint_upward_test_data): Test for "inexact" exceptions.
43140         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43141         test input.
43142         (llrint_test_data): Test for "inexact" exceptions.
43143         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43144         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43145         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43146         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43147         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43148         (llrint_downward_test_data): Test for "inexact" exceptions.
43149         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43150         (llrint_upward_test_data): Test for "inexact" exceptions.
43151         (logb_test_data): Likewise.
43152         (logb_downward_test_data): Likewise.
43153         (nextafter_test_data): Likewise.
43154         (nexttoward_test_data): Likewise.
43155         (remainder_test_data): Likewise.
43156         (remquo_test_data): Likewise.
43157         (scalbn_test_data): Likewise.
43158         (scalbln_test_data): Likewise.
43159         (signbit_test_data): Likewise.
43160         (sqrt_test_data): Likewise.
43161         (significand_test_data): Likewise.
43163 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43165         [BZ #15424]
43166         * benchtests/bench-modf.c (struct args): Mark arg0 as
43167         volatile.
43168         * scripts/bench.pl: Mark members of struct args as volatile.
43170 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43172         [BZ # 15497]
43173         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43174         negative infinity on POWER6 or lower.
43175         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43177 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43179         [BZ #15442]
43180         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43181         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43182         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43183         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43184         (_FP_SETQNAN): New macro.
43185         (_FP_SETQNAN_SEMIRAW): Likewise.
43186         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43187         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43188         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43189         (FP_EXTEND): Use _FP_FRAC_SNANP.
43190         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43191         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43192         into account.
43193         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43194         New macro.
43195         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43196         Likewise.
43198 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43200         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43201         with DIVIDE_BY_ZERO_EXCEPTION.
43202         (gamma_test_data): Likewise.
43203         (lgamma_test_data): Likewise.
43204         (log_test_data): Likewise.
43205         (log10_test_data): Likewise.
43206         (log2_test_data): Likewise.
43207         (tgamma_test_data): Likewise.
43209         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43210         (acos_test_tonearest): Likewise.
43211         (acos_test_towardzero): Likewise.
43212         (acos_test_downward): Likewise.
43213         (acos_test_upward): Likewise.
43214         (acosh_test): Likewise.
43215         (asin_test): Likewise.
43216         (asin_test_tonearest): Likewise.
43217         (asin_test_towardzero): Likewise.
43218         (asin_test_downward): Likewise.
43219         (asin_test_upward): Likewise.
43220         (asinh_test): Likewise.
43221         (atan_test): Likewise.
43222         (atanh_test): Likewise.
43223         (atan2_test): Likewise.
43224         (cabs_test): Likewise.
43225         (cacos_test): Likewise.
43226         (cacosh_test): Likewise.
43227         (casin_test): Likewise.
43228         (casinh_test): Likewise.
43229         (catan_test): Likewise.
43230         (catanh_test): Likewise.
43231         (cbrt_test): Likewise.
43232         (ccos_test): Likewise.
43233         (ccosh_test): Likewise.
43234         (cexp_test): Likewise.
43235         (clog_test): Likewise.
43236         (clog10_test): Likewise.
43237         (cos_test): Likewise.
43238         (cos_test_tonearest): Likewise.
43239         (cos_test_towardzero): Likewise.
43240         (cos_test_downward): Likewise.
43241         (cos_test_upward): Likewise.
43242         (cosh_test): Likewise.
43243         (cosh_test_tonearest): Likewise.
43244         (cosh_test_towardzero): Likewise.
43245         (cosh_test_downward): Likewise.
43246         (cosh_test_upward): Likewise.
43247         (cpow_test): Likewise.
43248         (csin_test): Likewise.
43249         (csinh_test): Likewise.
43250         (csqrt_test): Likewise.
43251         (ctan_test): Likewise.
43252         (ctan_test_tonearest): Likewise.
43253         (ctan_test_towardzero): Likewise.
43254         (ctan_test_downward): Likewise.
43255         (ctan_test_upward): Likewise.
43256         (ctanh_test): Likewise.
43257         (ctanh_test_tonearest): Likewise.
43258         (ctanh_test_towardzero): Likewise.
43259         (ctanh_test_downward): Likewise.
43260         (ctanh_test_upward): Likewise.
43261         (erf_test): Likewise.
43262         (erfc_test): Likewise.
43263         (exp_test): Likewise.
43264         (exp_test_tonearest): Likewise.
43265         (exp_test_towardzero): Likewise.
43266         (exp_test_downward): Likewise.
43267         (exp_test_upward): Likewise.
43268         (exp10_test): Likewise.
43269         (exp2_test): Likewise.
43270         (expm1_test): Likewise.
43271         (fmod_test): Likewise.
43272         (gamma_test): Likewise.
43273         (hypot_test): Likewise.
43274         (j0_test): Likewise.
43275         (j1_test): Likewise.
43276         (jn_test): Likewise.
43277         (lgamma_test): Likewise.
43278         (log_test): Likewise.
43279         (log10_test): Likewise.
43280         (log1p_test): Likewise.
43281         (log2_test): Likewise.
43282         (logb_test_downward): Likewise.
43283         (pow_test): Likewise.
43284         (pow_test_tonearest): Likewise.
43285         (pow_test_towardzero): Likewise.
43286         (pow_test_downward): Likewise.
43287         (pow_test_upward): Likewise.
43288         (remainder_test): Likewise.
43289         (remquo_test): Likewise.
43290         (sin_test): Likewise.
43291         (sin_test_tonearest): Likewise.
43292         (sin_test_towardzero): Likewise.
43293         (sin_test_downward): Likewise.
43294         (sin_test_upward): Likewise.
43295         (sincos_test): Likewise.
43296         (sinh_test): Likewise.
43297         (sinh_test_tonearest): Likewise.
43298         (sinh_test_towardzero): Likewise.
43299         (sinh_test_downward): Likewise.
43300         (sinh_test_upward): Likewise.
43301         (sqrt_test): Likewise.
43302         (tan_test): Likewise.
43303         (tan_test_tonearest): Likewise.
43304         (tan_test_towardzero): Likewise.
43305         (tan_test_downward): Likewise.
43306         (tan_test_upward): Likewise.
43307         (tanh_test): Likewise.
43308         (tgamma_test): Likewise.
43309         (y0_test): Likewise.
43310         (y1_test): Likewise.
43311         (yn_test): Likewise.
43313         * math/gen-libm-test.pl (adjust_arg): Remove function.
43314         (special_function): Remove argument $in_func.  Only handle
43315         generating output for tables of tests, not inside functions.
43316         (parse_args): Likewise.
43317         (generate_testfile): Remove variable $in_func.  Update call to
43318         parse_args.
43319         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43320         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43321         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43322         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43323         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43324         (MAX_VALUE_INIT): Rename macro to max_value.
43325         (MIN_VALUE_INIT): Rename macro to min_value.
43326         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43327         (plus_zero): Remove variable.
43328         (minus_zero): Likewise.
43329         (plus_infty): Likewise.
43330         (minus_infty): Likewise.
43331         (qnan_value): Likewise.
43332         (max_value): Likewise.
43333         (min_value): Likewise.
43334         (min_subnorm_value): Likewise.
43336 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43338         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43339         uint64_t or uint32_t usage.
43340         * crypt/sha256-block.c: Likewise.
43341         * crypt/sha256-crypt.c: Likewise.
43342         * crypt/sha256.c: Likewise.
43343         * crypt/sha512-block.c: Likewise.
43344         * crypt/sha512-crypt.c: Likewise.
43345         * crypt/sha512.c: Likewise.
43346         * debug/backtrace-tst.c: Likewise.
43347         * debug/pcprofiledump.c: Likewise.
43348         * elf/cache.c: Likewise.
43349         * elf/dl-cache.c: Likewise.
43350         * elf/dl-misc.c: Likewise.
43351         * elf/dl-profile.c: Likewise.
43352         * elf/dl-support.c: Likewise.
43353         * elf/ldconfig.c: Likewise.
43354         * elf/sprof.c: Likewise.
43355         * iconv/dummy-repertoire.c: Likewise.
43356         * iconv/iconv_charmap.c: Likewise.
43357         * iconv/skeleton.c: Likewise.
43358         * iconvdata/8bit-generic.c: Likewise.
43359         * iconvdata/cp737.h: Likewise.
43360         * iconvdata/cp775.h: Likewise.
43361         * iconvdata/ibm1008.h: Likewise.
43362         * iconvdata/ibm1025.h: Likewise.
43363         * iconvdata/ibm1046.h: Likewise.
43364         * iconvdata/ibm1097.h: Likewise.
43365         * iconvdata/ibm1112.h: Likewise.
43366         * iconvdata/ibm1122.h: Likewise.
43367         * iconvdata/ibm1123.h: Likewise.
43368         * iconvdata/ibm1124.h: Likewise.
43369         * iconvdata/ibm1129.h: Likewise.
43370         * iconvdata/ibm1130.h: Likewise.
43371         * iconvdata/ibm1132.h: Likewise.
43372         * iconvdata/ibm1133.h: Likewise.
43373         * iconvdata/ibm1137.h: Likewise.
43374         * iconvdata/ibm1140.h: Likewise.
43375         * iconvdata/ibm1141.h: Likewise.
43376         * iconvdata/ibm1142.h: Likewise.
43377         * iconvdata/ibm1143.h: Likewise.
43378         * iconvdata/ibm1144.h: Likewise.
43379         * iconvdata/ibm1145.h: Likewise.
43380         * iconvdata/ibm1146.h: Likewise.
43381         * iconvdata/ibm1147.h: Likewise.
43382         * iconvdata/ibm1148.h: Likewise.
43383         * iconvdata/ibm1149.h: Likewise.
43384         * iconvdata/ibm1153.h: Likewise.
43385         * iconvdata/ibm1154.h: Likewise.
43386         * iconvdata/ibm1155.h: Likewise.
43387         * iconvdata/ibm1156.h: Likewise.
43388         * iconvdata/ibm1157.h: Likewise.
43389         * iconvdata/ibm1158.h: Likewise.
43390         * iconvdata/ibm1160.h: Likewise.
43391         * iconvdata/ibm1161.h: Likewise.
43392         * iconvdata/ibm1162.h: Likewise.
43393         * iconvdata/ibm1163.h: Likewise.
43394         * iconvdata/ibm1164.h: Likewise.
43395         * iconvdata/ibm1166.h: Likewise.
43396         * iconvdata/ibm1167.h: Likewise.
43397         * iconvdata/ibm12712.h: Likewise.
43398         * iconvdata/ibm1390.h: Likewise.
43399         * iconvdata/ibm1399.h: Likewise.
43400         * iconvdata/ibm16804.h: Likewise.
43401         * iconvdata/ibm4517.h: Likewise.
43402         * iconvdata/ibm4899.h: Likewise.
43403         * iconvdata/ibm4909.h: Likewise.
43404         * iconvdata/ibm4971.h: Likewise.
43405         * iconvdata/ibm5347.h: Likewise.
43406         * iconvdata/ibm803.h: Likewise.
43407         * iconvdata/ibm856.h: Likewise.
43408         * iconvdata/ibm901.h: Likewise.
43409         * iconvdata/ibm902.h: Likewise.
43410         * iconvdata/ibm9030.h: Likewise.
43411         * iconvdata/ibm9066.h: Likewise.
43412         * iconvdata/ibm921.h: Likewise.
43413         * iconvdata/ibm922.h: Likewise.
43414         * iconvdata/ibm9448.h: Likewise.
43415         * iconvdata/isiri-3342.h: Likewise.
43416         * iconvdata/jis0201.h: Likewise.
43417         * include/link.h: Likewise.
43418         * include/netdb.h: Likewise.
43419         * inet/check_native.c: Likewise.
43420         * inet/check_pf.c: Likewise.
43421         * inet/getipv4sourcefilter.c: Likewise.
43422         * inet/getnameinfo.c: Likewise.
43423         * inet/getsourcefilter.c: Likewise.
43424         * inet/htonl.c: Likewise.
43425         * inet/setipv4sourcefilter.c: Likewise.
43426         * inet/setsourcefilter.c: Likewise.
43427         * inet/test-inet6_opt.c: Likewise.
43428         * inet/tst-network.c: Likewise.
43429         * locale/C-collate.c: Likewise.
43430         * locale/C-ctype.c: Likewise.
43431         * locale/C-time.c: Likewise.
43432         * locale/C-translit.h: Likewise.
43433         * locale/loadarchive.c: Likewise.
43434         * locale/programs/3level.h: Likewise.
43435         * locale/programs/charmap.c: Likewise.
43436         * locale/programs/charmap.h: Likewise.
43437         * locale/programs/ld-address.c: Likewise.
43438         * locale/programs/ld-collate.c: Likewise.
43439         * locale/programs/ld-ctype.c: Likewise.
43440         * locale/programs/ld-identification.c: Likewise.
43441         * locale/programs/ld-measurement.c: Likewise.
43442         * locale/programs/ld-messages.c: Likewise.
43443         * locale/programs/ld-monetary.c: Likewise.
43444         * locale/programs/ld-name.c: Likewise.
43445         * locale/programs/ld-numeric.c: Likewise.
43446         * locale/programs/ld-paper.c: Likewise.
43447         * locale/programs/ld-telephone.c: Likewise.
43448         * locale/programs/ld-time.c: Likewise.
43449         * locale/programs/linereader.c: Likewise.
43450         * locale/programs/locale.c: Likewise.
43451         * locale/programs/locarchive.c: Likewise.
43452         * locale/programs/locfile.h: Likewise.
43453         * locale/programs/repertoire.c: Likewise.
43454         * locale/programs/simple-hash.c: Likewise.
43455         * locale/programs/simple-hash.h: Likewise.
43456         * malloc/memusage.c: Likewise.
43457         * malloc/memusagestat.c: Likewise.
43458         * nis/nis_defaults.c: Likewise.
43459         * nis/nis_hash.c: Likewise.
43460         * nis/nis_print.c: Likewise.
43461         * nis/nis_xdr.c: Likewise.
43462         * nscd/connections.c: Likewise.
43463         * nscd/hstcache.c: Likewise.
43464         * nscd/nscd_gethst_r.c: Likewise.
43465         * nscd/nscd_getserv_r.c: Likewise.
43466         * nscd/nscd_helper.c: Likewise.
43467         * nscd/servicescache.c: Likewise.
43468         * nss/makedb.c: Likewise.
43469         * nss/nss_db/db-XXX.c: Likewise.
43470         * nss/nss_db/db-initgroups.c: Likewise.
43471         * nss/nss_db/db-netgrp.c: Likewise.
43472         * nss/nss_files/files-network.c: Likewise.
43473         * nss/nss_files/files-parse.c: Likewise.
43474         * posix/bug-regex5.c: Likewise.
43475         * posix/fnmatch_loop.c: Likewise.
43476         * posix/regcomp.c: Likewise.
43477         * posix/regexec.c: Likewise.
43478         * posix/tst-rfc3484-2.c: Likewise.
43479         * posix/tst-rfc3484-3.c: Likewise.
43480         * posix/tst-rfc3484.c: Likewise.
43481         * resolv/nss_dns/dns-canon.c: Likewise.
43482         * resolv/nss_dns/dns-network.c: Likewise.
43483         * resolv/res_init.c: Likewise.
43484         * resolv/res_mkquery.c: Likewise.
43485         * resolv/tst-aton.c: Likewise.
43486         * stdlib/cxa_atexit.c: Likewise.
43487         * stdlib/cxa_finalize.c: Likewise.
43488         * stdlib/gen-fpioconst.c: Likewise.
43489         * stdlib/strtol_l.c: Likewise.
43490         * string/tst-endian.c: Likewise.
43491         * sunrpc/auth_des.c: Likewise.
43492         * sunrpc/clnt_udp.c: Likewise.
43493         * sunrpc/rtime.c: Likewise.
43494         * sunrpc/svcauth_des.c: Likewise.
43495         * sunrpc/xdr.c: Likewise.
43496         * sunrpc/xdr_intXX_t.c: Likewise.
43497         * sunrpc/xdr_rec.c: Likewise.
43498         * sysdeps/generic/ldconfig.h: Likewise.
43499         * sysdeps/generic/ldsodefs.h: Likewise.
43500         * sysdeps/generic/memusage.h: Likewise.
43501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43502         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43503         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43504         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43505         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43507         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43508         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43509         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43510         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43511         * sysdeps/posix/getaddrinfo.c: Likewise.
43512         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43513         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43514         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43515         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43516         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43517         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43518         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43519         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43520         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43521         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43522         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43523         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43524         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43525         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43526         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43527         * sysdeps/x86_64/dl-tls.h: Likewise.
43528         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43529         * time/alt_digit.c: Likewise.
43530         * time/era.c: Likewise.
43531         * wcsmbs/tst-c16c32-1.c: Likewise.
43533 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43535         * math/libm-test.inc (struct test_sincos_data): New type.
43536         (RUN_TEST_LOOP_sincos): New macro.
43537         (sincos_test_data): New variable.
43538         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43540 2013-05-16  Richard Henderson  <rth@redhat.com>
43542         * math/atest-exp2.c (LIMB64): New macro.
43543         (CONSTSZ): New macro.
43544         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43545         (hexdig): Move ...
43546         (print_mpn_fp): ... to function scope.
43547         (read_mpn_hex): Remove.
43548         (get_log2): Remove.
43549         (exp2_mpn): Use mp_log2.
43550         (main): Use mp_exp1.
43552 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43554         * math/libm-test.inc: Remove comment about not testing "inexact"
43555         exceptions.
43556         (INEXACT_EXCEPTION): New macro.
43557         (NO_INEXACT_EXCEPTION): Likewise.
43558         (INVALID_EXCEPTION_OK): Update value.
43559         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43560         (OVERFLOW_EXCEPTION_OK): Likewise.
43561         (UNDERFLOW_EXCEPTION_OK): Likewise.
43562         (IGNORE_ZERO_INF_SIGN): Likewise.
43563         (ERRNO_UNCHANGED): Likewise.
43564         (ERRNO_EDOM): Likewise.
43565         (ERRNO_ERANGE): Likewise.
43566         (test_exceptions): Handle testing "inexact" exceptions.
43567         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43568         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43569         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43570         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43571         INEXACT_EXCEPTION.
43572         (rint_towardzero_test_data): Likewise.
43573         (rint_downward_test_data): Likewise.
43574         (rint_upward_test_data): Likewise.
43576         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43577         with OVERFLOW_EXCEPTION.
43578         (exp10_test_data): Likewise.
43579         (exp2_test_data): Likewise.
43580         (expm1_test_data): Likewise.
43581         (lgamma_test_data): Likewise.
43582         (pow_test_data): Likewise.
43583         (tgamma_test_data): Likewise.
43584         (yn_test_data): Remove duplicate test of overflow.
43586         * math/libm-test.inc (struct test_cc_c_data): New type.
43587         (RUN_TEST_LOOP_cc_c): New macro.
43588         (cpow_test_data): New variable.
43589         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43591         * math/libm-test.inc (struct test_f_L_data): New type.
43592         (RUN_TEST_LOOP_f_L): New macro.
43593         (llrint_test_data): New variable.
43594         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43595         (llrint_tonearest_test_data): New variable.
43596         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43597         (llrint_towardzero_test_data): New variable.
43598         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43599         (llrint_downward_test_data): New variable.
43600         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43601         (llrint_upward_test_data): New variable.
43602         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43603         (llround_test_data): New variable.
43604         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43606 2013-05-13  Peter Collingbourne  <pcc@google.com>
43608         * math/atest-exp2.c (get_log2): Remove const attribute.
43610 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43612         * math/libm-test.inc (struct test_f_l_data): New type.
43613         (RUN_TEST_LOOP_f_l): New macro.
43614         (lrint_test_data): New variable.
43615         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43616         (lrint_tonearest_test_data): New variable.
43617         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43618         (lrint_towardzero_test_data): New variable.
43619         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43620         (lrint_downward_test_data): New variable.
43621         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43622         (lrint_upward_test_data): New variable.
43623         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43624         (lround_test_data): New variable.
43625         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43627 2013-05-15  Peter Collingbourne  <pcc@google.com>
43629         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43630         (EXTRACT_WORDS64) Use where appropriate.
43631         (INSERT_WORDS64) Likewise.
43633         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43634         constraints with x constraints.
43635         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43637         * malloc/obstack.c (_obstack_compat): Add initializer.
43639 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43641         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43642         si_trapno and add si_addr_lsb to _sifields.sigfault.
43643         (si_trapno): Remove macro.
43644         (si_addr_lsb): Define new macro.
43645         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43647 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43649         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43650         instead of TEST_f_l.
43651         (llrint_test_tonearest): Likewise.
43652         (llrint_test_towardzero): Likewise.
43653         (llrint_test_downward): Likewise.
43654         (llrint_test_upward): Likewise.
43655         (llround_test): Likewise.
43657         * math/libm-test.inc (struct test_f_i_data): Add comment.
43658         (RUN_TEST_LOOP_f_b): New macro.
43659         (RUN_TEST_LOOP_f_b_tg): Likewise.
43660         (finite_test_data): New variable.
43661         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43662         (isfinite_test_data): New variable.
43663         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43664         (isinf_test_data): New variable.
43665         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43666         (isnan_test_data): New variable.
43667         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43668         (isnormal_test_data): New variable.
43669         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43670         (issignaling_test_data): New variable.
43671         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43672         (signbit_test_data): New variable.
43673         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43675         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43676         with INVALID_EXCEPTION.
43677         (acosh_test_data): Likewise.
43678         (asin_test_data): Likewise.
43679         (atanh_test_data): Likewise.
43680         (fmod_test_data): Likewise.
43681         (log_test_data): Likewise.
43682         (log10_test_data): Likewise.
43683         (log2_test_data): Likewise.
43684         (pow_test_data): Likewise.
43685         (sqrt_test_data): Likewise.
43686         (y0_test_data): Likewise.
43687         (y1_test_data): Likewise.
43688         (yn_test_data): Likewise.
43690         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43691         function contents.
43693         * math/libm-test.inc (struct test_ff_i_data): New type.
43694         (RUN_TEST_LOOP_ff_i_tg): New macro.
43695         (isgreater_test_data): New variable.
43696         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43697         (isgreaterequal_test_data): New variable.
43698         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43699         (isless_test_data): New variable.
43700         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43701         (islessequal_test_data): New variable.
43702         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43703         (islessgreater_test_data): New variable.
43704         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43705         (isunordered_test_data): New variable.
43706         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43708 2013-05-14  David S. Miller  <davem@davemloft.net>
43710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43712 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43714         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43716         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43717         extra_test to int.
43718         (struct test_f_i_data): Change type of max_ulp to int.
43720         * math/libm-test.inc (test_ffI_f1_data): New type.
43721         (RUN_TEST_LOOP_ffI_f1): New macro.
43722         (remquo_test_data): New variable.
43723         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43725         * setjmp/tst-setjmp-fp.c: New file.
43726         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43727         (link-libm): New variable.
43728         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43730         * math/libm-test.inc (struct test_f_i_data): New type.
43731         (RUN_TEST_LOOP_f_i): New macro.
43732         (RUN_TEST_LOOP_f_i_tg): Likewise.
43733         (fpclassify_test_data): New variable.
43734         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43735         (ilogb_test_data): New variable.
43736         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43738         * math/libm-test.inc (scalbln_test): Correct function name in END
43739         call.
43741         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43742         (RUN_TEST_LOOP_fI_f1): New macro.
43743         (frexp_test_data): New variable.
43744         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43746         * math/libm-test.inc (struct test_fF_f1_data): New type.
43747         (RUN_TEST_LOOP_fF_f1): New macro.
43748         (modf_test_data): New variable.
43749         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43751         * math/libm-test.inc (struct test_f_f1_data): New type.
43752         (RUN_TEST_LOOP_f_f1): New macro.
43753         (gamma_test_data): New variable.
43754         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43755         (lgamma_test_data): New variable.
43756         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43758 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43760         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43761         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43762         (main): Comment "tls" pseudo-hwcap.
43764 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43766         * math/libm-test.inc (struct test_fl_f_data): New type.
43767         (RUN_TEST_LOOP_fl_f): New variable.
43768         (scalbln_test_data): New variable.
43769         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43771         * math/libm-test.inc (struct test_fi_f_data): New type.
43772         (RUN_TEST_LOOP_fi_f): New macro.
43773         (ldexp_test_data): New variable.
43774         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43775         (scalbn_test_data): New variable.
43776         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43778         * math/libm-test.inc (struct test_c_f_data): New type.
43779         (RUN_TEST_LOOP_c_f): New macro.
43780         (cabs_test_data): New variable.
43781         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43782         (carg_test_data): New variable.
43783         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43784         (cimag_test_data): New variable.
43785         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43786         (creal_test_data): New variable.
43787         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43789         * math/libm-test.inc (struct test_if_f_data): New type.
43790         (RUN_TEST_LOOP_if_f): New macro.
43791         (jn_test_data): New variable.
43792         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43793         (yn_test_data): New variable.
43794         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43796         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43798 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43800         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43801         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43803 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43805         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43806         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43807         (bench-deps): Add bench-timing.h.
43808         * benchtests-bench-skeleton.c: Include bench-timing.h.
43809         (main): Use TIMING_* macros instead of clock_gettime.
43810         * benchtests/bench-timing.h: New file.
43812         [BZ #14582]
43813         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43814         Renamed from _LIB_VERSION.
43815         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43817 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43819         * math/libm-test.inc (struct test_fff_f_data): New type.
43820         (RUN_TEST_LOOP_fff_f): New macro.
43821         (fma_test_data): New variable.
43822         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43823         (fma_towardzero_test_data): New variable.
43824         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43825         (fma_downward_test_data): New variable.
43826         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43827         (fma_upward_test_data): New variable.
43828         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43830         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43831         (struct test_c_c_data): New type.
43832         (RUN_TEST_LOOP_c_c): New macro.
43833         (cacos_test_data): New variable.
43834         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43835         (cacosh_test_data): New variable.
43836         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43837         (casin_test_data): New variable.
43838         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43839         (casinh_test_data): New variable.
43840         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43841         (catan_test_data): New variable.
43842         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43843         (catanh_test_data): New variable.
43844         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43845         (ccos_test_data): New variable.
43846         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43847         (ccosh_test_data): New variable.
43848         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43849         (cexp_test_data): New variable.
43850         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43851         (clog_test_data): New variable.
43852         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43853         (clog10_test_data): New variable.
43854         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43855         (conj_test_data): New variable.
43856         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43857         (cproj_test_data): New variable.
43858         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43859         (csin_test_data): New variable.
43860         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43861         (csinh_test_data): New variable.
43862         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43863         (csqrt_test_data): New variable.
43864         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43865         (ctan_test_data): New variable.
43866         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43867         (ctan_tonearest_test_data): New variable.
43868         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43869         (ctan_towardzero_test_data): New variable.
43870         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43871         (ctan_downward_test_data): New variable.
43872         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43873         (ctan_upward_test_data): New variable.
43874         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43875         (ctanh_test_data): New variable.
43876         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43877         (ctanh_tonearest_test_data): New variable.
43878         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43879         (ctanh_towardzero_test_data): New variable.
43880         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43881         (ctanh_downward_test_data): New variable.
43882         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43883         (ctanh_upward_test_data): New variable.
43884         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43885         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43886         of BUILD_COMPLEX.
43888         * math/libm-test.inc (struct test_ff_f_data): New type.
43889         (struct test_ff_f_data_nexttoward): Likewise.
43890         (RUN_TEST_LOOP_2_f): New macro.
43891         (RUN_TEST_LOOP_ff_f): Likewise.
43892         (atan2_test_data): New variable.
43893         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43894         (copysign_test_data): New variable.
43895         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43896         (fdim_test_data): New variable.
43897         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43898         (fmax_test_data): New variable.
43899         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43900         (fmin_test_data): New variable.
43901         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43902         (fmod_test_data): New variable.
43903         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43904         (hypot_test_data): New variable.
43905         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43906         (nextafter_test_data): New variable.
43907         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43908         (nexttoward_test_data): New variable.
43909         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43910         (pow_test_data): New variable.
43911         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43912         (pow_tonearest_test_data): New variable.
43913         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43914         (pow_towardzero_test_data): New variable.
43915         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43916         (pow_downward_test_data): New variable.
43917         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43918         (pow_upward_test_data): New variable.
43919         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43920         (remainder_test_data): New variable.
43921         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43922         (scalb_test_data): New variable.
43923         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43924         * sysdeps/i386/fpu/libm-test-ulps: Update.
43926 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43928         * math/libm-test.inc (fma_test): Use max_value instead of local
43929         variable fltmax.
43930         (nextafter_test): Likewise.
43932         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43933         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43934         (acos_downward_test_data): New variable.
43935         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43936         (acos_upward_test_data): New variable.
43937         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43938         (acosh_test_data): New variable.
43939         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43940         (asin_test_data): New variable.
43941         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43942         (asin_tonearest_test_data): New variable.
43943         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43944         (asin_towardzero_test_data): New variable.
43945         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43946         (asin_downward_test_data): New variable.
43947         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43948         (asin_upward_test_data): New variable.
43949         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43950         (asinh_test_data): New variable.
43951         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43952         (atan_test_data): New variable.
43953         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43954         (atanh_test_data): New variable.
43955         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43956         (cbrt_test_data): New variable.
43957         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43958         (ceil_test_data): New variable.
43959         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43960         (cos_test_data): New variable.
43961         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43962         (cos_tonearest_test_data): New variable.
43963         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43964         (cos_towardzero_test_data): New variable.
43965         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43966         (cos_downward_test_data): New variable.
43967         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43968         (cos_upward_test_data): New variable.
43969         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43970         (cosh_test_data): New variable.
43971         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43972         (cosh_tonearest_test_data): New variable.
43973         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43974         (cosh_towardzero_test_data): New variable.
43975         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43976         (cosh_downward_test_data): New variable.
43977         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43978         (cosh_upward_test_data): New variable.
43979         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43980         (erf_test_data): New variable.
43981         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43982         (erfc_test_data): New variable.
43983         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43984         (exp_test_data): New variable.
43985         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43986         (exp_tonearest_test_data): New variable.
43987         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43988         (exp_towardzero_test_data): New variable.
43989         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43990         (exp_downward_test_data): New variable.
43991         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43992         (exp_upward_test_data): New variable.
43993         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43994         (exp10_test_data): New variable.
43995         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43996         (exp2_test_data): New variable.
43997         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43998         (expm1_test_data): New variable.
43999         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44000         (fabs_test_data): New variable.
44001         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44002         (floor_test_data): New variable.
44003         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44004         (j0_test_data): New variable.
44005         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44006         (j1_test_data): New variable.
44007         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44008         (log_test_data): New variable.
44009         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44010         (log10_test_data): New variable.
44011         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44012         (log1p_test_data): New variable.
44013         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44014         (log2_test_data): New variable.
44015         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44016         (logb_test_data): New variable.
44017         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44018         (logb_downward_test_data): New variable.
44019         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44020         (nearbyint_test_data): New variable.
44021         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44022         (rint_test_data): New variable.
44023         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44024         (rint_tonearest_test_data): New variable.
44025         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44026         (rint_towardzero_test_data): New variable.
44027         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44028         (rint_downward_test_data): New variable.
44029         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44030         (rint_upward_test_data): New variable.
44031         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44032         (round_test_data): New variable.
44033         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44034         (sin_test_data): New variable.
44035         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44036         (sin_tonearest_test_data): New variable.
44037         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44038         (sin_towardzero_test_data): New variable.
44039         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44040         (sin_downward_test_data): New variable.
44041         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44042         (sin_upward_test_data): New variable.
44043         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44044         (sinh_test_data): New variable.
44045         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44046         (sinh_tonearest_test_data): New variable.
44047         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44048         (sinh_towardzero_test_data): New variable.
44049         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44050         (sinh_downward_test_data): New variable.
44051         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44052         (sinh_upward_test_data): New variable.
44053         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44054         (sqrt_test_data): New variable.
44055         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44056         (tan_test_data): New variable.
44057         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44058         (tan_tonearest_test_data): New variable.
44059         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44060         (tan_towardzero_test_data): New variable.
44061         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44062         (tan_downward_test_data): New variable.
44063         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44064         (tan_upward_test_data): New variable.
44065         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44066         (tanh_test_data): New variable.
44067         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44068         (tgamma_test_data): New variable.
44069         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44070         (trunc_test_data): New variable.
44071         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44072         (y0_test_data): New variable.
44073         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44074         (y1_test_data): New variable.
44075         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44076         (significand_test_data): New variable.
44077         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44079 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44081         [BZ #12387]
44082         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44084 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44086         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44088 2013-05-10  Andreas Jaeger  <aj@suse.de>
44090         [BZ #15448]
44091         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44092         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44094 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44096         * math/gen-libm-test.pl (adjust_arg): New function.
44097         (special_functions): Handle generating output in both functions
44098         and arrays.
44099         (parse_args): Likewise.
44100         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44101         $in_func argument to parse_args.
44102         * math/libm-test.inc (struct test_f_f_data): New type.
44103         (IF_ROUND_INIT_): New macro.
44104         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44105         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44106         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44107         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44108         (ROUND_RESTORE_): Likewise.
44109         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44110         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44111         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44112         (ROUND_RESTORE_FE_UPWARD): Likewise.
44113         (RUN_TEST_LOOP_f_f): New macro.
44114         (acos_test_data): New variable.
44115         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44116         (acos_tonearest_test_data): New variable.
44117         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44119 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44121         * benchtests/bench-skeleton.c (startup): Fix coding style.
44123 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44125         [BZ #6809]
44126         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44127         negative infinity argument.
44128         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44129         negative infinity argument.
44130         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44131         negative infinity argument.
44132         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44133         domain errors.
44135 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44137         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44138         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44139         * iconv/iconv_prog.c (main): Likewise.
44140         * locale/programs/charmap-dir.c (charmap_readdir)
44141         (fopen_uncompressed): Likewise.
44142         * locale/programs/locfile.c (siblings_uncached)
44143         (write_locale_data): Use lstat64 instead of lstat.
44144         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44145         stat.
44147 2013-05-10  Andreas Jaeger  <aj@suse.de>
44149         [BZ #15395]
44150         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44151         localization.
44152         Include <locale.h>.
44154 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44156         * elf/dl-close.c (_dl_close_worker): Add comments.
44158 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44160         [BZ #15359]
44161         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44162         high part of pi/2.
44163         (__ieee754_rem_pio2l): Update comments.
44165         [BZ #15429]
44166         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44167         high part of pi/2.
44168         (__ieee754_rem_pio2l): Update comments.
44170         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44171         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44173         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44174         M_PI_4l.
44176         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44177         (M_PI_34_LOG10El): Likewise.
44178         (M_PI2_LOG10El): Likewise.
44179         (M_PI4_LOG10El): Likewise.
44180         (M_PI_LOG10El): Likewise.
44182 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44186 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44188         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44189         (MINUS_ZERO_INIT): Likewise.
44190         (PLUS_INFTY_INIT): Likewise.
44191         (MINUS_INFTY_INIT): Likewise.
44192         (QNAN_VALUE_INIT): Likewise.
44193         (MAX_VALUE_INIT): Likewise.
44194         (MIN_VALUE_INIT): Likewise.
44195         (MIN_SUBNORM_VALUE_INIT): Likewise.
44196         (plus_zero): Initialize with PLUS_ZERO_INIT.
44197         (minus_zero): Initialize with MINUS_ZERO_INIT.
44198         (plus_infty): Initialize with PLUS_INFTY_INIT.
44199         (minus_infty): Initialize with MINUS_INFTY_INIT.
44200         (qnan_value): Initialize with QNAN_VALUE_INIT.
44201         (max_value): Initialize with MAX_VALUE_INIT.
44202         (min_value): Initialize with MIN_VALUE_INIT.
44203         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44205         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44206         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44207         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44208         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44210         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44211         (RUN_TEST_2_f): Likewise.
44212         (RUN_TEST_ff_f): Likewise.
44213         (RUN_TEST_fi_f): Likewise.
44214         (RUN_TEST_fl_f): Likewise.
44215         (RUN_TEST_fff_f): Likewise.
44216         (RUN_TEST_c_f): Likewise.
44217         (RUN_TEST_f_f1): Likewise.
44218         (RUN_TEST_fF_f1): Likewise.
44219         (RUN_TEST_fI_f1): Likewise.
44220         (RUN_TEST_ffI_f1): Likewise.
44221         (RUN_TEST_c_c): Likewise.
44222         (RUN_TEST_cc_c): Likewise.
44223         (RUN_TEST_f_i): Likewise.
44224         (RUN_TEST_f_i_tg): Likewise.
44225         (RUN_TEST_ff_i_tg): Likewise.
44226         (RUN_TEST_f_b): Likewise.
44227         (RUN_TEST_f_b_tg): Likewise.
44228         (RUN_TEST_f_l): Likewise.
44229         (RUN_TEST_f_L): Likewise.
44230         (RUN_TEST_sincos): Likewise.
44231         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44232         whether to show exceptions.  Do not include ");\n" in return
44233         value.
44234         (special_functions): Output call to RUN_TEST_sincos instead of
44235         check_float calls.  Update calls to new_test.
44236         (parse_args): Output call to single RUN_TEST_* macro instead of
44237         check_* calls and other assignments.  Update calls to new_test.
44239         [BZ #2546]
44240         [BZ #2560]
44241         [BZ #5159]
44242         [BZ #15426]
44243         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44244         input to result for tgamma overflow.
44245         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44246         (gamma_coeff): New variable.
44247         (NCOEFF): New macro.
44248         (gamma_positive): New function.
44249         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44250         underflow here.  Use gamma_positive instead of exp (lgamma) for
44251         other arguments.
44252         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44253         (gamma_coeff): New variable.
44254         (NCOEFF): New macro.
44255         (gammaf_positive): New function.
44256         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44257         underflow here.  Use gamma_positive instead of exp (lgamma) for
44258         other arguments.
44259         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44260         (gamma_coeff): New variable.
44261         (NCOEFF): New macro.
44262         (gammal_positive): New function.
44263         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44264         underflow here.  Use gamma_positive instead of exp (lgamma) for
44265         other arguments.
44266         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44267         (gamma_coeff): New variable.
44268         (NCOEFF): New macro.
44269         (gammal_positive): New function.
44270         (__ieee754_gammal_r): Handle positive infinity, overflow and
44271         underflow here.  Handle NaN the same as positive infinity.  Remove
44272         check x < 0xffffffff for negative integers.  Use gamma_positive
44273         instead of exp (lgamma) for other arguments.
44274         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44275         (gamma_coeff): New variable.
44276         (NCOEFF): New macro.
44277         (gammal_positive): New function.
44278         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44279         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44280         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44281         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44282         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44283         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44284         * sysdeps/generic/math_private.h (__gamma_productf): New
44285         prototype.
44286         (__gamma_product): Likewise.
44287         (__gamma_productl): Likewise.
44288         * math/Makefile (libm-calls): Add gamma_product.
44289         * math/libm-test.inc (tgamma_test): Add more tests.
44290         * sysdeps/i386/fpu/libm-test-ulps: Update.
44291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44293 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44295         * benchtests/bench-skeleton.c (main): Preheat CPU.
44297 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44299         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44301 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44303         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44304         and _dl_skip_args_internal.
44306 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44308         * manual/message.texi (Message Translation): Talk about users.
44309         Message to key mapping impacts design.
44311 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44313         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44315         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44317         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44318         * sysdeps/wordsize-64/glob64.c: ... here.
44320         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44321         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44322         New macros.
44324         * debug/getlogin_r_chk.c: Moved to ...
44325         * login/getlogin_r_chk.c: ... here.
44326         * debug/Makefile (routines): Move getlogin_r_chk to ...
44327         * login/Makefile (routines): ... here.
44328         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44329         * login/Versions (libc: GLIBC_2.4): ... here.
44331         * io/poll.c (__poll): Renamed from poll.
44332         Add libc_hidden_def.
44333         (poll): Define as weak alias.
44335         * debug/ptsname_r_chk.c: Moved to ...
44336         * login/ptsname_r_chk.c: ... here.
44337         * debug/Makefile (routines): Move ptsname_r_chk to ...
44338         * login/Makefile (routines): ... here.
44339         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44340         * login/Versions (libc: GLIBC_2.4): ... here.
44342         * posix/getlogin.c: Moved to ...
44343         * login/getlogin.c: ... here.
44344         * posix/getlogin_r.c: Moved to ...
44345         * login/getlogin_r.c: ... here.
44346         * posix/getlogin_r.c: Moved to ...
44347         * login/getlogin_r.c: ... here.
44348         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44349         * login/Makefile (routines): ... here.
44350         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44351         * login/Versions (libc: GLIBC_2.0): ... here.
44353         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44354         (setrlimit): Define as weak alias.
44356         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44357         Call __ names for open, ftruncate, and close.
44358         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44359         (truncate): Define as weak alias.
44361 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44363         * math/gen-libm-test.pl (parse_args): Initialize x before each
44364         test of frexp, modf and remquo.
44366         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44367         test signgam value.
44369 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44371         [BZ #15418]
44372         [BZ #15419]
44373         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44374         internal tests.
44375         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44377 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44379         * elf/dl-writev.h: New file.
44380         * elf/dl-misc.c: Include it.
44381         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44382         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44384 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44386         * math/libm-test.inc (noXFails): Remove variable.
44387         (noXPasses): Likewise.
44388         (BUILD_COMPLEX_INT): Remove macro.
44389         (print_screen): Remove xfail argument.
44390         (print_screen_max_error): Likewise.
44391         (update_stats): Likewise.
44392         (print_max_error): Likewise.  Update calls to other affected
44393         functions.
44394         (print_complex_max_error): Likewise.
44395         (test_single_exception): Update calls to print_screen.
44396         (test_single_errno): Likewise.
44397         (check_float_internal): Remove xfail argument.  Update calls to
44398         other affected functions.
44399         (check_float): Likewise.
44400         (check_complex): Likewise.
44401         (check_int): Likewise.
44402         (check_long): Likewise.
44403         (check_bool): Likewise.
44404         (check_longlong): Likewise.
44405         (main): Don't print noXFails and noXPasses.
44406         * math/gen-libm-test.pl (top level): Don't mention expected
44407         failure handling in comment.
44408         (new_test): Don't handle expected failures.
44409         (parse_args): Don't mention expected failure handling in comment.
44410         (generate_testfile): Don't handle expected failures.
44411         (parse_ulps): Likewise.
44412         (print_ulps_file): Likewise.
44413         (get_failure): Remove function.
44414         (output_test): Don't handle expected failures.
44415         * make/README.libm-test: Don't mention expected failure handling.
44417         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44418         (minus_zero): Likewise.
44419         (plus_infty): Likewise.
44420         (minus_infty): Likewise.
44421         (qnan_value): Likewise.
44422         (max_value): Likewise.
44423         (min_value): Likewise.
44424         (min_subnorm_value): Likewise.
44425         (initialize): Do not initialize those variables dynamically.
44427 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44429         * io/open.c (__open_2): Moved to ...
44430         * io/open_2.c: ... this new file.
44431         * io/open64.c (__open64_2): Moved to ...
44432         * io/open64_2.c: ... this new file.
44433         * io/openat.c (__openat_2): Moved to ...
44434         * io/openat_2.c: ... this new file.
44435         * io/openat64.c (__openat64_2): Moved to ...
44436         * io/openat64_2.c: ... this new file.
44437         * io/Makefile (routines): Add them.
44438         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44439         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44440         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44441         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44442         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44443         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44444         (__openat64): Add hidden_ver.
44445         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44446         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44448         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44449         Separately conditionalize setting of GLRO(dl_sysinfo) so
44450         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44451         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44453 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44455         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44456         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44457         definition.
44458         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44459         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44460         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44461         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44462         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44464 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44466         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44467         test signgam value.
44469         * math/libm-test.inc (hypot_test): Do not use
44470         IGNORE_ZERO_INF_SIGN.
44472 2013-05-03  Andreas Jaeger  <aj@suse.de>
44474         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44475         Linux 3.9.
44476         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44477         (PF_MAX): Adjust for VSOCK change.
44479 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44483 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44485         [BZ #15264]
44486         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44487         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44488         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44490 2013-05-02  David S. Miller  <davem@davemloft.net>
44492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44494 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44496         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44498 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44500         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44502 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44504         [BZ #14952]
44505         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44506         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44507         Use __attribute__ ((__gnu_inline__)).
44508         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44509         Don't use __attribute__ ((__gnu_inline__)).
44511 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44513         [BZ #15423]
44514         * math/s_catan.c (__catan): Handle small real or imaginary part of
44515         input specially to avoid spurious underflow.
44516         * math/s_catanf.c (__catanf): Likewise.
44517         * math/s_catanh.c (__catanh): Likewise.
44518         * math/s_catanhf.c (__catanhf): Likewise.
44519         * math/s_catanhl.c (__catanhl): Likewise.
44520         * math/s_catanl.c (__catanl): Likewise.
44521         * math/libm-test.inc (catan_test): Add more tests.
44522         (catanh_test): Likewise.
44523         * sysdeps/i386/fpu/libm-test-ulps: Update.
44524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44526 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44530 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44532         [BZ #15416]
44533         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44534         accurately for denominator in atan2.
44535         * math/s_catanf.c (__catanf): Likewise.
44536         * math/s_catanh.c (__catanh): Likewise.
44537         * math/s_catanhf.c (__catanhf): Likewise.
44538         * math/s_catanhl.c (__catanhl): Likewise.
44539         * math/s_catanl.c (__catanl): Likewise.
44540         * math/libm-test.inc (catan_test): Add more tests.
44541         (catanh_test): Likewise.
44542         * sysdeps/i386/fpu/libm-test-ulps: Update.
44543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44545 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44547         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44549         * benchtests/Makefile (bench): Remove slow benchmarks.
44550         * benchtests/atan-inputs: Add slow benchmark inputs.
44551         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44552         (BENCH_FUNC): Accept variant offset.
44553         (VARIANT): Define.
44554         * benchtests/bench-skeleton.c (main): Run benchmark for each
44555         variant.
44556         * benchtests/cos-inputs: Add slow benchmark inputs.
44557         * benchtests/exp-inputs: Likewise.
44558         * benchtests/pow-inputs: Likewise.
44559         * benchtests/sin-inputs: Likewise.
44560         * benchtests/slowatan-inputs: Remove.
44561         * benchtests/slowatan.c: Remove.
44562         * benchtests/slowcos-inputs: Remove.
44563         * benchtests/slowcos.c: Remove.
44564         * benchtests/slowexp-inputs: Remove.
44565         * benchtests/slowexp.c: Remove.
44566         * benchtests/slowpow-inputs: Remove.
44567         * benchtests/slowpow.c: Remove.
44568         * benchtests/slowsin-inputs: Remove.
44569         * benchtests/slowsin.c: Remove.
44570         * benchtests/slowtan-inputs: Remove.
44571         * benchtests/slowtan.c: Remove.
44572         * benchtests/tan-inputs: Add slow benchmark inputs.
44573         * scripts/bench.pl: Parse comments and directives.
44575         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44576         in CPPFLAGS.
44577         ($(objpfx)bench-%.c): Remove *-ITER.
44578         * benchtests/bench-modf.c: Remove definition of ITER.
44579         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44580         (main): Loop for DURATION seconds instead of fixed number of
44581         iterations.
44582         * scripts/bench.pl: Don't expect iterations in parameters.
44584 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44586         * io/fchdir.c (__fchdir): Renamed from fchdir.
44587         (fchdir): Define as weak alias.
44589 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44591         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44592         (ERRNO_EDOM): Likewise.
44593         (ERRNO_ERANGE): Likewise.
44594         (noErrnoTests): New variable.
44595         (init_max_error): Set errno to 0.
44596         (test_single_errno): New function.
44597         (test_errno): Likewise.
44598         (check_float_internal): Call test_errno.  Set errno to 0.
44599         (check_complex): Refer to errno tests in comment.
44600         (check_int): Call test_errno.  Set errno to 0.
44601         (check_long): Likewise.
44602         (check_bool): Likewise.
44603         (check_longlong): Likewise.
44604         (cos_test): Use ERRNO_* flags for errno tests instead of
44605         check_int.
44606         (expm1_test): Likewise.
44607         (fmod_test): Likewise.
44608         (ilogb_test): Likewise.
44609         (lgamma_test): Likewise.
44610         (pow_test): Likewise.
44611         (remainder_test): Likewise.
44612         (sin_test): Likewise.
44613         (tan_test): Likewise.
44614         (yn_test): Likewise.
44615         (initialize): Set errno to 0.
44616         (main): Print number of errno tests.
44617         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44619 2013-04-29  Andreas Jaeger  <aj@suse.de>
44621         [BZ #15084]
44622         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44623         and RES_USEVC.
44625         [BZ #15085]
44626         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44627         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44628         unimplemented.
44630         [BZ #15380]
44631         * stdlib/random.c (__initstate): Return NULL if
44632         __initstate fails.
44634         [BZ #15086]
44635         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44636         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44637         RES_SNGLKUPREOP.
44639 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44643 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44645         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44646         of individual tests.
44647         (casin_test): Likewise.
44648         (casinh_test): Likewise.
44650 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44652         [BZ #15409]
44653         * math/s_catan.c (__catan): Handle arguments with large real or
44654         imaginary part separately without squaring.
44655         * math/s_catanf.c (__catanf): Likewise.
44656         * math/s_catanh.c (__catanh): Likewise.
44657         * math/s_catanhf.c (__catanhf): Likewise.
44658         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44659         and redefine.
44660         (__catanhl): Handle arguments with large real or imaginary part
44661         separately without squaring.
44662         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44663         and redefine.
44664         (__catanl): Handle arguments with large real or imaginary part
44665         separately without squaring.
44666         * math/libm-test.inc (catan_test): Add more tests.
44667         (catanh_test): Likewise.
44668         * sysdeps/i386/fpu/libm-test-ulps: Update.
44669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44671 2013-04-27  Andreas Jaeger  <aj@suse.de>
44673         [BZ #15007]
44674         * stdlib/stdlib.h: Update guards for qecvt.
44675         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44676         <stdlib.h>.
44678 2013-04-27  Allan McRae  <allan@archlinux.org>
44680         * sysdeps/i386/fpu/libm-test-ulps: Update.
44682 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44684         [BZ #15406]
44685         * math/s_catan.c: Include <float.h>.
44686         (__catan): Ensure underflow exception occurs for underflowed
44687         result.
44688         * math/s_catanf.c: Include <float.h>.
44689         (__catanf): Ensure underflow exception occurs for underflowed
44690         result.
44691         * math/s_catanh.c: Include <float.h>.
44692         (__catanh): Ensure underflow exception occurs for underflowed
44693         result.
44694         * math/s_catanhf.c: Include <float.h>.
44695         (__catanhf): Ensure underflow exception occurs for underflowed
44696         result.
44697         * math/s_catanhl.c: Include <float.h>.
44698         (__catanhl): Ensure underflow exception occurs for underflowed
44699         result.
44700         * math/s_catanl.c: Include <float.h>.
44701         (__catanl): Ensure underflow exception occurs for underflowed
44702         result.
44703         * math/libm-test.inc (catan_test): Add more tests.
44704         (catanh_test): Likewise.
44706         [BZ #15405]
44707         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44708         underflowed result.
44709         * math/s_ccoshf.c (__ccoshf): Likewise.
44710         * math/s_ccoshl.c (__ccoshl): Likewise.
44711         * math/s_csin.c (__csin): Likewise.
44712         * math/s_csinf.c (__csinf): Likewise.
44713         * math/s_csinh.c (__csinh): Likewise.
44714         * math/s_csinhf.c (__csinhf): Likewise.
44715         * math/s_csinhl.c (__csinhl): Likewise.
44716         * math/s_csinl.c (__csinl): Likewise.
44717         * math/libm-test.inc (ccos_test): Add more tests.
44718         (ccosh_test): Likewise.
44719         (csin_test): Likewise.
44720         (csinh_test): Likewise.
44722 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44724         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44725         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44726         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44727         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44728         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44729         powerpc/power5+/fpu folders.
44730         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44733 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44737 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44739         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44740         additions to variable.
44741         [$(config-machine) = x86_64] (modules-names): Likewise.
44742         ($(objpfx)tst-audit3): Remove dependency.
44743         ($(objpfx)tst-audit3.out): Likewise.
44744         ($(objpfx)tst-audit4): Likewise.
44745         ($(objpfx)tst-audit4.out): Likewise.
44746         ($(objpfx)tst-audit5): Likewise.
44747         ($(objpfx)tst-audit5.out): Likewise.
44748         ($(objpfx)tst-audit6): Likewise.
44749         ($(objpfx)tst-audit6.out): Likewise.
44750         ($(objpfx)tst-audit7): Likewise.
44751         ($(objpfx)tst-audit7.out): Likewise.
44752         (tst-audit3-ENV): Remove variable.
44753         (tst-audit4-ENV): Likewise.
44754         (tst-audit5-ENV): Likewise.
44755         (tst-audit6-ENV): Likewise.
44756         (tst-audit7-ENV): Likewise.
44757         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44758         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44759         addition to variable.
44760         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44761         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44762         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44763         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44764         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44765         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44766         tst-audit3, tst-audit4 and tst-audit5.
44767         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44768         tst-audit6 and tst-audit7.
44769         [$(subdir) = elf] (modules-names): Add audit modules for those
44770         tests.
44771         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44772         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44773         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44774         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44775         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44776         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44777         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44778         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44779         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44780         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44781         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44782         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44783         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44784         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44785         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44786         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44787         Likewise.
44788         [$(subdir) = elf && $(config-cflags-avx) = yes]
44789         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44790         [$(subdir) = elf && $(config-cflags-avx) = yes]
44791         (CFLAGS-tst-auditmod4a.c): Likewise.
44792         [$(subdir) = elf && $(config-cflags-avx) = yes]
44793         (CFLAGS-tst-auditmod4b.c): Likewise.
44794         [$(subdir) = elf && $(config-cflags-avx) = yes]
44795         (CFLAGS-tst-auditmod6b.c): Likewise.
44796         [$(subdir) = elf && $(config-cflags-avx) = yes]
44797         (CFLAGS-tst-auditmod6c.c): Likewise.
44798         [$(subdir) = elf && $(config-cflags-avx) = yes]
44799         (CFLAGS-tst-auditmod7b.c): Likewise.
44800         * elf/tst-audit3.c: Move to ...
44801         * sysdeps/x86_64/tst-audit3.c: ... here.
44802         * elf/tst-audit4.c: Move to ...
44803         * sysdeps/x86_64/tst-audit4.c: ... here.
44804         * elf/tst-audit5.c: Move to ...
44805         * sysdeps/x86_64/tst-audit5.c: ... here.
44806         * elf/tst-audit6.c: Move to ...
44807         * sysdeps/x86_64/tst-audit6.c: ... here.
44808         * elf/tst-audit7.c: Move to ...
44809         * sysdeps/x86_64/tst-audit7.c: ... here.
44810         * elf/tst-auditmod3a.c: Move to ...
44811         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44812         * elf/tst-auditmod3b.c: Move to ...
44813         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44814         * elf/tst-auditmod4a.c: Move to ...
44815         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44816         * elf/tst-auditmod4b.c: Move to ...
44817         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44818         * elf/tst-auditmod5a.c: Move to ...
44819         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44820         * elf/tst-auditmod5b.c: Move to ...
44821         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44822         * elf/tst-auditmod6a.c: Move to ...
44823         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44824         * elf/tst-auditmod6b.c: Move to ...
44825         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44826         * elf/tst-auditmod6c.c: Move to ...
44827         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44828         * elf/tst-auditmod7a.c: Move to ...
44829         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44830         * elf/tst-auditmod7b.c: Move to ...
44831         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44833 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44835         [BZ #15366]
44836         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44837         define unconditionally.
44838         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44839         define unconditionally.
44840         (INT8_C, INT16_C, etc.): Likewise.
44842 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44844         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44845         __ehdr_start with hidden visibility.
44847         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44849 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44851         * math/libm-test.inc (cos_test): Use accurate hex constants.
44852         (sincost_test): Likewise.
44854 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44856         * math/libm-test.inc (catan_test): Add more tests.
44857         (catanh_test): Likewise.
44859         * math/s_catanf.c (__catanf): Use suffixed floating-point
44860         constants.
44861         * math/s_catanhf.c (__catanhf): Likewise.
44862         * math/s_catanhl.c (__catanhl): Likewise.
44863         * math/s_catanl.c (__catanl): Likewise.
44865         [BZ #15394]
44866         * math/s_catan.c (__catan): Calculate imaginary part of result
44867         with log1p not log unless computing log of number close to 0.
44868         * math/s_catanf.c (__catanf): Likewise.
44869         * math/s_catanl.c (__catanl): Likewise.
44870         * math/s_catanh.c (__catanh): Calculate real part of result with
44871         log1p not log unless computing log of number close to 0.
44872         * math/s_catanhf.c (__catanhf): Likewise.
44873         * math/s_catanhl.c (__catanhl): Likewise.
44874         * math/libm-test.inc (catan_test): Add more tests.
44875         (catanh_test): Likewise.
44876         * sysdeps/i386/fpu/libm-test-ulps: Update.
44877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44879 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44881         * benchtests/Makefile: Mention files in which fast and slow
44882         paths of math functions are implemented.
44884 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44886         * sysdeps/posix/timespec_get.c: New file.
44888 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44890         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44891         POWER.
44892         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44893         for POWER.
44894         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44895         powerpc/power5/fpu folders.
44896         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44897         * benchtests/Makefile: Add modf testcase.
44898         * benchtests/bench-modf.c: New file: Benchmark test for mo
44900 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44902         [BZ #14888]
44903         * time/Makefile (tests): Add tst-strptime-whitespace.
44904         * time/strptime_l.c (get_number): Use ISSPACE.
44905         (__strptime_internal): Likewise.
44906         * time/tst-strptime-whitespace.c: New test case.
44908 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44910         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44911         member.
44912         (_nss_files_init): Set it here.
44914 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44916         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44917         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44918         unsigned.
44920 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44922         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44924 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44926         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44927         size just once.
44929 2013-04-21  David S. Miller  <davem@davemloft.net>
44931         * po/ru.po: Update Russion translation from translation project.
44933 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44935         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44936         and setfsgid.
44938 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44940         * configure.in: Remove i386 configure warning. Remove i386 case.
44941         * configure: Regenerate.
44942         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44943         Add example to error message.
44944         * sysdeps/i386/configure: Regenerate.
44946 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44948         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44949         slowtan.
44950         * benchtests/cos-inputs: New file.
44951         * benchtests/slowcos-inputs: New file.
44952         * benchtests/slowcos.c: New file.
44953         * benchtests/slowtan-inputs: New file.
44954         * benchtests/slowtan.c: New file.
44955         * benchtests/tan-inputs: New file.
44957 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44959         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44960         considered kosher.
44962 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44964         * benchtests/Makefile: Include cppflags-iterator.mk to add
44965         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44967         * Makefile.in (bench-clean): New target.
44968         * benchtests/Makefile (bench-clean): Likewise.
44970 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44972         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44974 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44976         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44978 2013-04-15  Andreas Schwab  <schwab@suse.de>
44980         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44981         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44982         * nscd/pwdcache.c (cache_addpw): Likewise.
44983         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44984         more than recsize.
44986 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44988         * benchtests/Makefile (bench): Write all output to
44989         bench-out.tmp together.
44991 2013-04-15  Andreas Schwab  <schwab@suse.de>
44993         * nscd/nscd.c (main): Don't fork again after closing files.
44995 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44997         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44999         * benchtests/Rules (bench-deps): Collect dependencies into a
45000         single variable.  Add Makefile to dependencies.
45001         ($(objpfx)bench-%.c): Depend on bench-deps.
45003 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45004             Xavier Roche  <roche+kml2@exalead.com>
45006         [BZ #15361]
45007         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45008         just that it's a file descriptor.
45009         * manual/llio.texi (Synchronizing AIO Operations): Update description
45010         for EBADF error from aio_fsync.
45012 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45014         * Rules (bench): Move target definition...
45015         * benchtests/Makefile: ... here.
45017 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45019         * math/libm-test.inc (cos_test): Fix PI/2 test.
45020         (sincos_test): Likewise.
45021         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45022         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45024 2013-04-11  Andreas Schwab  <schwab@suse.de>
45026         [BZ #13988]
45027         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45028         accept exponent character only when digits were seen.
45029         * stdio-common/Makefile (tests): Add bug26.
45030         * stdio-common/bug26.c: New file.
45032         [BZ #14293]
45033         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45034         non-freeable.
45036 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45038         * Makeconfig (rtld-prefix): Define built linker prefix.
45039         * Rules (run-bench): Use it.
45040         * math/Makefile (run-regen-ulps): Likewise.
45042         * Rules (bench): Remove eval.
45044 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45045             Roland McGrath  <roland@hack.frob.com>
45046             Ondrej Bilka  <neleai@seznam.cz>
45048         [BZ #15346]
45049         * time/getdate.c: Include ctype.h and alloca.h.
45050         (__getdate_r): Trim leading and trailing spaces of input.
45051         * time/tst-getdate.c (tests): Add tests with leading and
45052         trailing spaces.
45054 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45056         [BZ #14280]
45057         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45058         when computing value.
45060 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45062         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45063         Use testrun.sh to run libm tests.
45065         [BZ #15309]
45066         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45068 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45070         [BZ #15264]
45071         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45073 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45075         * Makefile.in (regen-ulps): New target.
45076         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45077         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45078         [ifneq (no,$(PERL)] (regen-ulps): New target.
45079         [ifeq (no,$(PERL)] (regen-ulps): New target.
45080         * math/libm-test.inc (ulps_file_name): Define.
45081         (output_dir): New variable.
45082         (options): Add "output-dir" option.
45083         (parse_opt): Handle 'o' case.
45084         (main): If output_dir is non-NULL use it as a prefix
45085         otherwise use "".
45086         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45088 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45090         [BZ #10060, #10062]
45091         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45092         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45093         fail configure if __sync_val_compare_and_swap is not inlined.
45094         * sysdeps/i386/configure: Regenerate.
45095         * configure.in: Build for i686 when configured for i386.
45096         * configure: Regenerate.
45097         * README: Remove i386 reference.
45099 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45101         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45102         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45104 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45106         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45107         (lmsnanval): New variables.
45108         (F): Add conversion tests.
45109         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45110         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45112         * stdio-common/tstdiomisc.c (F): Properly collect individual
45113         tests' results.
45115         [BZ #14686, #15336]
45116         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45117         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45118         Instead, use input NaN values or generate a qNaN by arithmetic
45119         operation.  Also fix bugs to comply with the standard.
45120         * math/libm-test.inc (remainder_test): Add more tests.
45122         [BZ #15335, #15342]
45123         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45124         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45125         input NaN values or generate a qNaN by arithmetic operation.
45127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45128         unreachable code.
45130         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45131         definitions.
45133 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45135         [BZ #14478]
45136         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45137         underflowed result.
45138         * math/s_cexpf.c (__cexpf): Likewise.
45139         * math/s_cexpl.c (__cexpl): Likewise.
45140         * math/libm-test.inc (cexp_test): Add more tests.
45142 2013-04-03  Andreas Schwab  <schwab@suse.de>
45144         [BZ #15330]
45145         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45146         order arrays from heap if bigger than alloca cutoff.
45148 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45150         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45151         (SNAN_TESTS_double): Refer to GCC PR56831.
45152         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45153         GCC PR56828.
45155 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45157         * Rules (bench): Move bench.out after the run is complete.
45159         * Rules (bench): Echo currently running benchmark.
45161         * benchtests/Makefile (bench): Add atan and slowatan.
45162         * benchtests/atan-inputs: New file.
45163         * benchtests/slowatan-inputs: New file.
45164         * benchtests/slowatan.c: New file.
45166         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45167         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45168         its value.
45170         [BZ #15305]
45171         * sysdeps/unix/sysv/linux/kernel-features.h
45172         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45173         __ASSUME_XFS_RESTRICTED_CHOWN.
45174         * sysdeps/unix/sysv/linux/pathconf.c
45175         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45176         Save and restore errno.
45178 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45180         [BZ #15327]
45181         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45182         arguments using __kernel_casinh.
45183         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45184         arguments using __kernel_casinhf.
45185         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45186         arguments using __kernel_casinhl.
45187         * math/libm-test.inc (cacosh_test): Add more tests.
45188         * sysdeps/i386/fpu/libm-test-ulps: Update.
45189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45191 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45193         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45196         * bench/Makefile (bench): Add sin and slowsin.
45197         * benchtests/sin-inputs: New file.
45198         * benchtests/slowsin-inputs: New file.
45199         * benchtests/slowsin.c: New file.
45201         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45202         (bench): Add slowexp and slowpow.
45203         (exp-ITER): Increase iterations.
45204         (pow-ITER): Likewise.
45205         * benchtests/exp-inputs: Change input.
45206         * benchtests/pow-inputs: Likewise.
45207         * benchtests/slowexp-inputs: New file.
45208         * benchtests/slowexp.c: New file.
45209         * benchtests/slowpow-inputs: New file.
45210         * benchtests/slowpow.c: New file.
45212 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45214         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45215         instructions.
45216         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45217         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45218         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45219         * benchtests/Makefile: Add rint benchtest.
45220         * benchtests/rint-inputs: Input for rint benchtest.
45222 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45224         * Versions.def (libm): Add GLIBC_2.18.
45225         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45226         hidden libm prototypes.
45227         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45228         * math/Makefile (libm-calls): Add s_issignaling.
45229         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45230         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45231         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45232         declaration.
45233         * math/math.h [__USE_GNU] (issignaling): New macro.
45234         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45235         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45236         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45237         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45238         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45239         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45240         * manual/arith.texi (issignaling): New section.
45241         * manual/libm-err-tab.pl (@all_functions): Update comment.
45242         * math/gen-libm-test.pl (parse_args): Apply special handling for
45243         issignaling.
45244         * math/libm-test.inc (print_float, issignaling_test): New
45245         functions.
45246         (check_float_internal): Add issignaling checks.
45247         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45248         default definition.
45249         * sysdeps/powerpc/math-tests.h: New file.
45250         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45251         tests.
45252         * math/test-snan.c (TEST_FUNC): Likewise.
45254 2013-03-30  David S. Miller  <davem@davemloft.net>
45256         * po/de.po: Update from translation team.
45258 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45260         [BZ #10357]
45261         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45262         imaginary part less than 1.0 and real part less than 0.5
45263         specially.
45264         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45265         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45266         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45267         (cacos_test): Add more tests.
45268         (casin_test): Likewise.
45269         (casinh_test): Likewise.
45270         * sysdeps/i386/fpu/libm-test-ulps: Update.
45271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45273 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45275         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45276         ONE with its value.
45278         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45279         (__pow_mp): Replace ONE and MONE with their values.
45280         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45281         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45282         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45283         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45284         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45285         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45287         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45289         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45290         (__pow_mp): Replace ZERO and MZERO with their values.
45291         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45292         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45293         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45295         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45296         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45297         (__sqr): Likewise.
45299         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45301         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45303 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45305         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45306         Declare with __attribute__ ((weak)).
45307         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45308         Call __call_tls_dtors only if it's not NULL.
45310 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45312         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45313         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45314         magic __ehdr_start linker symbol if it's defined.
45315         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45316         them up here if it was already done.
45318         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45319         (_dl_aux_init): Use const in cast when setting it.
45320         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45321         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45322         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45324         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45325         Declare them here.
45326         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45327         * csu/libc-tls.c: Nor here.
45328         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45330         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45331         (__libc_message): Never call vsyslog.
45333 2013-03-28  Alan Modra  <amodra@gmail.com>
45335         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45336         Define as empty.
45337         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45338         Likewise.
45340 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45342         [BZ #15214]
45343         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45344         underflow.
45345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45347 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45349         [BZ #15304]
45350         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45351         Don't add gid passed as argument.
45353         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45355 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45357         [BZ #15307]
45358         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45359         imaginary part between 1.0 and 1.5 and real part less than 0.5
45360         specially.
45361         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45362         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45363         * math/libm-test.inc (cacos_test): Add more tests.
45364         (casin_test): Likewise.
45365         (casinh_test): Likewise.
45366         * sysdeps/i386/fpu/libm-test-ulps: Update.
45367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45369 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45371         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45372         constants.
45373         (norm): Likewise.
45374         (denorm): Likewise.
45375         (__dbl_mp): Likewise.
45376         (add_magnitudes): Likewise.
45377         (sub_magnitudes): Likewise.
45378         (__add): Likewise.
45379         (__sub): Likewise.
45380         (__mul): Likewise.
45381         (__sqr): Likewise.
45382         (__inv): Likewise.
45383         (__dvd): Likewise.
45385         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45386         commented code.
45387         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45388         (__dubcos): Likewise.
45389         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45390         (__ieee754_acos): Likewise.
45391         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45392         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45393         (__exp1): Likewise.
45394         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45395         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45396         (log1): Likewise.
45397         (my_log2): Likewise.
45398         (checkint): Likewise.
45399         * sysdeps/ieee754/dbl-64/e_remainder.c
45400         (__ieee754_remainder): Likewise.
45401         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45403         (bsloww): Likewise.
45404         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45406         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45407         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45408         MANTISSA_STORE_T to store computations on mantissa.  Use
45409         macros for rounding and division.
45410         (denorm): Likewise.
45411         (__dbl_mp): Likewise.
45412         (add_magnitudes): Likewise.
45413         (sub_magnitudes): Likewise.
45414         (__mul): Likewise.
45415         (__sqr): Likewise.
45416         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45417         powers of two in terms of TWOPOW macro.
45418         (mp_no): Make type of mantissa as MANTISSA_T.
45419         [!RADIXI]: Define RADIXI.
45420         [!TWO52]: Define TWO52.
45421         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45423 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45425         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45426         llroundl symbol when building for PPC32.
45428 2013-03-24  Mark H Weaver  <mhw@netris.org>
45430         * manual/arith.texi (Normalization Functions): Fix prototypes for
45431         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45433 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45435         [BZ #13889]
45436         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45437         high value to check if expl overflow.
45438         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45439         to check for underflow and overflow.
45440         * math/libm-test.inc: Add exp test.
45442 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45444         [BZ #11120]
45445         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45446         with NOT_IN_libc.
45448 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45450         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45451         symbol.
45453 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45455         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45456         wrap blocks consisting of several statements.
45458         * sysdeps/generic/math-tests.h: New file.
45459         * sysdeps/i386/fpu/math-tests.h: Likewise.
45460         * math/test-snan.c: Include it.
45461         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45463 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45465         [BZ #15285]
45466         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45467         (__ieee754_j0l): Do not improve calculations using cos of twice
45468         input for inputs above LDBL_MAX / 2.0L.
45469         (__ieee754_y0l): Likewise.
45470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45471         (__ieee754_j1l): Do not improve calculations using cos of twice
45472         input for inputs above LDBL_MAX / 2.0L.
45473         (__ieee754_y1l): Likewise.
45474         * math/libm-test.inc (j0_test): Add another test.
45475         (j1_test): Likewise.
45476         (y0_test): Likewise.
45477         (y1_test): Likewise.
45478         * sysdeps/i386/fpu/libm-test-ulps: Update.
45480 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45482         * Rules ($(objpfx)bench-%.c): Include code from a C source
45483         file.
45485 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45487         [BZ #15287]
45488         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45489         imaginary part 1.0 and real part less than 0.5 specially.
45490         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45491         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45492         * math/libm-test.inc (cacos_test): Add more tests.
45493         (casin_test): Likewise.
45494         (casinh_test): Likewise.
45495         * sysdeps/i386/fpu/libm-test-ulps: Update.
45496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45498 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45500         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45501         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45503 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45505         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45506         * config.make.in (config-cflags-sse4): Remove variable.
45507         (config-cflags-avx): Likewise.
45508         (config-cflags-sse2avx): Likewise.
45509         (config-cflags-novzeroupper): Likewise.
45510         (config-asflags-i686): Likewise.
45511         (have-mfma4): Likewise.
45512         (have-as-vis3): Likewise.
45513         (MIG): Likewise.
45514         * configure.in (MIG): Do not AC_SUBST.
45515         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45516         (libc_cv_cc_sse4): Do not AC_SUBST.
45517         (libc_cv_cc_avx): Likewise.
45518         (libc_cv_cc_sse2avx): Likewise.
45519         (libc_cv_cc_novzeroupper): Likewise.
45520         (libc_cv_cc_fma4): Likewise.
45521         (libc_cv_as_i686): Likewise.
45522         (libc_cv_sparc_as_vis3): Likewise.
45523         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45524         LIBC_CONFIG_VAR.
45525         (config-asflags-i686): Likewise.
45526         (config-cflags-avx): Likewise.
45527         (config-cflags-sse2avx): Likewise.
45528         (have-mfma4): Likewise.
45529         (config-cflags-novzeroupper): Likewise.
45530         * sysdeps/mach/configure.in (MIG): Likewise.
45531         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45532         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45533         LIBC_CONFIG_VAR.
45534         (config-cflags-avx): Likewise.
45535         (config-cflags-sse2avx): Likewise.
45536         (have-mfma4): Likewise.
45537         (config-cflags-novzeroupper): Likewise.
45538         * configure: Regenerated.
45539         * sysdeps/i386/configure: Likewise.
45540         * sysdeps/mach/configure: Likewise.
45541         * sysdeps/sparc/configure: Likewise.
45542         * sysdeps/x86_64/configure: Likewise.
45544 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45546         [BZ #14812]
45547         * locale/programs/localedef.c (options): Put N_ translation marker
45548         on argument names, not just descriptions.
45550 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45552         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45554 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45556         [BZ #14176]
45557         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45559 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45561         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45562         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45563         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45564         [!BEFORE_ABORT] (before_abort): New function.
45565         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45566         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45567         (writev_for_fatal): New function.
45568         (WRITEV_FOR_FATAL): New macro; call that.
45569         (backtrace_and_maps): New function.
45570         (BEFORE_ABORT): New macro; call that.
45571         (struct str_list): Type removed.
45572         (__libc_message, __libc_fatal): Functions removed.
45573         Include <sysdeps/posix/libc_fatal.c> instead.
45575 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45577         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45578         constants.
45579         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45580         double constants.
45582 2013-03-19  Andreas Schwab  <schwab@suse.de>
45584         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45585         * sysdeps/gnu/configure: Regenerate.
45587         * configure.in: Substitute libc_cv_rtlddir.
45588         * configure: Regenerate.
45589         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45590         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45591         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45592         * elf/Makefile (install-others, CFLAGS-interp.c)
45593         (ldso_install, common-ldd-rewrite): Likewise.
45594         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45595         $(inst_slibdir)/$(rtld-installed-name).
45596         * scripts/rellns-sh: Add -p option.
45597         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45598         for source.
45600 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45602         * manual/nptl.texi: Renamed to ...
45603         * manual/threads.texi: ... this.
45604         * manual/Makefile (chapters): Update.
45606 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45608         [BZ #14812]
45609         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45610         on argument names, not just descriptions.
45611         * malloc/memusagestat.c (options): Likewise.
45612         * nss/getent.c (options): Likewise.
45614 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45616         [BZ #14812]
45617         * iconv/iconv_prog.c (options): Put N_ translation marker
45618         on argument names, not just descriptions.
45619         * iconv/iconvconfig.c (options): Likewise.
45621 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45623         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45624         implementation which is faster on all x86_64 architectures.
45625         Tested on AMD, Intel Nehalem, SNB, IVB.
45626         * sysdeps/x86_64/strnlen.S: Likewise.
45628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45629         Remove all multiarch strlen and strnlen versions.
45630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45631         Remove strlen and strnlen related parts.
45633         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45634         Inline strlen part.
45635         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45637         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45638         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45639         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45640         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45641         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45642         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45644 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45646         * manual/memory.texi (Malloc Tunable Parameters):
45647         Sort parameters alphabetically. Add comments for missing entries.
45649 2013-03-17  David S. Miller  <davem@davemloft.net>
45651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45653 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45655         [BZ #15283]
45656         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45657         for arguments at most half maximum finite value.
45658         * math/libm-test.inc (j0_test): Add more tests.
45659         (j1_test): Likewise.
45660         (y0_test): Likewise.
45661         (y1_test): Likewise.
45662         * sysdeps/i386/fpu/libm-test-ulps: Update.
45663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45665         [BZ #14155]
45666         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45667         1 / x and functions P and Q for arguments above 0x1p256L.
45668         (__ieee754_y0l): Likewise.
45669         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45670         (__ieee754_y1l): Likewise.
45671         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45672         (j1_test): Likewise.
45673         (y0_test): Likewise.
45674         (y1_test): Likewise.
45676 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45678         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45679         variable.
45681 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45683         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45684         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45685         zero since it's initialized to EXEC_PAGESIZE.
45687         * sysdeps/unix/sysv/linux/ldsodefs.h
45688         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45689         * sysdeps/generic/ldsodefs.h: ... here.
45691 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45693         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45695         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45696         math/test-snan.c.
45697         * math/test-snan.c: Renamed from
45698         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45699         * math/Makefile (tests): Add test-snan.
45700         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45701         test-powerpc-snan.
45703         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45704         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45705         functions.
45706         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45707         __builtin_nan family of functions.
45708         * math/libm-test.inc (initialize): Initialize qnan_value with
45709         __builtin_nan family of functions.
45710         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45711         Remove variables.
45712         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45713         Remove functions.
45714         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45715         storage class.  Initialize qNaN_var and sNaN_var with
45716         __builtin_nan and __builtin_nans families of functions,
45717         respectively.
45719         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45720         (sqrt_test): Remove duplicate test with qNaN input.
45721         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45722         (round_test, signbit_test, significand_test): Note missing +/-Inf
45723         as well as qNaN tests.
45725         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45726         qNaN_var.  Fix a few strings, too.
45727         * math/libm-test.inc (nan_value): Rename to qnan_value.
45728         * math/gen-libm-test.pl (%beautify): Adjust to that.
45729         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45730         * math/test-misc.c (main): Likewise.
45731         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45732         to __qnan_bytes, and __qnan_union, respectively.
45733         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45734         Likewise.
45735         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45736         and lqnanval, respectively.
45737         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45738         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45739         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45740         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45742         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45743         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45744         doubles.
45746         * math/test-misc.c (main): Fix copy'n'pastos.
45747         * misc/tst-efgcvt.c (special): Likewise.
45749         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45750         Remove declarations.
45752 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45754         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45755         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45756         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45757         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45759 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45761         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45762         macro to return vdso values correctly in IFUNC implementations.
45763         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45764         Optimization by using IFUNC.
45766 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45767             Richard Henderson  <rth@redhat.com>
45768             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45770         * Makefile.in (bench): New target.
45771         * NEWS: Mention the benchmark framework.
45772         * Rules (bench): Likewise.
45773         (binaries-bench): Generate binaries for functions to
45774         benchmark.
45775         * benchtests/Makefile: New makefile for benchmark tests.
45776         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45777         programs.
45778         * benchtests/exp-inputs: New input file for EXP function.
45779         * benchtests/pow-inputs: New input file for POW function.
45780         * scripts/bench.pl: New script to generate source files for
45781         benchmark programs.
45783 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45785         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45786         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45787         computations on mantissa.  Use macros for rounding and
45788         division.
45789         (denorm): Likewise.
45790         (__dbl_mp): Likewise.
45791         (add_magnitudes): Likewise.
45792         (sub_magnitudes): Likewise.
45793         (__mul): Likewise.
45794         (__sqr): Likewise.
45795         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45796         powers of two in terms of TWOPOW macro.
45797         (mp_no): Make type of mantissa as MANTISSA_T.
45798         [!RADIXI]: Define RADIXI.
45799         [!TWO52]: Define TWO52.
45800         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45802         * manual/nptl.texi (cindex): Modify threads to pthreads.
45804 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45806         * sysdeps/x86_64/preconfigure: Regenerated.
45808 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45810         [BZ #14155]
45811         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45812         0x1p28 and above.
45813         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45814         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45815         0x1p28 and above.
45816         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45817         * math/libm-test.inc (j0_test): Do not allow one spurious
45818         underflow exception.
45819         (y1_test): Likewise.
45821 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45823         * manual/Makefile (chapters): Add nptl.
45824         * manual/debug.texi (Debugging Support): Add link to Threads
45825         chapter.
45826         * manual/nptl.texi: New file.
45828         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45830 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45832         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45833         for non-NULL pointer before the memory validity test. Pointed
45834         out by Holger Brunck <holger.brunck@keymile.com>.
45836 2013-03-13  Andreas Schwab  <schwab@suse.de>
45838         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45839         instead of .os.
45841 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45843         * timezone/zic.c: Update from tzcode 2013b.
45845 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45847         * manual/install.texi (Configuring and compiling):
45848         Mention i686 and i586.
45849         * INSTALL: Regenerate.
45851 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45853         * sysdeps/init_array/elf-init.c: New file.
45854         * csu/elf-init.c
45855         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45856         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45858         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45859         __gmon_start__ as global, but as static with a .preinit_array pointer.
45860         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45861         * sysdeps/init_array/crti.S: New file, empty except for comments.
45862         * sysdeps/init_array/crtn.S: Likewise.
45864 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45866         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45867         definining bcopy.
45868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45869         Remove Prefer_SSE_for_memop.
45870         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45871         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45872         HAS_PREFER_SSE_FOR_MEMOP.
45873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45874         memset-x86-64.
45875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45876         Remove bzero, memset ifunc support.
45877         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45878         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45879         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45880         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45882 2013-03-11  Andreas Schwab  <schwab@suse.de>
45884         [BZ #15234]
45885         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45886         by SHLIB_COMPAT.
45887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45888         (GLIBC_2.16): Remove pthread_atfork.
45890 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45892         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45893         (ptestcases.h): Likewise.
45895 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45897         * Makeconfig ($(common-objpfx)config.status): Depend on
45898         sysdeps/*/preconfigure{,.in} too.
45900 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45902         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45903         (__free_hook): Use void * instead of __malloc_ptr_t.
45904         (__malloc_hook): Likewise.
45905         (__realloc_hook): Likewise.
45906         (__memalign_hook): Likewise.
45907         (__after_morecore_hook): Likewise.
45908         * malloc/arena.c (save_malloc_hook): Likewise.
45909         (save_free_hook): Likewise.
45910         * malloc/hooks.c (malloc_hook_ini): Likewise.
45911         (realloc_hook_ini): Likewise.
45912         (memalign_hook_ini): Likewise.
45913         * malloc/malloc.c (malloc_hook_ini): Likewise.
45914         (realloc_hook_ini): Likewise.
45915         (memalign_hook_ini): Likewise.
45916         (__free_hook): Likewise.
45917         (__malloc_hook): Likewise.
45918         (__realloc_hook): Likewise.
45919         (__memalign_hook): Likewise.
45920         (__libc_malloc): Likewise.
45921         (__libc_free): Likewise.
45922         (__libc_realloc): Likewise.
45923         (__libc_memalign): Likewise.
45924         (__libc_valloc): Likewise.
45925         (__libc_pvalloc): Likewise.
45926         (__libc_calloc): Likewise.
45927         (__posix_memalign): Likewise.
45928         * malloc/morecore.c (__sbrk): Likewise.
45929         (__default_morecore): Likewise.
45931         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45933         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45934         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45935         __malloc_ptrdiff_t.
45937         * malloc/malloc.h (__malloc_size_t): Remove macro.
45938         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45939         __malloc_size_t.
45940         (old_memalign_hook): Likewise.
45941         (old_realloc_hook): Likewise.
45942         (struct hdr): Likewise.
45943         (flood): Likewise.
45944         (mallochook): Likewise.
45945         (memalignhook): Likewise.
45946         (reallochook): Likewise.
45947         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45948         (tr_old_realloc_hook): Likewise.
45949         (tr_old_memalign_hook): Likewise.
45950         (tr_mallochook): Likewise.
45951         (tr_reallochook): Likewise.
45952         (tr_memalignhook): Likewise.
45954 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45956         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45957         default_ldbl_pack and using as default implementation.
45958         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45959         implementation.
45960         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45961         redundant definition.
45962         (ldbl_insert_mantissa): Likewise.
45963         (ldbl_canonicalize): Likewise.
45964         (ldbl_nearbyint): Likewise.
45965         (ldbl_pack): Rename to ldbl_pack_ppc.
45966         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45967         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45968         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45970 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45973         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45974         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45975         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45977         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45978         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45979         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45981 2013-03-07  Andreas Jaeger  <aj@suse.de>
45983         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45984         bits/mman-linux.h.
45986 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45988         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45989         Include mpa.h and declare __MPEXP.
45990         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45991         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45992         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45993         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45994         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45995         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45996         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45998         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45999         (__slowpow): Use long double EXPL and LOGL functions to
46000         compute POW.
46001         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46002         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46003         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46004         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46005         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46006         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46009         intermediate variable to calculate exponent.
46010         (__sqr): Likewise.
46011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46012         Likewise.
46013         (__sqr): Likewise.
46015         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46016         [!NO__SQR]: Define __sqr.
46017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46018         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46019         sysdeps/ieee754/dbl-64/mpa.c.
46020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46022         [BZ #12723]
46023         * posix/Makefile (tests): Add tst-pathconf.
46024         * posix/tst-pathconf.c: New test case.
46025         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46026         _PC_PIPE_BUF.
46027         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46029 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46031         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46033 2013-03-06  Andreas Jaeger  <aj@suse.de>
46035         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46036         definition via __MAP_ANONYMOUS.
46038         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46039         it's not part of Linux headers.
46041         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46042         (MAP_HUGE_MASK): Define.
46044         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46045         Define.
46046         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46047         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46048         Define.
46049         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46050         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46051         Define.
46052         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46053         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46054         Define.
46055         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46057         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46058         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46059         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46060         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46061         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46062         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46064         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46065         Handle f2fs.
46067         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46068         Handle f2fs and efivarfs.
46070         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46071         f2fs.
46073         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46074         (EFIVARFS_MAGIC): Add.
46075         (F2FS_LINK_MAX): Add.
46077 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46079         * stdio-common/vfprintf.c: Replace __builtin_expect with
46080         __glibc_unlikely.
46082 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46084         [BZ #13550]
46085         * sysdeps/generic/bp-sym.h: Remove file.
46086         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46087         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46088         <bp-sym.h> and <bp-asm.h>.
46089         (__longjmp): Don't use BP_SYM.
46090         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46091         and <bp-asm.h>.
46092         (memcpy): Don't use BP_SYM.
46093         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46094         <bp-sym.h> and <bp-asm.h>.
46095         (memcpy): Don't use BP_SYM.
46096         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46097         <bp-asm.h>.
46098         (memcpy): Don't use BP_SYM.
46099         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46100         <bp-asm.h>.
46101         (memset): Don't use BP_SYM.
46102         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46103         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46104         (__bzero): Don't use BP_SYM.
46105         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46106         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46107         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46108         <bp-sym.h> and <bp-asm.h>.
46109         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46110         pointers.
46111         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46112         <bp-sym.h> and <bp-asm.h>.
46113         (memcpy): Don't use BP_SYM.
46114         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46115         <bp-sym.h> and <bp-asm.h>.
46116         (memset): Don't use BP_SYM.
46117         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46118         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46119         (__bzero): Don't use BP_SYM.
46120         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46121         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46122         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46123         <bp-sym.h> and <bp-asm.h>.
46124         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46125         pointers.
46126         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46127         <bp-sym.h> and <bp-asm.h>.
46128         (memcpy): Don't use BP_SYM.
46129         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46130         <bp-sym.h> and <bp-asm.h>.
46131         (memset): Don't use BP_SYM.
46132         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46133         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46134         (__bzero): Don't use BP_SYM.
46135         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46136         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46137         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46138         <bp-sym.h> and <bp-asm.h>.
46139         (__memchr): Don't use BP_SYM.
46140         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46141         <bp-sym.h> and <bp-asm.h>.
46142         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46143         pointers.
46144         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46145         <bp-sym.h> and <bp-asm.h>.
46146         (memcpy): Don't use BP_SYM.
46147         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46148         <bp-sym.h> and <bp-asm.h>.
46149         (__mempcpy): Don't use BP_SYM.
46150         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46151         <bp-sym.h> and <bp-asm.h>.
46152         (__memrchr): Don't use BP_SYM.
46153         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46154         <bp-sym.h> and <bp-asm.h>.
46155         (memset): Don't use BP_SYM.
46156         (__bzero): Likewise.
46157         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46158         <bp-sym.h> and <bp-asm.h>.
46159         (__rawmemchr): Don't use BP_SYM.
46160         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46161         <bp-sym.h> and <bp-asm.h>.
46162         (__STRCMP): Don't use BP_SYM.
46163         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46164         <bp-sym.h> and <bp-asm.h>.
46165         (strchr): Don't use BP_SYM.
46166         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46167         <bp-sym.h> and <bp-asm.h>.
46168         (__strchrnul): Don't use BP_SYM.
46169         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46170         <bp-sym.h> and <bp-asm.h>.
46171         (strlen): Don't use BP_SYM.
46172         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46173         <bp-sym.h> and <bp-asm.h>.
46174         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46175         pointers.
46176         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46177         <bp-sym.h> and <bp-asm.h>.
46178         (__strnlen): Don't use BP_SYM.
46179         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46180         <bp-sym.h> and <bp-asm.h>.
46181         (__GI__setjmp): Don't use BP_SYM.
46182         (_setjmp): Likewise.
46183         (__sigsetjmp): Likewise.
46184         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46185         (L(start_addresses)): Don't use BP_SYM.
46186         (_start): Likewise.
46187         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46188         <bp-asm.h>.
46189         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46190         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46191         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46192         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46193         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46194         <bp-asm.h>.
46195         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46196         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46197         about bounded pointers.
46198         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46199         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46200         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46201         <bp-asm.h>.
46202         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46203         about bounded pointers.  Remove GKM FIXME comments.
46204         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46205         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46206         <bp-asm.h>.
46207         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46208         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46209         Remove GKM FIXME comments.
46210         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46211         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46212         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46213         <bp-asm.h>.
46214         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46215         about bounded pointers.  Remove GKM FIXME comment.
46216         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46217         and <bp-asm.h>.
46218         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46219         pointers.
46220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46221         <bp-sym.h> and <bp-asm.h>.
46222         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46224         <bp-sym.h> and <bp-asm.h>.
46225         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46226         comment.
46228 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46230         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46231         call free(NULL).
46233 2013-03-05  David S. Miller  <davem@davemloft.net>
46235         * po/es.po: Update from translation team.
46237 2013-03-05  Andreas Jaeger  <aj@suse.de>
46239         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46240         <bits/mman-linux.h>.
46241         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46242         is fine.
46243         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46244         <bits/mman-linux.h> to end of file.
46245         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46246         is fine.
46247         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46248         <bits/mman-linux.h> to end of file.
46249         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46250         is fine.
46251         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46252         <bits/mman-linux.h> to end of file.
46254         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46255         (MCL_CURRENT, MCL_FUTURE): Define here.
46257 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46259         [BZ #15232]
46260         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46261         attribute_hidden.
46262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46264 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46266         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46267         fourth parameter needed for rt_sigprocmask syscall.
46268         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46269         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46270         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46271         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46272         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46273         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46275 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46277         [BZ #13550]
46278         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46279         comment about bounded pointers.
46280         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46281         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46283 2013-03-04  Andreas Jaeger  <aj@suse.de>
46285         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46286         common definitions.
46288         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46289         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46290         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46291         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46292         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46293         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46295 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46297         [BZ #15055]
46298         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46299         __ieee754_sqrl instead of __sqrl.
46301 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46303         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46304         * sysdeps/powerpc/fpu_control.h: ... here.
46305         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46306         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46307         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46308         * sysdeps/powerpc/bits/mathinline.h: ... here.
46310 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46312         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46313         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46314         to just [NEED_DL_SYSINFO_DSO].
46315         * elf/dl-support.c: Likewise.
46316         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46317         * elf/rtld.c (dl_main): Likewise.
46318         * elf/setup-vdso.h (setup_vdso): Likewise.
46319         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46320         * sysdeps/unix/sysv/linux/dl-sysdep.c
46321         (_dl_discover_osversion): Likewise.
46323 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46325         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46326         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46328 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46330         * NEWS: Mention libm performance improvements and non-x86 PI
46331         futex support.
46333         * csu/libc-start.c (__pthread_initialize_minimal): Change
46334         function arguments.
46335         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46337 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46339         [BZ #13550]
46340         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46341         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46342         <bp-sym.h> and <bp-asm.h>.
46343         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46344         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46345         and <bp-asm.h>.
46346         (memcpy): Don't use BP_SYM.
46347         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46348         <bp-asm.h>.
46349         (__mpn_add_n): Don't use BP_SYM.
46350         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46351         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46352         and <bp-asm.h>.
46353         (__mpn_addmul_1): Don't use BP_SYM.
46354         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46355         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46356         <bp-sym.h>.
46357         (_setjmp): Don't use BP_SYM.
46358         (__novmx_setjmp): Likewise.
46359         (__GI__setjmp): Likewise.
46360         (__vmx_setjmp): Likewise.
46361         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46362         <bp-sym.h>.
46363         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46364         (__bzero): Don't use BP_SYM.
46365         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46366         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46367         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46368         <bp-sym.h> and <bp-asm.h>.
46369         (memcpy): Don't use BP_SYM.
46370         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46371         <bp-sym.h> and <bp-asm.h>.
46372         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46373         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46374         <bp-sym.h> and <bp-asm.h>.
46375         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46376         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46377         <bp-asm.h>.
46378         (__mpn_lshift): Don't use BP_SYM.
46379         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46380         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46381         <bp-asm.h>.
46382         (memset): Don't use BP_SYM.
46383         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46384         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46385         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46386         <bp-asm.h>.
46387         (__mpn_mul_1): Don't use BP_SYM.
46388         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46389         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46390         <bp-sym.h> and <bp-asm.h>.
46391         (memcmp): Don't use BP_SYM.
46392         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46393         <bp-sym.h> and <bp-asm.h>.
46394         (memcpy): Don't use BP_SYM.
46395         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46396         <bp-sym.h> and <bp-asm.h>.
46397         (memset): Don't use BP_SYM.
46398         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46399         <bp-sym.h> and <bp-asm.h>.
46400         (strncmp): Don't use BP_SYM.
46401         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46402         <bp-sym.h> and <bp-asm.h>.
46403         (memcpy): Don't use BP_SYM.
46404         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46405         <bp-sym.h> and <bp-asm.h>.
46406         (memset): Don't use BP_SYM.
46407         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46408         <bp-sym.h> and <bp-asm.h>.
46409         (__memchr): Don't use BP_SYM.
46410         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46411         <bp-sym.h> and <bp-asm.h>.
46412         (memcmp): Don't use BP_SYM.
46413         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46414         <bp-sym.h> and <bp-asm.h>.
46415         (memcpy): Don't use BP_SYM.
46416         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46417         <bp-sym.h> and <bp-asm.h>.
46418         (__mempcpy): Don't use BP_SYM.
46419         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46420         <bp-sym.h> and <bp-asm.h>.
46421         (__memrchr): Don't use BP_SYM.
46422         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46423         <bp-sym.h> and <bp-asm.h>.
46424         (memset): Don't use BP_SYM.
46425         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46426         <bp-sym.h> and <bp-asm.h>.
46427         (__rawmemchr): Don't use BP_SYM.
46428         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46429         <bp-sym.h> and <bp-asm.h>.
46430         (__STRCMP): Don't use BP_SYM.
46431         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46432         <bp-sym.h> and <bp-asm.h>.
46433         (strchr): Don't use BP_SYM.
46434         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46435         <bp-sym.h> and <bp-asm.h>.
46436         (__strchrnul): Don't use BP_SYM.
46437         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46438         <bp-sym.h> and <bp-asm.h>.
46439         (strlen): Don't use BP_SYM.
46440         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46441         <bp-sym.h> and <bp-asm.h>.
46442         (strncmp): Don't use BP_SYM.
46443         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46444         <bp-sym.h> and <bp-asm.h>.
46445         (__strnlen): Don't use BP_SYM.
46446         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46447         <bp-asm.h>.
46448         (__mpn_rshift): Don't use BP_SYM.
46449         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46450         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46451         <bp-sym.h> and <bp-asm.h>.
46452         (__sigsetjmp): Don't use BP_SYM.
46453         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46454         (L(start_addresses)): Don't use BP_SYM.
46455         (_start): Likewise.
46456         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46457         <bp-asm.h>.
46458         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46459         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46460         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46461         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46462         <bp-asm.h>.
46463         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46464         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46465         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46466         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46467         <bp-asm.h>.
46468         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46469         comments.
46470         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46471         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46472         <bp-asm.h>.
46473         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46474         FIXME comments.
46475         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46476         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46477         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46478         <bp-asm.h>.
46479         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46480         comment.
46481         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46482         and <bp-asm.h>.
46483         (strncmp): Don't use BP_SYM,
46484         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46485         <bp-asm.h>.
46486         (__mpn_sub_n): Don't use BP_SYM.
46487         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46488         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46489         and <bp-asm.h>.
46490         (__mpn_submul_1): Don't use BP_SYM.
46491         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46493         <bp-sym.h> and <bp-asm.h>.
46494         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46496         <bp-sym.h> and <bp-asm.h>.
46497         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46498         comment.
46500 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46503         Use ZK to minimize writes to Z.
46504         (sub_magnitudes): Simplify code a bit.
46505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46506         Use ZK to minimize writes to Z.
46507         (sub_magnitudes): Simplify code a bit.
46509 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46511         * csu/gmon-start.c: Add special exception to license text.
46513 2013-02-27  Richard Henderson  <rth@redhat.com>
46515         * scripts/config.guess: Update from config.git.
46516         * scripts/config.sub: Likewise.
46518 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46520         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46522         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46524         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46526         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46528         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46530 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46532         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46533         [$(build-shared = yes].
46535 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46537         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46538         (__mul): Reduce iterations for calculating mantissa.
46540         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46541         MPTWO.
46542         (__mpranred): Likewise.
46544         [BZ #15160]
46545         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46546         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46548 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46550         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46551         Define __attribute__.
46553 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46555         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46556         unused.
46557         * posix/regex_internal.h (__attribute): Remove.
46558         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46559         (re_string_context_at): Likewise.
46560         (bitset_not): Use __attribute__ and mark function as possibly
46561         unused.
46562         (bitset_merge): Likewise.
46563         (bitset_mask): Likewise.
46564         (re_string_char_size_at): Likewise.
46565         (re_string_wchar_at): Likewise.
46566         (re_string_elem_size_at): Likewise.
46568 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46570         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46571         code.
46572         (cc32): Likewise.
46574         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46575         (__acr): Likewise.
46576         (__cpy): Likewise.
46577         (norm): Likewise.
46578         (denorm): Likewise.
46579         (__dbl_mp): Likewise.
46580         (add_magnitudes): Likewise.
46581         (sub_magnitudes): Likewise.
46582         (__mul): Likewise.
46583         (__inv): Likewise.
46585         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46586         style.
46588         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46589         style.
46591         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46592         code.
46594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46595         up changes with default code.
46596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46597         Likewise.
46599 2013-02-24  Allan McRae  <allan@archlinux.org>
46601         * manual/socket.texi (The Internet Namespace): Order menu items
46602         to match that in the file.
46604         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46605         node listing of the info page menu.
46607 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46609         [BZ #13550]
46610         * sysdeps/i386/bp-asm.h: Remove file.
46611         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46612         (PARMS): Do not use macros from bp-asm.h.
46613         (S1): Likewise.
46614         (S2): Likewise.
46615         (SIZE): Likewise.
46616         (__mpn_add_n): Do not use BP_SYM
46617         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46618         "bp-asm.h".
46619         (PARMS): Do not use macros from bp-asm.h.
46620         (S1): Likewise.
46621         (SIZE): Likewise.
46622         (__mpn_addmul_1): Do not use BP_SYM
46623         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46624         "bp-asm.h".
46625         (PARMS): Do not use macros from bp-asm.h.
46626         (SIGMSK): Likewise.
46627         (_setjmp): Likewise.  Do not use BP_SYM.
46628         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46629         "bp-asm.h".
46630         (PARMS): Do not use macros from bp-asm.h.
46631         (SIGMSK): Likewise.
46632         (setjmp): Likewise.  Do not use BP_SYM.
46633         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46634         "bp-asm.h".
46635         (PARMS): Do not use macros from bp-asm.h.
46636         (__frexp): Do not use BP_SYM.
46637         (frexp): Likewise.
46638         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46639         "bp-asm.h".
46640         (PARMS): Do not use macros from bp-asm.h.
46641         (__frexpf): Do not use BP_SYM.
46642         (frexpf): Likewise.
46643         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46644         "bp-asm.h".
46645         (PARMS): Do not use macros from bp-asm.h.
46646         (__frexpl): Do not use BP_SYM.
46647         (frexpl): Likewise.
46648         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46649         "bp-asm.h".
46650         (PARMS): Do not use macros from bp-asm.h.
46651         (__remquo): Do not use BP_SYM.
46652         (remquo): Likewise.
46653         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46654         "bp-asm.h".
46655         (PARMS): Do not use macros from bp-asm.h.
46656         (__remquof): Do not use BP_SYM.
46657         (remquof): Likewise.
46658         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46659         "bp-asm.h".
46660         (PARMS): Do not use macros from bp-asm.h.
46661         (__remquol): Do not use BP_SYM.
46662         (remquol): Likewise.
46663         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46664         "bp-asm.h".
46665         (PARMS): Do not use macros from bp-asm.h.
46666         (DEST): Likewise.
46667         (SRC): Likewise.
46668         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46669         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46670         "bp-asm.h".
46671         (PARMS): Do not use macros from bp-asm.h.
46672         (strlen): Do not use BP_SYM.
46673         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46674         "bp-asm.h".
46675         (PARMS): Do not use macros from bp-asm.h.
46676         (S1): Likewise.
46677         (S2): Likewise.
46678         (SIZE): Likewise.
46679         (__mpn_add_n): Do not use BP_SYM.
46680         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46681         "bp-asm.h".
46682         (PARMS): Do not use macros from bp-asm.h.
46683         (S1): Likewise.
46684         (SIZE): Likewise.
46685         (__mpn_addmul_1): Do not use BP_SYM.
46686         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46687         weak_alias.
46688         (bzero): Likewise.
46689         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46690         "bp-asm.h".
46691         (PARMS): Do not use macros from bp-asm.h.
46692         (S): Likewise.
46693         (SIZE): Likewise.
46694         (__mpn_lshift): Do not use BP_SYM.
46695         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46696         "bp-asm.h".
46697         (PARMS): Do not use macros from bp-asm.h.
46698         (DEST): Likewise.
46699         (SRC): Likewise.
46700         (LEN): Likewise.
46701         (memcpy): Likewise.  Do not use BP_SYM.
46702         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46703         libc_hidden_def and weak_alias.
46704         (mempcpy): Do not use BP_SYM in weak_alias.
46705         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46706         "bp-asm.h".
46707         (PARMS): Do not use macros from bp-asm.h.
46708         (DEST): Likewise.
46709         (LEN): Likewise.
46710         [!BZERO_P] (CHR): Likewise.
46711         (memset): Likewise.  Do not use BP_SYM.
46712         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46713         "bp-asm.h".
46714         (PARMS): Do not use macros from bp-asm.h.
46715         (S1): Likewise.
46716         (SIZE): Likewise.
46717         (__mpn_mul_1): Do not use BP_SYM.
46718         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46719         "bp-asm.h".
46720         (PARMS): Do not use macros from bp-asm.h.
46721         (S): Likewise.
46722         (SIZE): Likewise.
46723         (__mpn_rshift): Do not use BP_SYM.
46724         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46725         "bp-asm.h".
46726         (PARMS): Do not use macros from bp-asm.h.
46727         (STR): Likewise.
46728         (CHR): Likewise.
46729         (strchr): Likewise.  Do not use BP_SYM.
46730         (index): Do not use BP_SYM in weak_alias.
46731         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46732         "bp-asm.h".
46733         (PARMS): Do not use macros from bp-asm.h.
46734         (DEST): Likewise.
46735         (SRC): Likewise.
46736         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46737         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46738         "bp-asm.h".
46739         (PARMS): Do not use macros from bp-asm.h.
46740         (strlen): Do not use BP_SYM.
46741         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46742         "bp-asm.h".
46743         (PARMS): Do not use macros from bp-asm.h.
46744         (S1): Likewise.
46745         (S2): Likewise.
46746         (SIZE): Likewise.
46747         (__mpn_sub_n): Do not use BP_SYM.
46748         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46749         "bp-asm.h".
46750         (PARMS): Do not use macros from bp-asm.h.
46751         (S1): Likewise.
46752         (SIZE): Likewise.
46753         (__mpn_submul_1): Do not use BP_SYM.
46754         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46755         "bp-asm.h".
46756         (PARMS): Do not use macros from bp-asm.h.
46757         (S1): Likewise.
46758         (S2): Likewise.
46759         (SIZE): Likewise.
46760         (__mpn_add_n): Do not use BP_SYM.
46761         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46762         weak_alias.
46763         (bzero): Likewise.
46764         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46765         "bp-asm.h".
46766         (PARMS): Do not use macros from bp-asm.h.
46767         (BLK2): Likewise.
46768         (LEN): Likewise.
46769         (memcmp): Do not use BP_SYM.
46770         (bcmp): Do not use BP_SYM in weak_alias.
46771         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46772         "bp-asm.h".
46773         (PARMS): Do not use macros from bp-asm.h.
46774         (DEST): Likewise.
46775         (SRC): Likewise.
46776         (LEN): Likewise.
46777         (memcpy): Likewise.  Do not use BP_SYM.
46778         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46779         "bp-asm.h".
46780         (PARMS): Do not use macros from bp-asm.h.
46781         (DEST): Likewise.
46782         (SRC): Likewise.
46783         (LEN): Likewise.
46784         (memmove): Likewise.  Do not use BP_SYM.
46785         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46786         "bp-asm.h".
46787         (PARMS): Do not use macros from bp-asm.h.
46788         (DEST): Likewise.
46789         (SRC): Likewise.
46790         (LEN): Likewise.
46791         (__mempcpy): Likewise.  Do not use BP_SYM.
46792         (mempcpy): Do not use BP_SYM in weak_alias.
46793         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46794         "bp-asm.h".
46795         (PARMS): Do not use macros from bp-asm.h.
46796         (DEST): Likewise.
46797         (LEN): Likewise.
46798         [!BZERO_P] (CHR): Likewise.
46799         (memset): Likewise.  Do not use BP_SYM.
46800         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46801         "bp-asm.h".
46802         (PARMS): Do not use macros from bp-asm.h.
46803         (STR2): Likewise.
46804         (strcmp): Do not use BP_SYM.
46805         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46806         "bp-asm.h".
46807         (PARMS): Do not use macros from bp-asm.h.
46808         (STR): Likewise.
46809         (DELIM): Likewise.
46810         [USE_AS_STRTOK_R] (SAVE): Likewise.
46811         (FUNCTION): Likewise.  Do not use BP_SYM.
46812         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46813         aliases.
46814         (strtok_r): Likewise.
46815         (__GI___strtok_r): Likewise.
46816         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46817         (PARMS): Do not use macros from bp-asm.h.
46818         (S): Likewise.
46819         (SIZE): Likewise.
46820         (__mpn_lshift): Do not use BP_SYM.
46821         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46822         (PARMS): Do not use macros from bp-asm.h.
46823         (STR): Likewise.
46824         (CHR): Likewise.
46825         (__memchr): Do not use BP_SYM.
46826         (memchr): Do not use BP_SYM in weak_alias.
46827         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46828         (PARMS): Do not use macros from bp-asm.h.
46829         (BLK2): Likewise.
46830         (LEN): Likewise.
46831         (memcmp): Do not use BP_SYM.
46832         (bcmp): Do not use BP_SYM in weak_alias.
46833         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46834         (PARMS): Do not use macros from bp-asm.h.
46835         (S1): Likewise.
46836         (SIZE): Likewise.
46837         (__mpn_mul_1): Do not use BP_SYM.
46838         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46839         "bp-asm.h".
46840         (PARMS): Do not use macros from bp-asm.h.
46841         (STR): Likewise.
46842         (CHR): Likewise.
46843         (__rawmemchr): Do not use BP_SYM.
46844         (rawmemchr): Do not use BP_SYM in weak_alias.
46845         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46846         (PARMS): Do not use macros from bp-asm.h.
46847         (S): Likewise.
46848         (SIZE): Likewise.
46849         (__mpn_rshift): Do not use BP_SYM.
46850         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46851         (PARMS): Do not use macros from bp-asm.h.
46852         (SIGMSK): Likewise.
46853         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46854         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46855         (_start): Do not use BP_SYM.
46856         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46857         (PARMS): Do not use macros from bp-asm.h.
46858         (DEST): Likewise.
46859         (SRC): Likewise.
46860         (__stpcpy): Likewise.  Do not use BP_SYM.
46861         (stpcpy): Do not use BP_SYM in weak_alias.
46862         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46863         "bp-asm.h".
46864         (PARMS): Do not use macros from bp-asm.h.
46865         (DEST): Likewise.
46866         (SRC): Likewise.
46867         (LEN): Likewise.
46868         (__stpncpy): Likewise.  Do not use BP_SYM.
46869         (stpncpy): Do not use BP_SYM in weak_alias.
46870         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46871         (PARMS): Do not use macros from bp-asm.h.
46872         (STR): Likewise.
46873         (CHR): Likewise.
46874         (strchr): Likewise.  Do not use BP_SYM.
46875         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46876         "bp-asm.h".
46877         (PARMS): Do not use macros from bp-asm.h.
46878         (STR): Likewise.
46879         (CHR): Likewise.
46880         (__strchrnul): Likewise.  Do not use BP_SYM.
46881         (strchrnul): Do not use BP_SYM in weak_alias.
46882         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46883         "bp-asm.h".
46884         (PARMS): Do not use macros from bp-asm.h.
46885         (STOP): Likewise.
46886         (strcspn): Do not use BP_SYM.
46887         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46888         "bp-asm.h".
46889         (PARMS): Do not use macros from bp-asm.h.
46890         (STR): Likewise.
46891         (STOP): Likewise.
46892         (strpbrk): Likewise.  Do not use BP_SYM.
46893         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46894         "bp-asm.h".
46895         (PARMS): Do not use macros from bp-asm.h.
46896         (STR): Likewise.
46897         (CHR): Likewise.
46898         (strrchr): Likewise.  Do not use BP_SYM.
46899         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46900         (PARMS): Do not use macros from bp-asm.h.
46901         (SKIP): Likewise.
46902         (strspn): Do not use BP_SYM.
46903         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46904         (PARMS): Do not use macros from bp-asm.h.
46905         (STR): Likewise.
46906         (DELIM): Likewise.
46907         (SAVE): Likewise.
46908         (FUNCTION): Likewise.  Do not use BP_SYM.
46909         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46910         aliases.
46911         (strtok_r): Likewise.
46912         (__GI___strtok_r): Likewise.
46913         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46914         (PARMS): Do not use macros from bp-asm.h.
46915         (S1): Likewise.
46916         (S2): Likewise.
46917         (SIZE): Likewise.
46918         (__mpn_sub_n): Do not use BP_SYM.
46919         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46920         "bp-asm.h".
46921         (PARMS): Do not use macros from bp-asm.h.
46922         (S1): Likewise.
46923         (SIZE): Likewise.
46924         (__mpn_submul_1): Do not use BP_SYM.
46925         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46926         <bp-sym.h>.
46927         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46928         and <bp-asm.h>.
46929         (PARMS): Do not use macros from bp-asm.h.
46930         (FLAGS): Likewise.
46931         (PTID): Likewise.
46932         (TLS): Likewise.
46933         (CTID): Likewise.
46934         (__clone): Do not use BP_SYM.
46935         (clone): Do not use BP_SYM in weak_alias.
46936         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46937         and <bp-asm.h>.
46938         (PARMS): Do not use macros from bp-asm.h.
46939         (LEN): Likewise.
46940         (__mmap64): Do not use BP_SYM.
46941         (mmap64): Do not use BP_SYM in weak_alias.
46942         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46943         <bp-sym.h> and <bp-asm.h>.
46944         (PARMS): Do not use macros from bp-asm.h.
46945         (__posix_fadvise64_l64): Do not use BP_SYM.
46946         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46947         (PARMS): Do not use macros from bp-asm.h.
46948         (NSOPS): Likewise.
46949         (semtimedop): Do not use BP_SYM.
46950         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46951         and <bp-asm.h>.
46953 2013-02-21  Allan McRae  <allan@archlinux.org>
46955         * manual/message.texi (Charset conversion in gettext):
46956         Move @end statement to beginning of line.
46958 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46961         static.
46962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46963         Likewise.
46965         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46966         (denorm): Likewise.
46967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46970 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46972         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46973         tail-call to the resolved function if pltexit isn't needed.
46975 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46978         or Y being zero as being unlikely.
46979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46980         Likewise.
46982 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46984         * manual/nss.texi (System Databases and Name Service Switch):
46985         Remove frobnicate @pxref.
46987 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46989         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46990         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46992 2013-02-20  Petr Machata  <pmachata@redhat.com>
46994         * elf/elf.h (R_ARM_TARGET1): New macro.
46995         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46996         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46997         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46998         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46999         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47000         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47001         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47002         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47003         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47004         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47005         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47006         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47007         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47008         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47009         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47010         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47011         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47012         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47013         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47014         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47015         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47016         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47017         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47018         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47019         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47020         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47021         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47022         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47023         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47024         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47025         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47026         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47027         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47028         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47029         (R_ARM_THM_GOT_BREL12): Likewise.
47030         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47031         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47032         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47033         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47034         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47035         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47036         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47037         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47038         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47040 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47042         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47043         __attribute_used__ to __attribute__ ((unused)).
47045 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47047         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47048         powerpc mpa.c.
47049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47050         comment formatting.
47051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47053 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47055         [BZ #13550]
47056         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47057         Remove macro.
47058         (ENTER): Remove both macro definitions.
47059         (LEAVE): Likewise.
47060         (CHECK_BOUNDS_LOW): Likewise.
47061         (CHECK_BOUNDS_HIGH): Likewise.
47062         (CHECK_BOUNDS_BOTH): Likewise.
47063         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47064         (RETURN_BOUNDED_POINTER): Likewise.
47065         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47066         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47067         (POP_ERRNO_LOCATION_RETURN): Likewise.
47068         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47069         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47070         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47071         macros.
47072         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47073         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47074         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47075         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47076         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47077         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47078         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47079         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47080         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47081         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47082         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47083         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47084         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47085         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47086         removed macros.
47087         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47088         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47089         macros.
47090         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47091         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47092         * sysdeps/i386/i586/memset.S (memset): Likewise.
47093         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47094         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47095         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47096         macros.
47097         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47098         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47099         Change uses of L(2) to L(out).
47100         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47101         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47102         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47103         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47104         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47105         removed macros.
47106         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47107         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47108         macros.
47109         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47110         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47111         (RETURN): Do not use macro LEAVE.
47112         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47113         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47114         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47115         * sysdeps/i386/i686/memset.S (memset): Likewise.
47116         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47117         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47118         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47119         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47120         Likewise.
47121         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47122         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47123         L(1_2) and L(1_3) into L(1).
47124         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47125         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47126         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47127         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47128         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47129         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47130         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47131         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47132         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47133         macros.
47134         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47135         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47136         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47137         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47138         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47139         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47140         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47141         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47142         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47143         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47144         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47145         * sysdeps/i386/strspn.S (strspn): Likewise.
47146         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47147         conditional code.
47148         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47149         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47150         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47151         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47152         L(1_3) into L(1_1).
47153         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47154         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47155         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47156         macros.
47157         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47159 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47161         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47162         macro.
47164 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47166         * math/atest-exp.c (exp_mpn): Remove ROUND.
47167         * math/atest-exp2.c (exp_mpn): Likewise.
47168         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47170         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47171         * stdlib/tst-tls-atexit-lib.c: Likewise.
47172         * stdlib/tst-tls-atexit.c: Likewise.
47174 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47176         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47177         and __attribute_alloc_size__.
47179 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47181         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47182         __attribute_alloc_size__.
47183         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47184         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47186 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47188         * include/programs/xmalloc.h: New file.
47189         * catgets/gencat.c: Include it.
47190         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47191         * elf/pldd.c: Likewise.
47192         * iconv/iconv_charmap.c: Likewise.
47193         * iconv/iconvconfig.c: Likewise.
47194         * iconv/strtab.c: Likewise.
47195         * locale/programs/locale.c: Likewise.
47196         * locale/programs/localedef.h: Likewise.
47197         * locale/programs/simple-hash.c: Likewise.
47198         * nscd/nscd.h: Likewise.
47199         * nss/makedb.c: Likewise.
47200         * sysdeps/generic/ldconfig.h: Likewise.
47202 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47204         * Versions.def: Add GLIBC_2.18.
47205         * include/link.h (struct link_map): New member l_tls_dtor_count.
47206         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47207         (__call_tls_dtors): Likewise.
47208         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47209         __cxa_thread_atexit_impl.
47210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47211         Likewise.
47212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47213         Likewise.
47214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47215         Likewise.
47216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47217         Likewise.
47218         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47220         Likewise.
47221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47222         Likewise.
47223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47225         Likewise.
47226         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47227         (tests): Add test case tst-tls-atexit.
47228         (modules-names): Add shared library for tst-tls-atexit.
47229         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47230         (GLIBC_PRIVATE): Add __call_tls_dtors.
47231         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47232         for libstdc++.
47233         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47234         * stdlib/tst-tls-atexit.c: New test case.
47235         * stdlib/tst-tls-atexit-lib.c: New test case.
47237         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47239         * elf/Versions (ld): Add _dl_find_dso_for_object.
47240         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47241         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47242         (dl_open_worker): Use _dl_find_dso_for_object.
47243         * elf/dl-sym.c (do_sym): Likewise.
47244         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47246 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47248         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47249         Syntactic changes only.
47250         (_dl_runtime_profile): Do a tail-call to the resolved function.
47252 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47254         [BZ #13550]
47255         * sysdeps/x86_64/bp-asm.h: Remove file.
47256         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47257         <bp-sym.h> and <bp-asm.h>.
47258         (__clone): Do not use BP_SYM.
47259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47260         <bp-sym.h> and <bp-asm.h>.
47261         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47262         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47263         "bp-asm.h".
47264         (_setjmp): Do not use BP_SYM.
47265         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47266         "bp-asm.h".
47267         (setjmp): Do not use BP_SYM.
47268         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47269         libc_hidden_def.
47270         (mempcpy): Do not use BP_SYM in weak_alias.
47271         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47272         "bp-asm.h".
47273         (strchr): Do not use BP_SYM.
47274         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47275         "bp-asm.h".
47276         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47277         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47278         (_start): Do not use BP_SYM.
47279         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47280         "bp-asm.h".
47281         (strcat): Do not use BP_SYM.
47282         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47283         "bp-asm.h".
47284         (STRCMP): Do not use BP_SYM.
47285         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47286         "bp-asm.h".
47287         (STRCPY): Do not use BP_SYM.
47288         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47289         "bp-asm.h".
47290         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47291         "bp-asm.h".
47292         (FUNCTION): Do not use BP_SYM.
47293         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47294         weak_alias.
47295         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47297 2013-02-17  Andreas Jaeger  <aj@suse.de>
47299         * time/Versions: Sort entries.
47300         * string/Versions: Likewise.
47301         * resolv/Versions: Likewise.
47302         * posix/Versions: Likewise.
47303         * iconv/Versions: Likewise.
47304         * elf/Versions: Likewise.
47305         * wcsmbs/Versions: Likewise.
47307 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47309         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47310         loop termination condition.
47312         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47313         variable to calculate EZ.
47314         (__sqr): Likewise.
47316         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47317         the lower precision input.
47319 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47321         [BZ #13550]
47322         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47323         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47324         (run-via-rtld-prefix): Do not handle %-bp tests.
47325         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47326         (all-object-suffixes): Remove .ob.
47327         (bppfx): Remove variable.
47328         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47329         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47330         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47331         [$(build-bounded) = yes] (libtype.ob): Likewise.
47332         * Makerules (elide-routines.ob): Remove variable.
47333         (do-tests-clean): Do not handle *-bp.out.
47334         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47335         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47336         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47337         (tests): Do not include $(tests-bp.out).
47338         (xtests): Do not include $(xtests-bp.out).
47339         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47340         [$(build-bounded) = yes] ($(addprefix
47341         $(objpfx),$(binaries-bounded))): Remove rule.
47342         ($(objpfx)%-bp.out): Remove rule.
47343         * config.make.in (build-bounded): Remove variable.
47344         * crypt/Makefile [$(build-bounded) = yes]
47345         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47346         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47347         append to variable.
47348         [$(build-bounded) = yes] (install-lib): Likewise.
47349         [$(build-bounded) = yes] (generated): Likewise.
47350         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47351         Remove rule.
47352         * intl/Makefile [$(build-bounded) = yes]
47353         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47354         * math/Makefile [$(build-bounded) = yes]
47355         ($(tests:%=$(objpfx)%-bp): Likewise.
47356         * misc/Makefile [$(build-bounded) = yes]
47357         ($(objpfx)tst-tsearch-bp): Likewise.
47358         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47359         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47360         Remove dependency.
47361         * string/Makefile (o-objects.ob): Remove variable.
47362         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47363         (CFLAGS-.ob): Remove variable.
47364         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47365         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47366         both definitions of variable.
47367         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47368         (ASFLAGS-.ob): Remove variable.
47370 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47372         [BZ #13550]
47373         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47374         Remove __BOUNDED_POINTERS__ from condition.
47375         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47376         * string/bits/string2.h [!__NO_STRING_INLINES &&
47377         !__BOUNDED_POINTERS__]: Likewise.
47378         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47379         Likewise.
47380         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47381         Remove conditional code.
47382         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47383         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47384         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47385         condition.
47387         [BZ #13550]
47388         * csu/libc-start.c: Do not include <bp-sym.h>.
47389         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47390         * elf/dl-open.c: Do not include <bp-sym.h>.
47391         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47392         * math/fegetenv.c: Do not include <bp-sym.h>.
47393         (fegetenv): Do not use BP_SYM in versioned symbols.
47394         * nptl/sysdeps/pthread/bits/libc-lockP.h
47395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47396         <bp-sym.h>.
47397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47398         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47400         (__pthread_mutex_destroy): Likewise.
47401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47402         (__pthread_mutex_lock): Likewise.
47403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47404         (__pthread_mutex_trylock): Likewise.
47405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47406         (__pthread_mutex_unlock): Likewise.
47407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47408         (__pthread_mutexattr_init): Likewise.
47409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47410         (__pthread_mutexattr_destroy): Likewise.
47411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47412         (__pthread_mutexattr_settype): Likewise.
47413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47414         (__pthread_rwlock_init): Likewise.
47415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47416         (__pthread_rwlock_destroy): Likewise.
47417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47418         (__pthread_rwlock_rdlock): Likewise.
47419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47420         (__pthread_rwlock_tryrdlock): Likewise.
47421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47422         (__pthread_rwlock_wrlock): Likewise.
47423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47424         (__pthread_rwlock_trywrlock): Likewise.
47425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47426         (__pthread_rwlock_unlock): Likewise.
47427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47428         (__pthread_key_create): Likewise.
47429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47430         (__pthread_setspecific): Likewise.
47431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47432         (__pthread_getspecific): Likewise.
47433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47434         Likewise.
47435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47436         (_pthread_cleanup_push_defer): Likewise.
47437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47438         (_pthread_cleanup_pop_restore): Likewise.
47439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47440         (pthread_setcancelstate): Likewise.
47441         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47442         <bp-sym.h>.
47443         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47444         (memchr): Do not use BP_SYM in weak_alias.
47445         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47446         (fegetenv): Do not use BP_SYM in versioned symbols.
47447         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47448         (fesetenv): Do not use BP_SYM in versioned symbols.
47449         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47450         (feupdateenv): Do not use BP_SYM in versioned symbols.
47451         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47452         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47453         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47454         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47455         (open64): Do not use BP_SYM in weak_alias.
47456         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47457         (fegetenv): Do not use BP_SYM in versioned symbols.
47458         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47459         (fesetenv): Do not use BP_SYM in versioned symbols.
47460         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47461         (feupdateenv): Do not use BP_SYM in versioned symbols.
47462         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47463         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47464         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47465         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47466         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47467         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47468         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47469         <bp-sym.h>.
47470         (__libc_start_main): Do not use BP_SYM.
47472 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47475         redundant return line.
47476         (norm): Likewise.
47477         (denorm): Likewise.
47478         (dbl_mp): Likewise.
47479         (sub_magnitudes): Likewise.
47480         (__add): Likewise.
47481         (__sub): Likewise.
47482         (__mul): Likewise.
47483         (__inv): Likewise.
47484         (__dvd): Likewise.
47485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47486         (norm): Likewise.
47487         (denorm): Likewise.
47488         (dbl_mp): Likewise.
47489         (sub_magnitudes): Likewise.
47490         (__add): Likewise.
47491         (__sub): Likewise.
47492         (__mul): Likewise.
47493         (__inv): Likewise.
47494         (__dvd): Likewise.
47496         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47497         instead of __mul.
47498         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47499         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47500         (cc32): Likewise.
47502         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47503         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47505         of __mul for squares.
47506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47507         function
47508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47509         Likewise.
47510         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47511         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47513 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47515         [BZ #13550]
47516         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47517         code.
47518         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47519         prototype or function definition.  Rename ubp_* variables and
47520         parameters.  Remove argv definitions conditional on
47521         [__BOUNDED_POINTERS__].
47522         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47523         * elf/dl-runtime.c (_dl_fixup): Likewise.
47524         * include/set-hooks.h (RUN_HOOK): Likewise.
47525         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47526         definition.
47527         * string/strcpy.c (strcpy): Do not use __unbounded.
47528         * sysdeps/generic/frame.h (struct layout): Likewise.
47529         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47530         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47531         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47532         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47533         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47534         (__backtrace): Likewise.
47535         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47536         use __ptrvalue.
47537         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47538         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47539         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47540         Likewise.
47541         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47542         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47543         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47544         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47545         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47546         Do not use __unbounded.
47547         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47548         Rename __unboundedrlimits parameter to rlimits in prototype.
47549         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47550         Do not use __unbounded.
47551         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47552         not use __ptrvalue.
47553         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47554         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47555         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47556         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47557         __ptrvalue or __unbounded.
47558         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47559         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47560         use __unbounded.
47561         (__new_msgctl): Do not use __ptrvalue.
47562         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47563         __unbounded.
47564         (__libc_msgrcv): Do not use __ptrvalue.
47565         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47566         startup_info): Do not use __unbounded.
47567         (__libc_start_main): Likewise.  Rename ubp_* variables and
47568         parameters.  Remove argv definitions conditional on
47569         [__BOUNDED_POINTERS__].
47570         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47571         __ptrvalue.
47572         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47573         use __unbounded.
47574         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47575         or __ptrvalue.
47576         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47577         use __unbounded.
47578         (__new_shmctl): Do not use __ptrvalue.
47579         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47580         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47581         Likewise.
47582         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47583         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47584         (__libc_sigaction): Likewise.
47585         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47586         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47587         Likewise.
47588         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47590 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47592         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47594         * string/mempcpy.c: Implement by calling memcpy.
47596 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47598         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47600         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47601         evaluation.
47603         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47604         values in the mantissa.
47606         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47607         minimize writes to Z.
47608         (sub_magnitudes): Simplify code a bit.
47610 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47612         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47613         from the message.  The linker prefixes all warnings with that already.
47615 2013-02-12  Andreas Schwab  <schwab@suse.de>
47617         [BZ #15078]
47618         * posix/regexec.c (extend_buffers): Add parameter min_len.
47619         (check_matching): Pass minimum needed length.
47620         (clean_state_log_if_needed): Likewise.
47621         (get_subexp): Likewise.
47622         * posix/Makefile (tests): Add bug-regex34.
47623         (bug-regex34-ENV): Define.
47624         * posix/bug-regex34.c: New file.
47626         [BZ #11561]
47627         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47628         elements compare against the byte sequence of it, not its name.
47629         * posix/Makefile (tests): Add bug-regex35.
47630         (bug-regex35-ENV): Define.
47631         * posix/bug-regex35.c: New file.
47633 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47635         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47636         comment.
47637         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47638         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47639         (CHECK_EOL): Add undef.
47641 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47643         * bits/stdlib-bsearch.h: New file.
47644         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47645         * stdlib/stdlib.h: Likewise.
47647 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47649         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47650         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47651         declaration.
47652         * manual/search.texi (Array Search Function): Add missing const in
47653         lfind prototype.
47654         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47655         declaration to use rlim_t.
47656         (Basic Scheduling Functions): Remove erroneous const from
47657         sched_getparam prototype.  Remove erroneous * from
47658         sched_get_priority_max and sched_get_priority_min prototypes.
47659         (Resource Usage): Fix summary @comment on vtimes to refer to
47660         sys/vtimes.h rather than vtimes.h.
47661         Add missing *s in vtimes prototype.
47662         (Limits on Resources): Fix ulimit prototype to return long int.
47663         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47664         prototypes to use long int rather than double.
47665         (BSD Random): Fix initstate and setstate to use char *, not void *.
47666         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47667         prototype to make second argument 'struct aiocb64 *const[]'.
47668         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47669         (Status of AIO Operations): Remove erroneous const in aio_return and
47670         aio_return64 prototypes.
47671         (Synchronizing I/O): Fix sync prototype to return void.
47672         * manual/startup.texi (Suboptions): Remove an erroneous const in
47673         getsubopt prototype.
47674         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47675         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47676         use size_t rather than int.
47677         (Scanning All Users): Likewise for getpwent_r.
47678         (Setting Groups): Add missing const to setgroups prototype.
47679         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47680         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47681         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47682         'const void *' rather than 'const char *'.
47683         (Host Address Functions): Likewise for inet_ntop.
47684         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47685         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47686         ssize_t for return value.
47687         (Sending Data): Likewise for send, sendto, sendmsg.
47688         (Socket Option Functions): Add a missing const in setsockopt prototype.
47689         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47690         use wchar_t for the argument.
47691         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47692         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47693         take no arguments.
47694         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47695         double/float/long double for second argument.
47696         Fix return types of significand, significandf, significandl.
47697         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47698         argument in fchmod prototype.
47699         (File Owner): Use uid_t and gid_t in fchown prototype.
47700         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47701         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47702         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47703         use 'const struct dirent **' as argument types to CMP function pointer
47704         argument.
47705         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47706         (File Times): Fix summary magic @comment for struct utimbuf and utime
47707         to refer to utime.h, not time.h.
47708         * manual/string.texi (Argz Functions): Add missing const in
47709         argz_extract and argz_next prototypes.
47710         (Finding Tokens in a String): Likewise for basename.
47711         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47712         (Copying and Concatenation): Fix typo in wmemmove prototype.
47713         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47714         (Signal Stack): Remove erroneous const in sigstack prototype.
47715         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47716         prototype.
47717         (Simple Calendar Time): Likewise for stime.
47718         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47719         prototype.
47720         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47721         say sys/sysctl.h instead.
47722         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47723         and vsyslog prototypes.
47725 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47727         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47728         Remove.
47730 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47732         * misc/sys/mman.h: Fix typo in mremap comment.
47734 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47736         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47737         the '\0' terminator.
47739 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47741         [BZ #13550]
47742         * debug/segfault.c: Don't include <bp-checks.h>.
47743         * sysdeps/generic/bp-checks.h: Remove file.
47744         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47745         (__GETDENTS): Don't use CHECK_N.
47746         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47747         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47748         (__getgroups): Don't use CHECK_N.
47749         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47750         (setgroups): Don't use CHECK_N.
47751         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47752         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47753         (__libc_msgrcv): Don't use CHECK_N.
47754         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47755         (__libc_msgsnd): Don't use CHECK_N.
47756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47757         <bp-checks.h>.
47758         (__libc_pread): Don't use CHECK_N.
47759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47760         include <bp-checks.h>.
47761         (__libc_pread64): Don't use CHECK_N.
47762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47763         include <bp-checks.h>.
47764         (__libc_pwrite): Don't use CHECK_N.
47765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47766         include <bp-checks.h>.
47767         (__libc_pwrite64): Don't use CHECK_N.
47768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47769         <bp-checks.h>.
47770         (__libc_pread): Don't use CHECK_N.
47771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47772         include <bp-checks.h>.
47773         (__libc_pread64): Don't use CHECK_N.
47774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47775         include <bp-checks.h>.
47776         (__libc_pwrite): Don't use CHECK_N.
47777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47778         include <bp-checks.h>.
47779         (__libc_pwrite64): Don't use CHECK_N.
47780         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47781         (do_pread): Don't use CHECK_N.
47782         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47783         (do_pread64): Don't use CHECK_N.
47784         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47785         (do_pwrite): Don't use CHECK_N.
47786         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47787         (do_pwrite64): Don't use CHECK_N.
47788         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47789         (__libc_readv): Don't use CHECK_N.
47790         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47791         (semop): Don't use CHECK_N.
47792         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47793         <bp-checks.h>.
47794         (semtimedop): Don't use CHECK_N.
47795         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47796         (__libc_pread): Don't use CHECK_N.
47797         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47798         <bp-checks.h>.
47799         (__libc_pread64): Don't use CHECK_N.
47800         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47801         <bp-checks.h>.
47802         (__libc_pwrite): Don't use CHECK_N.
47803         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47804         <bp-checks.h>.
47805         (__libc_pwrite64): Don't use CHECK_N.
47806         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47807         <bp-checks.h>.
47808         (__libc_msgrcv): Don't use CHECK_N.
47809         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47810         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47811         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47812         (__libc_writev): Don't use CHECK_N.
47814 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47816         * string/strcpy.c: Removed unused variable.
47818         * Makeconfig (+sysdep-includes): Define with := rather than =.
47819         Use an existing include/ subdir of each sysdeps dir before it.
47821 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47823         * nscd/connection.c (register_traced_file): Comment function.
47824         [HAVE_INOTIFY] (union __inev): Define.
47825         [HAVE_INOTIFY] (inotify_check_files): New function.
47826         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47827         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47828         clear_db_cache.
47829         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47831 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47833         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47834         loaded if not already and that a failure is permanent.
47836 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47838         [BZ #15006]
47839         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47840         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47842 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47844         [BZ #13550]
47845         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47846         (CHECK_1_NULL_OK): Likewise.
47847         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47848         (__fxstat): Do not use CHECK_1.
47849         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47850         <bp-checks.h>.
47851         (___fxstat64): Do not use CHECK_1.
47852         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47853         <bp-checks.h>.
47854         (__fxstatat): Do not use CHECK_1.
47855         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47856         <bp-checks.h>.
47857         (__fxstatat64): Do not use CHECK_1.
47858         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47859         <bp-checks.h>.
47860         (__fxstat): Do not use CHECK_1.
47861         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47862         <bp-checks.h>.
47863         (__fxstatat): Do not use CHECK_1.
47864         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47865         <bp-checks.h>.
47866         (__getresgid): Do not use CHECK_1.
47867         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47868         <bp-checks.h>.
47869         (__getresuid): Do not use CHECK_1.
47870         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47871         <bp-checks.h>.
47872         (__lxstat): Do not use CHECK_1.
47873         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47874         <bp-checks.h>.
47875         (__old_msgctl): Do not use CHECK_1.
47876         (__new_msgctl): Likewise.
47877         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47878         <bp-checks.h>.
47879         (__new_setrlimit): Do not use CHECK_1.
47880         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47881         <bp-checks.h>.
47882         (__old_shmctl): Do not use CHECK_1.
47883         (__new_shmctl): Likewise.
47884         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47885         <bp-checks.h>.
47886         (__xstat): Do not use CHECK_1.
47887         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47888         (__lxstat): Do not use CHECK_1.
47889         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47890         <bp-checks.h>.
47891         (___lxstat64): Do not use CHECK_1.
47892         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47893         (__old_msgctl): Do not use CHECK_1.
47894         (__new_msgctl): Likewise.
47895         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47896         <bp-checks.h>.
47897         (__gettimeofday): Do not use CHECK_1.
47898         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47899         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47900         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47901         <bp-checks.h>.
47902         (__gettimeofday): Do not use CHECK_1.
47903         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47904         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47905         (__new_shmctl): Do not use CHECK_1.
47906         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47907         <bp-checks.h>.
47908         (do_sigtimedwait): Do not use CHECK_1.
47909         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47910         <bp-checks.h>.
47911         (do_sigwaitinfo): Do not use CHECK_1.
47912         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47913         <bp-checks.h>.
47914         (msgctl): Do not use CHECK_1.
47915         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47916         <bp-checks.h>.
47917         (shmctl): Do not use CHECK_1.
47918         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47919         (ustat): Do not use CHECK_1.
47920         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47921         <bp-checks.h>.
47922         (__fxstat): Do not use CHECK_1.
47923         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47924         <bp-checks.h>.
47925         (__fxstatat): Do not use CHECK_1.
47926         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47927         <bp-checks.h>.
47928         (__lxstat): Do not use CHECK_1.
47929         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47930         <bp-checks.h>.
47931         (__xstat): Do not use CHECK_1.
47932         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47933         (__xstat): Do not use CHECK_1.
47934         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47935         (___xstat64): Do not use CHECK_1.
47937         [BZ #13550]
47938         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47939         definitions.
47940         (CHECK_BOUNDS_HIGH): Likewise.
47941         * string/strcpy.c: Do not include <bp-checks.h>.
47942         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47944 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47946         * nscd/nscd-client.h (__nscd_drop_map_ref):
47947         Add __attribute__ ((unused)).
47948         * nis/nss-nisplus.h (niserr2nss): Likewise.
47950         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47951         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47953         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47954         Remove inline keyword.
47955         * include/rounding-mode.h (round_away): Likewise.
47956         * libio/wfileops.c (adjust_wide_data): Likewise.
47957         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47958         (__m128i_strloadu_tolower): Likewise.
47959         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47960         (__m128i_strloadu_tolower): Likewise.
47961         * time/mktime.c (ydhms_diff): Likewise.
47962         * locale/elem-hash.h (elem_hash): Likewise.
47963         * locale/setlocale.c (setdata): Likewise.
47964         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47965         (re_string_wchar_at): Likewise.
47966         (bitset_not, bitset_merge, bitset_mask): Likewise.
47967         [!(__GNUC__ > 3)] (inline): Remove macro.
47968         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47969         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47970         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47971         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47972         * string/memcmp.c (memcmp_bytes): Likewise.
47973         * locale/programs/locarchive.c (compute_hashval): Likewise.
47974         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47975         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47976         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47977         * nss/getent.c (print_rpc, print_protocols): Likewise.
47978         (print_passwd, print_group, print_aliases): Likewise.
47979         * nis/nss-nisplus.h (niserr2nss): Likewise.
47980         * nscd/connections.c (restart_p): Likewise.
47981         Change return type to bool.
47983 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47985         * Makeconfig (all-Depend-files): Add existing
47986         $(sorted-subdirs:=/Depend) files.
47987         (all-subdirs): Remove nss.
47988         * sysdeps/unix/inet/Subdirs: Add it here instead.
47989         * hesiod/Depend: New file.
47991         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47992         instead of calling alloca.
47994         * io/lseek.c (__lseek): Rename to __libc_lseek.
47995         Define __lseek as an alias.
47997         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47999 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48001         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48002         else clause and remove check for non-standard endianness.
48004 2013-02-04  David S. Miller  <davem@davemloft.net>
48006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48008 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48010         [BZ #13550]
48011         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48012         (__ubp_memchr): Remove prototype.
48013         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48014         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48015         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48016         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48017         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48018         Remove alias.
48019         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48020         (__ubp_memchr): Likewise.
48021         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48022         (__ubp_memchr): Likewise.
48023         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48024         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48025         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48026         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48027         CHECK_STRING.
48028         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48029         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48030         (__getcwd): Do not use CHECK_STRING.
48031         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48032         <bp-checks.h>.
48033         (__real_chown): Do not use CHECK_STRING.
48034         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48035         <bp-checks.h>.
48036         (fchownat): Do not use CHECK_STRING.
48037         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48038         CHECK_STRING.
48039         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48040         <bp-checks.h>.
48041         (__lchown): Do not use CHECK_STRING.
48042         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48043         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48044         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48045         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48047         include <bp-checks.h>.
48048         (truncate64): Do not use CHECK_STRING.
48049         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48050         <bp-checks.h>.
48051         (__real_chown): Do not use CHECK_STRING.
48052         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48053         <bp-checks.h>.
48054         (__lchown): Do not use CHECK_STRING.
48055         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48056         <bp-checks.h>.
48057         (__chown): Do not use CHECK_STRING.
48058         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48059         <bp-checks.h>.
48060         (truncate64): Do not use CHECK_STRING.
48061         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48062         Likewise.
48063         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48064         (__xmknod): Do not use CHECK_STRING.
48065         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48066         <bp-checks.h>.
48067         (__xmknodat): Do not use CHECK_STRING.
48068         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48069         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48071 2013-02-04  Andreas Schwab  <schwab@suse.de>
48073         [BZ #14142]
48074         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48075         * include/netdb.h: Likewise for h_errno.
48076         * elf/tst-stackguard1.c: Include <tls.h>.
48078 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48080         * elf/link.h (struct link_map): Extend the l_addr comment.
48081         * include/link.h (struct link_map): Likewise.
48083 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48085         [BZ #13550]
48086         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48087         (BOUNDED_1): Remove macro.
48088         * debug/backtrace.c: Don't include <bp-checks.h>.
48089         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48090         (__backtrace): Likewise.
48091         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48092         <bp-checks.h>.
48093         (__backtrace): Don't use BOUNDED_1.
48094         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48095         <bp-checks.h>.
48096         (__backtrace): Don't use BOUNDED_1.
48097         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48098         (__backtrace): Don't use BOUNDED_1.
48099         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48100         (shmat): Don't use BOUNDED_N.
48102 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48104         [BZ #13550]
48105         * sysdeps/generic/bp-start.h: Remove file.
48106         * csu/libc-start.c: Don't include <bp-start.h>.
48107         (LIBC_START_MAIN): Set up __environ directly instead of using
48108         INIT_ARGV_and_ENVIRON.
48109         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48110         <bp-start.h>.
48112         [BZ #13550]
48113         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48114         definitions.
48115         (CHECK_FCNTL): Likewise.
48116         (CHECK_N_PAGES): Likewise.
48118         [BZ #13550]
48119         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48120         definitions.
48121         (CHECK_SIGSET_NULL_OK): Likewise.
48122         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48123         <bp-checks.h>.
48124         (sigpending): Don't use CHECK_SIGSET.
48125         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48126         <bp-checks.h>.
48127         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48128         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48129         <bp-checks.h>.
48130         (do_sigsuspend): Don't use CHECK_SIGSET.
48131         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48132         use CHECK_SIGSET.
48133         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48134         (do_sigwait): Don't use CHECK_SIGSET.
48135         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48136         use CHECK_SIGSET.
48137         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48138         include <bp-checks.h>.
48139         (sigpending): Don't use CHECK_SIGSET.
48140         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48141         include <bp-checks.h>.
48142         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48143         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48144         <bp-checks.h>.
48145         (sigpending): Don't use CHECK_SIGSET.
48146         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48147         <bp-checks.h>.
48148         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48150         [BZ #13550]
48151         * sysdeps/generic/bp-semctl.h: Remove file.
48152         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48153         <bp-checks.h> and <bp-semctl.h>.
48154         (__old_semctl): Don't use CHECK_SEMCTL.
48155         (__new_semctl): Likewise.
48156         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48157         and <bp-semctl.h>.
48158         (__old_semctl): Don't use CHECK_SEMCTL.
48159         (__new_semctl): Likewise.
48160         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48161         <bp-checks.h> and <bp-semctl.h>.
48162         (__old_semctl): Don't use CHECK_SEMCTL.
48163         (__new_semctl): Likewise.
48164         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48165         <bp-checks.h> and <bp-semctl.h>.
48166         (semctl): Don't use CHECK_SEMCTL.
48168         [BZ #13550]
48169         * Makerules (elide-bp-thunks): Remove variable.
48170         (elide-routines.oS): Don't use $(elide-bp-thunks).
48171         (elide-routines.os): Likewise.
48172         (elide-routines.o): Likewise.
48173         (elide-routines.op): Likewise.
48174         (elide-routines.og): Likewise.
48175         (objects): Don't use $(bp-thunks).
48176         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48177         include.
48178         (common-generated): Do not add s-proto-bp.d.
48179         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48180         (int): Likewise.
48181         (typ): Likewise.
48182         Do not generate makefile rules for bounded-pointer thunks.
48183         * sysdeps/generic/bp-thunks.h: Remove file.
48184         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48185         * sysdeps/unix/s-proto-bp.S: Likewise.
48187         [BZ #15062]
48188         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48189         parts of result separately when argument is not close to line from
48190         -i to i and one part of argument is small.
48191         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48192         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48193         * math/libm-test.inc (cacos_test): Add more tests.
48194         (casin_test): Likewise.
48195         (casinh_test): Likewise.
48196         * sysdeps/i386/fpu/libm-test-ulps: Update.
48197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48199 2013-01-31  David S. Miller  <davem@davemloft.net>
48201         * po/de.po: Update from translation team.
48203 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48205         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48207 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48209         * configure.in (_AC_PROG_CC_C89): New definition.
48210         * configure: Regenerate.
48212         * configure.in (AC_PROG_CPP): New definition.
48213         * configure: Regenerate.
48215 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48217         * debug/tst-backtrace.h: New file.
48218         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48219         (ret): Remove variable.
48220         (x): Likewise.
48221         (FAIL): Remove macro.
48222         (NO_INLINE): Likewise.
48223         (fn1): Use match function instead of strstr.
48224         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48225         (ret): Remove variable.
48226         (x): Likewise.
48227         (FAIL): Remove macro.
48228         (NO_INLINE): Likewise.
48229         (fn): Use match function instead of strstr.
48230         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48231         (ret): Remove variable.
48232         (x): Likewise.
48233         (FAIL): Remove macro.
48234         (NO_INLINE): Likewise.
48235         (handle_signal): Use match function instead of strstr.
48236         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48237         (ret): Remove variable.
48238         (x): Likewise.
48239         (FAIL): Remove macro.
48240         (NO_INLINE): Likewise.
48241         (handle_signal): Use match function instead of strstr.
48243 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48245         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48247 2013-01-23  David S. Miller  <davem@davemloft.net>
48249         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48250         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48251         argument of CAS if possible.
48252         * sysdeps/sparc/sparc64/bits/atomic.h
48253         (__arch_compare_and_exchange_val_32_acq): Likewise.
48254         (__arch_compare_and_exchange_val_64_acq): Likewise.
48256 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48258         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48259         * sysdeps/posix/ulimit.c: ... this.
48260         Include <limits.h>.
48261         * sysdeps/unix/bsd/ulimit.c: Remove file.
48263 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48265         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48266         (LDFLAGS-tst-array5): Likewise.
48268 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48270         [BZ #15036]
48271         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48272         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48273         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48274         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48276 2013-01-21  David S. Miller  <davem@davemloft.net>
48278         * sysdeps/sparc/backtrace.c: New file.
48279         * sysdeps/sparc/sparc32/backtrace.h: New file.
48280         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48281         * sysdeps/sparc/sparc64/backtrace.h: New file.
48282         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48283         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48284         -funwind-tables.
48286 2013-01-21  Andreas Schwab  <schwab@suse.de>
48288         [BZ #15020]
48289         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48290         closed its stdout.
48292 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48295         "mpa2.h".
48296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48298 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48299             Mark Mitchell  <mark@codesourcery.com>
48300             Tom de Vries  <tom@codesourcery.com>
48301             Paul Pluzhnikov  <ppluzhnikov@google.com>
48303         * debug/tst-backtrace2.c: New file.
48304         * debug/tst-backtrace3.c: Likewise.
48305         * debug/tst-backtrace4.c: Likewise.
48306         * debug/tst-backtrace5.c: Likewise.
48307         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48308         (CFLAGS-tst-backtrace3.c): Likewise.
48309         (CFLAGS-tst-backtrace4.c): Likewise.
48310         (CFLAGS-tst-backtrace5.c): Likewise.
48311         (LDFLAGS-tst-backtrace2): Likewise.
48312         (LDFLAGS-tst-backtrace3): Likewise.
48313         (LDFLAGS-tst-backtrace4): Likewise.
48314         (LDFLAGS-tst-backtrace5): Likewise.
48315         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48316         tst-backtrace4 and tst-backtrace5.
48318 2013-01-18  Anton Blanchard  <anton@samba.org>
48319             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48321         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48322         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48323         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48324         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48326         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48327         "+r" and remove output regs list as redundant.  Add explicit inline
48328         asm to specify register of return val to work around compiler codegen
48329         bug.  Remove (int) cast on return value.  Add return type parameter to
48330         use in macro so that this macro does not truncate return value for
48331         64-bit values.
48332         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48333         pass to INTERNAL_VSYSCALL_NCS.
48334         (INLINE_VSYSCALL): Add 'long int' as return type to
48335         INTERNAL_VSYSCALL_NCS macro invocation.
48336         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48337         INTERNAL_VSYSCALL_NCS macro invocation.
48338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48340 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48342         [BZ #14496]
48343         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48344         Fix application of SIMD FP exception mask.
48346         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48347         mp_no from a power of two.
48348         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48349         __mpexp_twomm1.  Use __pow_mp.
48351         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48352         multiplication.
48354 2013-01-17  David S. Miller  <davem@davemloft.net>
48356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48358 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48360         [BZ #15023]
48361         * include/complex.h: Condition contents on [!_COMPLEX_H].
48362         (__kernel_casinhf): New prototype.
48363         (__kernel_casinh): Likewise.
48364         (__kernel_casinhl): Likewise.
48365         * math/Makefile (libm_calls): Add k_casinh.
48366         * math/k_casinh.c: New file.
48367         * math/k_casinhf.c: Likewise.
48368         * math/k_casinhl.c: Likewise.
48369         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48370         finite nonzero arguments.
48371         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48372         finite nonzero arguments.
48373         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48374         finite nonzero arguments.
48375         * math/s_casinh.c: Do not include <float.h>.
48376         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48377         * math/s_casinhf.c: Do not include <float.h>.
48378         (__casinhf): Move code for finite nonzero arguments to
48379         k_casinhf.c.
48380         * math/s_casinhl.c: Do not include <float.h>.
48381         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48382         redefine.
48383         (__casinhl): Move code for finite nonzero arguments to
48384         k_casinhl.c.
48385         * math/libm-test.inc (cacos_test): Add more tests.
48386         * sysdeps/i386/fpu/libm-test-ulps: Update.
48387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48389 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48391         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48392         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48393         [!HAVE_MREMAP]: Remove [defined linux] case.
48394         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48396 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48398         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48400 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48402         * elf/elf.h (R_386_SIZE32): New relocation.
48403         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48404         R_386_SIZE32.
48405         (elf_machine_rela): Likewise.
48406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48407         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48409 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48411         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48412         (FP_FAST_FMA): Do not define.
48413         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48414         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48415         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48416         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48417         !_SOFT_FLOAT]: Likewise.
48418         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48419         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48420         value.
48421         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48422         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48423         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48424         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48425         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48426         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48427         file.
48429 2013-01-16  Andreas Schwab  <schwab@suse.de>
48431         [BZ #14327]
48432         * include/stdlib.h (__mktemp): Add declaration.
48433         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48434         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48436 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48438         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48439         definitions.
48440         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48441         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48442         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48443         definitions here.
48444         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48445         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48446         definitions.
48447         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48448         and ONE.
48449         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48450         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48451         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48452         definitions.
48453         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48454         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48455         definitions.
48456         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48458         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48460 2013-01-15  David S. Miller  <davem@davemloft.net>
48462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48463         trunc{,f} to libm-sysdep_routes.
48464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48466         file.
48467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48469         file.
48470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48471         file.
48472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48474         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48475         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48476         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48477         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48478         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48479         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48482         nearbyint{,f} to libm-sysdep_routes.
48483         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48485         New file.
48486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48487         file.
48488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48489         New file.
48490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48491         file.
48492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48494         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48495         file.
48496         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48497         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48498         file.
48499         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48500         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48501         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48503         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48504         libc_feholdexcept and libc_fesetenv.
48506 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48508         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48510 2013-01-14  David S. Miller  <davem@davemloft.net>
48512         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48513         (SPARC_ASM_VIS2_IFUNC): Likewise.
48514         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48516         use of 'siam' instruction.
48517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48518         Likewise.
48519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48520         Likewise.
48521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48522         Likewise.
48523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48525         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48526         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48528         file.
48529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48530         file.
48531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48532         file.
48533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48534         file.
48535         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48537         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48540         new VIS2 routines.
48541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48544         Likewise.
48545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48550         routines to libm-sysdep_routines.
48551         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48554         fdim/fdimf to libm-sysdep_routines.
48555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48556         file.
48557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48559         file.
48560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48563         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48564         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48565         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48566         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48568 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48570         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48571         to optimize copies.
48573         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48577         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48578         local variable MPTWO.
48579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48580         Likewise.
48582 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48584         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48585         GLOB_NOESCAPE.
48587 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48589         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48591 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48593         * manual/pattern.texi (glob_t): Document gl_flags.
48594         (glob64_t): Likewise.
48596 2013-01-11  David S. Miller  <davem@davemloft.net>
48598         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48599         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48600         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48601         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48602         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48603         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48604         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48605         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48606         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48607         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48608         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48609         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48610         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48612         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48613         sparc V9 rather than using V8 code.
48614         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48615         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48617         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48618         Move to...
48619         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48620         Here.
48622 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48624         [BZ #14941]
48625         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48626         not in the main loop.
48627         * configure: Regenerated.
48629 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48631         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48632         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48633         to just #else.
48634         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48635         [!__GLIBC_HAVE_LONG_LONG] case.
48636         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48637         condition to just #else.
48638         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48639         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48640         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48641         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48642         unconditional.
48643         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48644         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48645         #elif condition to just #else.
48646         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48647         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48648         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48649         #elif condition to just #else.
48651 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48653         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48654         (EF_MIPS_ARCH_64): Fix value.
48655         (EF_MIPS_ARCH_32R2): New.
48656         (EF_MIPS_ARCH_64R2): New.
48658 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48660         * Makeconfig (+link-pie-before-libc): New.
48661         (+link-pie-after-libc): Likewise.
48662         (+link-pie-tests): Likewise.
48663         (+link-pie): Rewritten.
48664         (link-before-libc): Remove $(config-LDFLAGS).
48665         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48666         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48667         (config-LDFLAGS): Renamed to ...
48668         (rtld-LDFLAGS): This.
48669         (rtld-tests-LDFLAGS): New macro.
48670         (link-libc-rpath-link): Likewise.
48671         (link-libc-tests-rpath-link): Likewise.
48672         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48673         (link-libc): Prepand $(link-libc-rpath-link).
48674         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48675         (test-program-prefix): New macro.
48676         (test-via-rtld-prefix): Likewise.
48677         (test-program-cmd): Likewise.
48678         (host-test-program-cmd): Likewise.
48679         * Makefile ($(common-objpfx)testrun.sh): Replace
48680         $(run-program-prefix) with $(test-program-prefix).
48681         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48682         $(rtld-LDFLAGS).
48683         ($(common-objpfx)shlib.lds): Likewise.
48684         (build-module-helper): Likewise.
48685         ($(common-objpfx)format.lds): Likewise.
48686         * Rules (binaries-pie-tests): New.
48687         (binaries-pie-notests): Likewise.
48688         (binaries-pie): Rewritten.
48689         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48690         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48691         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48692         (make-test-out): Replace $(host-built-program-cmd) with
48693         $(host-test-program-cmd).
48694         * config.make.in (build-hardcoded-path-in-tests): New variable.
48695         * configure.in (--enable-hardcoded-path-in-tests): New configure
48696         option.
48697         (hardcoded_path_in_tests): New AC_SUBST.
48698         * configure: Regenerated.
48699         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48700         $(built-program-cmd) with $(test-program-cmd).
48701         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48702         (test_program_cmd): This.
48703         * elf/Makefile ($(objpfx)order.out): Run test with
48704         $(test-program-prefix).
48705         ($(objpfx)order2.out): Likewise.
48706         ($(objpfx)tst-initorder.out): Likewise.
48707         ($(objpfx)tst-initorder2.out): Likewise.
48708         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48709         $(test-program-cmd).
48710         ($(objpfx)tst-array1-static.out): Likewise.
48711         ($(objpfx)tst-array2.out): Likewise.
48712         ($(objpfx)tst-array3.out): Likewise.
48713         ($(objpfx)tst-array4.out): Likewise.
48714         ($(objpfx)tst-array5.out): Likewise.
48715         ($(objpfx)tst-array5-static.out): Likewise.
48716         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48717         $(test-program-cmd).
48718         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48719         $(run-program-prefix) with $(test-program-prefix).
48720         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48721         (test_program_prefix): This.
48722         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48723         $(run-program-prefix) with $(test-program-prefix).
48724         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48725         (test_program_prefix): This.
48726         * iconvdata/tst-tables.sh: Likewise.
48727         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48728         $(run-program-prefix) with $(test-program-prefix).
48729         ($(objpfx)tst-translit.out): Likewise.
48730         ($(objpfx)tst-gettext2.out): Likewise.
48731         ($(objpfx)tst-gettext4.out): Likewise.
48732         ($(objpfx)tst-gettext6.out): Likewise.
48733         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48734         (test_program_prefix): This.
48735         * intl/tst-gettext2.sh: Likewise.
48736         * intl/tst-gettext4.sh  Likewise.
48737         * intl/tst-gettext6.sh: Likewise.
48738         * intl/tst-translit.sh: Likewise.
48739         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48740         with $(test-program-cmd).
48741         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48742         $(run-program-prefix) with $(test-program-prefix).
48743         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48744         (test_program_prefix): This.
48745         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48746         $(run-program-prefix) with $(test-program-prefix).
48747         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48748         (test_program_prefix): This.
48749         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48750         * posix/Makefile ($(objpfx)globtest.out): Replace
48751         $(run-via-rtld-prefix) and $(test-wrapper) with
48752         $(test-program-prefix) and $(test-via-rtld-prefix).
48753         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48754         $(test-program-prefix).
48755         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48756         $(host-test-program-cmd).
48757         (tst-spawn-ARGS): Likewise.
48758         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48759         $(test-program-prefix).
48760         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48761         (test_via_rtld_prefix): This.
48762         (test_wrapper): Renamed to ...
48763         (test_program_prefix): This.
48764         (run_program_prefix): Replaced by test_program_prefix.
48765         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48766         (test_program_prefix): This.
48767         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48768         with $(host-test-program-cmd).
48769         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48770         $(run-program-prefix) with $(test-program-prefix).
48771         ($(objpfx)tst-printf.out): Likewise.
48772         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48773         $(test-program-cmd).
48774         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48775         (test_program_prefix): This.
48776         * stdio-common/tst-unbputc.sh: Likewise.
48777         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48778         $(run-program-prefix) with $(test-program-prefix).
48779         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48780         (test_program_prefix): This.
48781         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48782         $(built-program-cmd) with $(test-program-cmd).
48784 2013-01-11  Andreas Jaeger  <aj@suse.de>
48786         [BZ #15003]
48787         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48788         value. Sync with Linux 3.7.
48790 2013-01-10  David S. Miller  <davem@davemloft.net>
48792         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48793         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48794         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48796 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48798         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48799         never set.
48800         * configure: Regenerated.
48802 2013-01-10  David S. Miller  <davem@davemloft.net>
48804         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48805         sparc V9 rather than using V8 code.
48806         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48807         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48809 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48811         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48812         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48813         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48814         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48815         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48816         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48817         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48818         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48819         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48820         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48821         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48822         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48823         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48824         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48825         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48826         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48827         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48828         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48829         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48830         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48831         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48832         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48833         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48834         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48835         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48836         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48837         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48839 2013-01-10  David S. Miller  <davem@davemloft.net>
48841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48843 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48845         * posix/Makefile (tests-static): New variable.
48846         (tests): Add $(tests-static).
48847         (tst-exec-static-ARGS): New variable.
48848         (tst-spawn-static-ARGS): Likewise.
48849         * posix/tst-exec-static.c: New file.
48850         * posix/tst-spawn-static.c: Likewise.
48851         * posix/tst-exec.c: Support run directly.
48852         * posix/tst-spawn.c: Likewise.
48854 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48856         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48857         long.
48858         * math/bits/mathcalls.h (llrint): Likewise.
48859         (llround): Likewise.
48860         * stdlib/stdlib.h (struct drand48_data): Likewise.
48861         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48862         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48863         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48864         Likewise.
48865         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48866         Likewise.
48867         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48868         (elf_greg_t): Likewise.
48869         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48870         (__jmp_buf): Likewise.
48871         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48872         definitions.
48873         (llrint): Likewise, for all definitions.
48874         (llrintl): Likewise.
48876         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48877         Remove [__GNUC__] condition.
48878         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48879         condition to just [__USE_ISOC99].
48880         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48882 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48884         [BZ #14200]
48885         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48886         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48887         defined.
48888         (_POSIX_V6_ILP32_OFF32): Likewise.
48889         (_XBS5_ILP32_OFF32): Likewise.
48890         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48891         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48893 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48895         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48898         doubles __mpexp_twomm1.  Adjust usage.
48899         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48900         Remove.
48902 2013-01-10  Andreas Schwab  <schwab@suse.de>
48904         [BZ #14964]
48905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48906         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48908 2013-01-09  David S. Miller  <davem@davemloft.net>
48910         [BZ #15003]
48911         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48912         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48913         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48914         (TCP_FASTOPEN): Define.
48915         (tcp_repair_opt): New structure.
48916         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48917         enum values.
48918         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48919         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48920         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48921         (tcp_cookie_transactions): New structure.
48923 2013-01-09  Anton Blanchard  <anton@samba.org>
48925         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48926         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48927         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48928         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48930 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48932         * include/features.h (__USE_ANSI): Remove.
48934 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48936         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48938         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48940 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48942         * sysdeps/s390/fpu/libm-test-ulps: Update.
48944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48946         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48947         (__acr): Likewise.
48948         (__cpy): Likewise.
48949         (norm): Likewise.
48950         (denorm): Likewise.
48951         (__mp_dbl): Likewise.
48952         (__dbl_mp): Likewise.
48953         (add_magnitudes): Likewise.
48954         (sub_magnitudes): Likewise.
48955         (__add): Likewise.
48956         (__sub): Likewise.
48957         (__mul): Likewise.
48958         (__inv): Likewise.
48959         (__dvd): Likewise.
48960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48961         (__acr): Likewise.
48962         (__cpy): Likewise.
48963         (norm): Likewise.
48964         (denorm): Likewise.
48965         (__mp_dbl): Likewise.
48966         (__dbl_mp): Likewise.
48967         (add_magnitudes): Likewise.
48968         (sub_magnitudes): Likewise.
48969         (__add): Likewise.
48970         (__sub): Likewise.
48971         (__mul): Likewise.
48972         (__inv): Likewise.
48973         (__dvd): Likewise.
48974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48975         (__acr): Likewise.
48976         (__cpy): Likewise.
48977         (norm): Likewise.
48978         (denorm): Likewise.
48979         (__mp_dbl): Likewise.
48980         (__dbl_mp): Likewise.
48981         (add_magnitudes): Likewise.
48982         (sub_magnitudes): Likewise.
48983         (__add): Likewise.
48984         (__sub): Likewise.
48985         (__mul): Likewise.
48986         (__inv): Likewise.
48987         (__dvd): Likewise.
48989 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48991         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48992         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48993         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48994         2 && __USE_EXTERN_INLINES]: Likewise.
48996 2013-01-08  Andreas Jaeger  <aj@suse.de>
48998         [BZ# 14985]
48999         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49000         Remove.
49001         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49002         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49004 2013-01-07  Anton Blanchard  <anton@samba.org>
49006         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49007         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49008         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49009         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49010         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49011         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49012         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49013         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49015         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49016         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49017         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49018         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49020         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49021         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49022         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49023         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49024         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49025         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49026         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49027         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49028         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49029         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49030         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49031         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49032         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49033         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49034         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49035         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49036         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49038         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49039         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49040         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49041         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49042         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49043         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49044         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49045         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49046         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49047         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49048         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49050 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49052         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49053         (__MALLOC_PMT): Likewise.
49054         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49055         [__GNUC__], only on [_LIBC].
49056         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49057         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49058         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49059         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49060         forward declaration.
49061         (realloc_hook_ini): Likewise.
49062         (memalign_hook_ini): Likewise.
49063         (__libc_memalign): Do not use __MALLOC_PMT in variable
49064         declaration.
49065         (__libc_valloc): Likewise.
49066         (__libc_pvalloc): Likewise.
49067         (__libc_calloc): Likewise.
49068         (__posix_memalign): Likewise.
49070         [BZ #14996]
49071         * math/s_casinh.c: Include <float.h>.
49072         (__casinh): Do not do computation with squaring and square root
49073         for large arguments.
49074         * math/s_casinhf.c: Include <float.h>.
49075         (__casinhf): Do not do computation with squaring and square root
49076         for large arguments.
49077         * math/s_casinhl.c: Include <float.h>.
49078         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49079         (__casinhl): Do not do computation with squaring and square root
49080         for large arguments.
49081         * math/libm-test.inc (casin_test): Add more tests.
49082         (casinh_test): Likewise.
49083         * sysdeps/i386/fpu/libm-test-ulps: Update.
49084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49086 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49088         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49089         (__x86_64_raw_data_cache_size): Likewise.
49090         (__x86_64_data_cache_size_half): Likewise.
49091         (__x86_64_raw_data_cache_size_half): Likewise.
49092         (__x86_64_shared_cache_size): Likewise.
49093         (__x86_64_raw_shared_cache_size): Likewise.
49094         (__x86_64_shared_cache_size_half): Likewise.
49095         (__x86_64_raw_shared_cache_size_half): Likewise.
49096         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49097         to ...
49098         (__x86_data_cache_size): This.
49099         (__x86_64_raw_data_cache_size): Renamed to ...
49100         (__x86_raw_data_cache_size): This.
49101         (__x86_64_data_cache_size_half): Renamed to ...
49102         (__x86_data_cache_size_half): This.
49103         (__x86_64_raw_data_cache_size_half): Renamed to ...
49104         (__x86_raw_data_cache_size_half): This.
49105         (__x86_64_shared_cache_size): Renamed to ...
49106         (__x86_shared_cache_size): This.
49107         (__x86_64_raw_shared_cache_size): Renamed to ...
49108         (__x86_raw_shared_cache_size): This.
49109         (__x86_64_shared_cache_size_half): Renamed to ...
49110         (__x86_shared_cache_size_half): This.
49111         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49112         (__x86_raw_shared_cache_size_half): This.
49113         * sysdeps/x86_64/memcpy.S: Updated.
49114         * sysdeps/x86_64/memset.S: Likewise.
49115         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49116         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49117         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49119 2013-01-04  David S. Miller  <davem@davemloft.net>
49121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49123 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49125         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49126         1 to avoid redefinition warning.
49127         (__USE_GNU): Don't define.
49128         (init_signaling_nan): Protoize.
49130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49132 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49134         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49136         (__cpymn): Likewise.
49137         (norm): Remove commented code.
49138         (denorm): Likewise.
49139         (__mp_dbl): Likewise.
49140         (__inv): Likewise.
49141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49142         (__cpymn): Likewise.
49143         (norm): Remove commented code.
49144         (denorm): Likewise.
49145         (__mp_dbl): Likewise.
49146         (__inv): Likewise.
49148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49149         mp_no value for 1.0 and 2.0.
49150         (norm): Use RADIXI instead of radixi.d.
49151         (denorm): Likewise.
49152         (__mul): Use 0.0 instead of zero.d.
49153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49154         mp_no value for 1.0 and 2.0.
49155         (norm): Use RADIXI instead of radixi.d.
49156         (denorm): Likewise.
49157         (__mul): Use 0.0 instead of zero.d.
49159 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49161         [BZ #14994]
49162         * math/s_casinh.c (__casinh): Reduce finite argument to first
49163         quadrant then set signs of results at the end.
49164         * math/s_casinhf.c (__casinhf): Likewise.
49165         * math/s_casinhl.c (__casinhl): Likewise.
49166         * math/libm-test.inc (casin_test): Add more tests.
49167         (casinh_test): Likewise.
49168         * sysdeps/i386/fpu/libm-test-ulps: Update.
49169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49171 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49173         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49175         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49177         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49178         declarations.
49179         (denorm): Likewise.
49180         (__mp_dbl): Likewise.
49181         (__inv): Likewise.
49183         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49184         and adjust the header comment.
49186         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49187         variable name from declaration.
49189 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49192         Initialize COMMON_CPUID_INDEX_7 element.
49193         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49194         (CPUID_RTM): Likewise.
49195         (HAS_RTM): Likewise.
49196         (COMMON_CPUID_INDEX_7): New enum.
49198 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49200         [BZ #14981]
49201         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49202         size is zero, record memory as freed.
49204 2013-01-03  Andreas Jaeger  <aj@suse.de>
49206         * po/ia.po: Add new Interlingua translation.
49208 2012-01-03  Allan McRae  <allan@archlinux.org>
49210         * locale/programs/localedef.c: Fix description of '--posix' flag.
49212 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49214         * NEWS: Update dates in second copyright notice.
49215         * README: Update copyright dates in example.
49216         * manual/libc.texinfo: Update copyright dates.
49217         * scripts/test-installation.pl: Update copyright date in --version
49218         output.
49220         * hurd/ctty-input.c: Fix copyright notice formatting.
49221         * hurd/ctty-output.c: Likewise.
49222         * hurd/dtable.c: Likewise.
49223         * hurd/hurd-raise.c: Likewise.
49224         * hurd/hurdprio.c: Likewise.
49225         * hurd/msgportdemux.c: Likewise.
49226         * misc/sys/file.h: Likewise.
49227         * misc/sys/ioctl.h: Likewise.
49228         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49229         * sysdeps/mach/hurd/chdir.c: Likewise.
49230         * sysdeps/mach/hurd/fchdir.c: Likewise.
49231         * sysdeps/mach/hurd/rename.c: Likewise.
49232         * sysdeps/mach/hurd/rmdir.c: Likewise.
49233         * sysdeps/mach/hurd/seekdir.c: Likewise.
49234         * sysdeps/mach/hurd/setsid.c: Likewise.
49235         * sysdeps/posix/wait3.c: Likewise.
49237         * All files with FSF copyright notices: Update copyright dates
49238         using scripts/update-copyrights.
49239         * intl/plural.c: Regenerated.
49240         * locale/programs/charmap-kw.h: Likewise.
49241         * locale/programs/locfile-kw.h: Likewise.
49243 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49245         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49246         four values.
49248         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49249         calculation loop and add branch prediction.
49251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49252         check access beyond bounds of m1np.
49254         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49255         MPTWO.
49256         (__inv): Remove local variable MPTWO to use the global
49257         constant.
49258         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49259         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49260         variable MPTWO.
49261         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49262         MP3HALFS static const.
49264 2013-01-01  David S. Miller  <davem@davemloft.net>
49266         * po/ca.po: Update from translation team.
49268 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49270         * scripts/update-copyrights: New file.
49271         * Makeconfig: Reformat copyright notice.
49272         * ctype/ctype.h: Likewise.
49273         * debug/swprintf_chk.c: Likewise.
49274         * elf/dl-cache.c: Likewise.
49275         * elf/dl-debug.c: Likewise.
49276         * elf/dl-object.c: Likewise.
49277         * grp/initgroups.c: Likewise.
49278         * hurd/Makefile: Likewise.
49279         * hurd/hurd/signal.h: Likewise.
49280         * hurd/hurdfault.c: Likewise.
49281         * hurd/hurdioctl.c: Likewise.
49282         * hurd/hurdlookup.c: Likewise.
49283         * hurd/intr-msg.c: Likewise.
49284         * iconv/gconv_open.c: Likewise.
49285         * libio/swprintf.c: Likewise.
49286         * locale/lc-ctype.c: Likewise.
49287         * locale/nl_langinfo.c: Likewise.
49288         * mach/Machrules: Likewise.
49289         * mach/Makefile: Likewise.
49290         * malloc/obstack.h: Likewise.
49291         * manual/Makefile: Likewise.
49292         * manual/tsort.awk: Likewise.
49293         * misc/bits/stab.def: Likewise.
49294         * nis/nis_print_group_entry.c: Likewise.
49295         * nis/nis_table.c: Likewise.
49296         * nis/nss_compat/compat-pwd.c: Likewise.
49297         * nis/nss_compat/compat-spwd.c: Likewise.
49298         * po/Makefile: Likewise.
49299         * posix/fnmatch.c: Likewise.
49300         * posix/regex.h: Likewise.
49301         * resolv/Makefile: Likewise.
49302         * resolv/nss_dns/dns-network.c: Likewise.
49303         * resolv/res_hconf.c: Likewise.
49304         * scripts/gen-sorted.awk: Likewise.
49305         * soft-fp/soft-fp.h: Likewise.
49306         * stdio-common/printf.h: Likewise.
49307         * stdlib/monetary.h: Likewise.
49308         * stdlib/random.c: Likewise.
49309         * stdlib/random_r.c: Likewise.
49310         * sysdeps/generic/Makefile: Likewise.
49311         * sysdeps/gnu/Makefile: Likewise.
49312         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49314         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49316         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49318         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49319         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49320         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49321         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49322         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49323         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49324         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49325         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49326         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49327         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49328         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49329         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49330         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49331         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49332         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49333         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49334         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49335         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49336         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49337         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49338         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49339         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49340         * sysdeps/mach/hurd/errnos.awk: Likewise.
49341         * sysdeps/mach/hurd/fork.c: Likewise.
49342         * sysdeps/mach/hurd/getcwd.c: Likewise.
49343         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49344         * sysdeps/mach/hurd/mmap.c: Likewise.
49345         * sysdeps/mach/hurd/utimes.c: Likewise.
49346         * sysdeps/mach/hurd/xmknod.c: Likewise.
49347         * sysdeps/posix/profil.c: Likewise.
49348         * sysdeps/posix/readdir_r.c: Likewise.
49349         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49350         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49351         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49352         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49354         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49355         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49356         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49358         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49359         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49360         * sysdeps/pthread/lio_listio.c: Likewise.
49361         * sysdeps/sparc/dl-procinfo.h: Likewise.
49362         * sysdeps/unix/i386/sysdep.S: Likewise.
49363         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49364         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49365         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49366         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49368         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49369         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49370         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49371         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49372         * sysdeps/wordsize-32/divdi3.c: Likewise.
49373         * time/sys/time.h: Likewise.
49374         * wcsmbs/Makefile: Likewise.
49376 2013-01-01  David S. Miller  <davem@davemloft.net>
49378         * po/fr.po: Update from translation team.
49380         * catgets/gencat.c: Update copyright year.
49381         * csu/version.c: Likewise.
49382         * debug/catchsegv.sh: Likewise.
49383         * debug/pcprofiledump.c: Likewise.
49384         * debug/xtrace.sh: Likewise.
49385         * elf/ldconfig.c: Likewise.
49386         * elf/ldd.bash.in: Likewise.
49387         * elf/pldd.c: Likewise.
49388         * elf/sotruss.ksh: Likewise.
49389         * elf/sprof.c: Likewise.
49390         * iconv/iconv_prog.c: Likewise.
49391         * iconv/iconvconfig.c: Likewise.
49392         * locale/programs/locale.c: Likewise.
49393         * locale/programs/localedef.c: Likewise.
49394         * login/programs/pt_chown.c: Likewise.
49395         * malloc/memusage.sh: Likewise.
49396         * malloc/memusagestat.c: Likewise.
49397         * malloc/mtrace.pl: Likewise.
49398         * nscd/nscd.c: Likewise.
49399         * nss/getent.c: Likewise.
49400         * nss/makedb.c: Likewise.
49401         * posix/getconf.c: Likewise.
49403 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49405         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49406         numbers.
49408 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49410         * math/bits/mathcalls.h (modf): Use __nonnull.
49412 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49414         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49415         (split): Use macro CN instead of the bare value.
49416         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49417         could be used.
49418         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49419         instead of the bare value.
49420         (power1): Likewise.
49422 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49424         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49425         __ATAN_TWOM.
49426         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49428         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49429         their values.
49430         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49431         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49432         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49433         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49435 2012-12-28  Andreas Jaeger  <aj@suse.de>
49437         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49438         values are from Linux 3.7.
49440         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49441         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49443 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49445         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49446         TRUE case.
49448         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49449         (norm): Likewise.
49450         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49451         variables with preprocessor constants.
49452         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49453         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49454         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49456 2012-12-27  Bruno Haible  <bruno@clisp.org>
49458         [BZ #14317]
49459         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49460         only if needed.
49462 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49465         and use variable directly.
49466         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49468         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49469         MPONE.
49470         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49471         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49472         variable MPONE.
49473         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49474         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49475         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49476         include directive.  Remove local variable MPONE.
49477         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49478         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49479         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49481 2012-12-25  David S. Miller  <davem@davemloft.net>
49483         * version.h (RELEASE): Set to "development".
49484         (VERSION): Set to "2.17.90".
49485         * NEWS: Add 2.18 section.
49487 2012-12-21  David S. Miller  <davem@davemloft.net>
49489         * po/hr.po: Update from translation team.
49491 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49493         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49495 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49497         * NEWS:  Mention new memcpy for MIPS.
49499 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49501         * manual/contrib.texi (Contributors): Spelling correction.
49503 2012-12-15  David S. Miller  <davem@davemloft.net>
49505         * po/ru.po: Update from translation team.
49507 2012-12-13  David S. Miller  <davem@davemloft.net>
49509         * NEWS: Mention IFUNC testsuite enhancements.
49511         * po/pl.po: Update from translation team.
49512         * po/bg.po: Likewise.
49514         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49515         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49517 2012-12-11  David S. Miller  <davem@davemloft.net>
49519         * po/sv.po: Update from translation team.
49521         * po/vi.po: Update from translation team.
49523         * po/cs.po: Update from translation team.
49525         * po/de.po: Update from translation team.
49526         * po/eo.po: Likewise.
49527         * po/nl.po: Likewise.
49529 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49531         [BZ #14246]
49532         * manual/argp.texi (Argp Helper Functions): Move node to follow
49533         Argp Parsing State.
49535         [BZ #14872]
49536         * manual/conf.texi (Limits on File System Capacity): Mention if
49537         terminating null is included in the max size.
49539 2012-12-10  Andreas Jaeger  <aj@suse.de>
49541         * po/cs.po: Update from translation team.
49543 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49545         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49546         void pointer and cast to uintptr_t.
49547         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49548         path.
49549         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49550         * sysdeps/s390/s390-64/memset.S: Likewise.
49552 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49554         [BZ #14833]
49555         * menual/message.texi (Message Translation): Fix typos.
49556         (Helper programs for gettext): Likewise.
49558 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49560         [BZ #14898]
49561         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49562         Change to -1.
49564 2012-12-07  David S. Miller  <davem@davemloft.net>
49566         * po/libc.pot: Update.
49568 2012-12-07  Richard Henderson  <rth@redhat.com>
49570         [BZ #10114]
49571         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49572         normal/normal case to before the switch.
49573         (_FP_DIV): Likewise.
49575 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49576             Mike Frysinger  <vapier@gentoo.org>
49578         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49579         check for __NR_fadvise64_64.
49581 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49583         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49584         0, not just to plain "0" as a statement.
49585         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49586         with cw.
49588 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49590         * NEWS: Use sourceware.org in Bugzilla URL.
49592 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49595         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49597         * stdio-common/tst-put-error.c (do_test): Add newline to the
49598         padded test to ensure flush.
49600 2012-12-05  Jeff Law  <law@redhat.com>
49602         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49604 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49606         * README: Don't refer to ports add-on as distributed separately.
49607         Mention AArch64 in list of systems supported in the ports add-on.
49609         * LICENSES: Add more non-FSF copyright and license notices.
49611         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49612         ((unused)).
49614         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49616         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49617         10000 as width of padded output.
49619 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49621         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49623         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49624         variable LX with __attribute__ ((unused)).
49625         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49626         Likewise.
49627         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49629         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49630         with __attribute__ ((unused)).
49632 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49634         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49636 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49638         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49639         (CFLAGS-nldbl-acos.c): New variable.
49640         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49641         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49642         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49643         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49644         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49645         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49646         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49647         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49648         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49649         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49650         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49651         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49652         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49653         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49654         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49655         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49656         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49657         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49658         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49659         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49660         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49661         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49662         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49663         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49664         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49665         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49666         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49667         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49668         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49669         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49670         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49671         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49672         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49673         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49674         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49675         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49676         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49677         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49678         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49679         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49680         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49681         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49682         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49683         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49684         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49685         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49686         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49687         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49688         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49689         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49690         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49691         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49692         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49693         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49694         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49695         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49696         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49697         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49698         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49699         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49700         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49701         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49702         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49703         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49704         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49705         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49706         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49707         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49708         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49709         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49710         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49711         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49712         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49713         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49714         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49715         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49716         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49717         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49718         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49719         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49720         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49721         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49722         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49723         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49724         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49725         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49726         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49727         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49728         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49729         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49730         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49731         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49732         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49733         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49734         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49735         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49736         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49739         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49741         [BZ #14914]
49742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49743         whole low double instead of just low 47 bits when splitting values
49744         into two parts.
49746 2012-12-03  Allan McRae  <allan@archlinux.org>
49748         * manual/stdio.texi (Predefined Printf Handlers): Remove
49749         @hsep and @vsep usage.
49751 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49753         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49754         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49756 2012-12-03  Jeff Law  <law@redhat.com>
49758         * time/sys/time.h (settimeofday): Do not mark TV argument
49759         as __nonnull.
49761 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49763         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49764         when currently writing and seek to current position when not.
49765         * libio/Makefile (tests): Remove bug-fclose1.
49766         * libio/bug-fclose1.c: Delete.
49768 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49770         * manual/arith.texi (feenableexcept): Fix typo.
49771         (fedisableexcept): Likewise.
49773 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49775         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49776         second, differently-typed declaration, rather than a cast.
49778 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49780         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49781         * include/rpc/svc.h: ... here.
49783 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49785         [BZ #13013]
49786         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49787         depending n and resplen2 to catch cases where answer
49788         equals answerp2.
49790 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49792         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49793         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49795 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49797         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49799 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49801         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49803 2012-11-28  Jeff Law  <law@redhat.com>
49805         [BZ #13761]
49806         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49807         dataset_temporary.  Track alloca usage into alloca_used.
49808         If dataset is large allocate and release it via malloc/free.
49810 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49812         [BZ #14197]
49813         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49815 2012-11-28  David S. Miller  <davem@davemloft.net>
49817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49819 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49821         [BZ #14803]
49822         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49823         of pi/2 rounded to nearest to 64 bits.
49824         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49825         nearest to 64 bits.
49826         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49827         bits.
49829 2012-11-28  Jeff Law <law@redhat.com>
49830             Martin Osvald <mosvald@redhat.com>
49832         [BZ #14889]
49833         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49834         * sunrpc/svc.c: Include time.h.
49835         (__svc_accept_failed): New function.
49836         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49837         any reason other than EINTR, call __svc_accept_failed.
49838         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49839         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49841 2012-11-28  Andreas Schwab  <schwab@suse.de>
49843         * scripts/abilist.awk: Also handle indirect functions in .opd
49844         section.
49846 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49848         [BZ #13881]
49849         * sysdeps/x86/fpu/powl_helper.c: New file.
49850         * sysdeps/x86/fpu/Makefile: Likewise.
49851         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49852         (p3): New object.
49853         (__ieee754_powl): Use __powl_helper for finite arguments except
49854         integer exponents below 8.
49855         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49856         (p3): New object.
49857         (__ieee754_powl): Use __powl_helper for finite arguments except
49858         integer exponents below 8.
49859         * math/libm-test.inc (pow_test): Add more tests and enable some
49860         previously disabled tests.
49861         * sysdeps/i386/fpu/libm-test-ulps: Update.
49862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49864 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49865             Carlos O'Donell  <carlos_odonell@mentor.com>
49867         * nss/makedb.c (is_prime): Assert that input is odd and greater
49868         than 4.  Note that fact in a comment too.
49869         (next_prime): Add 4 to input.
49871 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49873         [BZ #11741]
49874         * libio/Makefile (tests): Add test case tst-fwrite-error.
49875         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49876         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49877         * libio/tst-fwrite-error.c: New test case.
49879 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49881         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49882         before casting to void *.
49883         * include/libc-internal.h (__pointer_type): New macro.
49884         (__integer_if_pointer_type_sub): Likewise.
49885         (__integer_if_pointer_type): Likewise.
49886         (cast_to_integer): Likewise.
49887         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49888         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49889         before casting to atomic64_t.
49890         (atomic_exchange_acq): Likewise.
49891         (__arch_exchange_and_add_body): Likewise.
49892         (__arch_add_body): Likewise.
49893         (atomic_add_negative): Likewise.
49894         (atomic_add_zero): Likewise.
49896 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49898         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49899         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49900         (add_fdes): Likewise.
49901         (linear_search_fdes): Likewise.
49902         (binary_search_unencoded_fdes): Likewise.
49904 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49906         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49908 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49910         * configure.in: Autodetect C++ header directories.
49911         * configure: Regenerated.
49913 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49915         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49917 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49921 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49923         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49924         LDBL_MANT_DIG == 106]: Disable some tests.
49925         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49926         Likewise.
49927         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49928         Likewise.
49930         [BZ #14871]
49931         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49932         input for small inputs.  Return +/- pi/2 for large inputs.
49933         * math/libm-test.inc (atan_test): Add more tests.
49935         * sysdeps/generic/unwind-dw2-fde-glibc.c
49936         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49937         __attribute__ ((unused)).
49939         [BZ #14645]
49940         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49941         x * y if x and y are nonzero and z is zero.
49943         [BZ #14811]
49944         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49945         nonzero exponents with absolute value below 0x1p-117 to +/-
49946         0x1p-117.
49948         [BZ #14869]
49949         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49950         up arguments below 2**-450, not just those below 2**-500.
49951         * math/libm-test.inc (hypot_test): Add another test.
49953         [BZ #14868]
49954         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49955         Return a+b for ratio over 2**120, not 2**60.
49956         * math/libm-test.inc (hypot_test): Add another test.
49958         * math/libm-test.inc (clog_test): Use
49959         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49960         (clog10_test): Likewise.
49962         [BZ #6778]
49963         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49965 2012-11-22  Andreas Schwab  <schwab@suse.de>
49967         * sysdeps/i386/fpu/libm-test-ulps: Update.
49969 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49971         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49972         printf output with newline.
49974 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49976         [BZ #14865]
49977         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49978         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49979         -z nodlopen, -z initfirst and -z execstack support.
49980         * configure: Regenerated.
49982         * elf/elf.h (DF_1_NODIRECT): New macro.
49983         (DF_1_IGNMULDEF): Likewise.
49984         (DF_1_NOKSYMS): Likewise.
49985         (DF_1_NOHDR): Likewise.
49986         (DF_1_EDITED): Likewise.
49987         (DF_1_NORELOC): Likewise.
49988         (DF_1_SYMINTPOSE): Likewise.
49989         (DF_1_GLOBAUDIT): Likewise.
49990         (DF_1_SINGLETON): Likewise.
49991         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49992         DT_1_SUPPORTED_MASK bits.
49993         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49995 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49997         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49999 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50001         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50002         macro.
50004         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50005         (sendmmsg): Move declarations...
50006         * socket/sys/socket.h: ... here.
50007         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50008         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50009         include it from...
50010         * socket/recvmmsg.c: ... this new file.
50011         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50012         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50013         definition of __sendmmsg hidden.
50014         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50015         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50016         Move ENOSYS stub into and include it from...
50017         * socket/sendmmsg.c: ... this new file.
50018         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50019         (sysdep_routines): Move recvmmsg and sendmmsg...
50020         * socket/Makefile (routines): ... here.
50021         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50022         (GLIBC_PRIVATE): Add __sendmmsg.
50023         * include/sys/socket.h (__sendmmsg): Add declarations.
50024         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50025         sendmmsg.
50027 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50029         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50030         variable I1 with __attribute__ ((unused)).
50031         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50033 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50035         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50036         DUMMY variables with __attribute__ ((unused)).
50038         * bits/byteswap.h: Include <bits/types.h>.
50039         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50041 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50043         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50044         string_t.  Do not manually set errno.
50045         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50046         length with __strnlen.  Make sure to both set errno and return it on
50047         failure.
50049 2012-11-19  David S. Miller  <davem@davemloft.net>
50051         With help from Joseph Myers.
50052         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50053         very large arguments properly.
50054         * math/libm-test.inc (atan_test): New tests.
50055         (atan2_test): New tests.
50056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50059 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50061         [BZ #14856]
50062         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50063         Define to 3.
50065         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50066         [POSIX] (EADDRNOTAVAIL): Likewise.
50067         [POSIX] (EAFNOSUPPORT): Likewise.
50068         [POSIX] (EALREADY): Likewise.
50069         [POSIX] (ECONNABORTED): Likewise.
50070         [POSIX] (ECONNREFUSED): Likewise.
50071         [POSIX] (ECONNRESET): Likewise.
50072         [POSIX] (EDESTADDRREQ): Likewise.
50073         [POSIX] (EDQUOT): Likewise.
50074         [POSIX] (EHOSTUNREACH): Likewise.
50075         [POSIX] (EIDRM): Likewise.
50076         [POSIX] (EISCONN): Likewise.
50077         [POSIX] (ELOOP): Likewise.
50078         [POSIX] (EMULTIHOP): Likewise.
50079         [POSIX] (ENETDOWN): Likewise.
50080         [POSIX] (ENETUNREACH): Likewise.
50081         [POSIX] (ENOBUFS): Likewise.
50082         [POSIX] (ENODATA): Likewise.
50083         [POSIX] (ENOLINK): Likewise.
50084         [POSIX] (ENOMSG): Likewise.
50085         [POSIX] (ENOPROTOOPT): Likewise.
50086         [POSIX] (ENOSR): Likewise.
50087         [POSIX] (ENOSTR): Likewise.
50088         [POSIX] (ENOTCONN): Likewise.
50089         [POSIX] (ENOTSOCK): Likewise.
50090         [POSIX] (EOPNOTSUPP): Likewise.
50091         [POSIX] (EOVERFLOW): Likewise.
50092         [POSIX] (EPROTO): Likewise.
50093         [POSIX] (EPROTONOSUPPORT): Likewise.
50094         [POSIX] (EPROTOTYPE): Likewise.
50095         [POSIX] (ESTALE): Likewise.
50096         [POSIX] (ETIME): Likewise.
50097         [POSIX] (ETXTBSY): Likewise.
50098         [POSIX] (EWOULDBLOCK): Likewise.
50099         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50100         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50101         [POSIX] (SEEK_CUR): Likewise.
50102         [POSIX] (SEEK_END): Likewise.
50103         [POSIX || UNIX98] (mode_t): Do not require.
50104         [POSIX] (off_t): Likewise.
50105         [POSIX] (pid_t): Likewise.
50106         [POSIX] (sys/stat.h): Do not allow header.
50107         [POSIX] (unistd.h): Likewise.
50108         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50109         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50110         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50111         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50112         require.
50113         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50114         sigevent): Specify elements.
50115         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50116         entry.
50117         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50118         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50120         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50121         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50122         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50123         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50124         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50125         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50126         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50127         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50128         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50129         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50130         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50131         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50132         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50133         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50134         Likewise.
50135         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50136         Likewise.
50137         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50138         Likewise.
50139         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50140         Likewise.
50141         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50142         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50143         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50144         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50145         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50146         Specify lower bound on value.
50147         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50148         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50149         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50150         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50151         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50152         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50153         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50154         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50155         value.
50156         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50157         as optional.
50158         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50159         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50160         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50161         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50162         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50163         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50164         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50165         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50166         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50167         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50168         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50169         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50170         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50171         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50172         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50173         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50174         entry.
50175         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50176         optional.
50177         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50178         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50179         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50180         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50181         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50182         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50183         Likewise.
50184         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50185         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50186         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50187         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50188         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50189         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50190         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50191         as optional.
50192         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50193         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50194         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50195         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50196         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50197         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50198         specify as optional.
50199         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50200         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50201         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50202         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50203         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50204         [XPG3] (NL_LANGMAX): Likewise.
50205         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50206         [POSIX || XPG3] (NL_NMAX): Likewise.
50207         [POSIX || XPG3] (NL_SETMAX): Likewise.
50208         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50209         [XPG3] (NZERO): Likewise.
50210         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50211         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50212         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50213         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50214         (REG_ERANGE): Expect.
50215         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50216         optional-constant.
50217         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50218         Use (void) in prototype.
50219         [POSIX] (*_t): Allow.
50220         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50221         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50222         (WRDE_BADVAL): Expect.
50224         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50225         expect.
50226         [XPG3 || XPG4] (O_RSYNC): Likewise.
50227         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50228         Likewise.
50229         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50230         [XPG3 || XPG4] (sigqueue): Likewise.
50231         [XPG3 || XPG4] (sigtimedwait): Likewise.
50232         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50233         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50234         [XPG3 || XPG4] (vsnprintf): Likewise.
50235         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50236         Likewise.
50237         [XPG3 || XPG4] (blksize_t): Likewise.
50238         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50239         Likewise.
50240         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50241         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50242         [XPG3 || XPG4] (struct itimerspec): Likewise.
50243         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50244         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50245         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50246         [XPG3 || XPG4] (clockid_t): Likewise.
50247         [XPG3 || XPG4] (timer_t): Likewise.
50248         [XPG3 || XPG4] (clock_getres): Likewise.
50249         [XPG3 || XPG4] (clock_gettime): Likewise.
50250         [XPG3 || XPG4] (clock_settime): Likewise.
50251         [XPG3 || XPG4] (nanosleep): Likewise.
50252         [XPG3 || XPG4] (timer_create): Likewise.
50253         [XPG3 || XPG4] (timer_delete): Likewise.
50254         [XPG3 || XPG4] (timer_gettime): Likewise.
50255         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50256         [XPG3 || XPG4] (timer_settime): Likewise.
50257         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50258         [XPG3 || XPG4] (getlogin_r): Likewise.
50259         [XPG3 || XPG4] (pread): Likewise.
50260         [XPG3 || XPG4] (pthread_atfork): Likewise.
50261         [XPG3 || XPG4] (pwrite): Likewise.
50263         [BZ #14835]
50264         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50265         <bits/siginfo.h>.
50267 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50269         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50270         finalizing MALLSTREAM.
50272         * sysdeps/mach/hurd/syncfs.c: New file.
50274 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50276         [BZ #14719]
50277         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50278         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50279         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50280         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50281         (_nss_dns_gethostbyname4_r): Likewise.
50282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50283         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50285 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50287         [BZ #13763]
50288         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50290 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50292         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50293         * elf/cache.c (print_entry): Print ",AArch64" for
50294         FLAG_AARCH64_LIB64
50296         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50297         * elf/cache.c (print_entry): Print ",hard-float" for
50298         FLAG_ARM_LIBHF.
50300 2012-11-18  David S. Miller  <davem@davemloft.net>
50302         With help from Joseph Myers.
50303         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50304         cutoff to 2**-13.
50305         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50306         cutoff to 2**-25.
50307         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50308         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50309         small.
50310         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50311         * math/libm-test.inc (y0_test): New tests.
50312         (y1_test): New tests.
50313         * sysdeps/i386/fpu/libm-test-ulps: Update.
50314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50317 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50319         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50320         64-bit targets.
50321         * configure: Regenerated.
50323 2012-11-17  David S. Miller  <davem@davemloft.net>
50325         [BZ #14811]
50326         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50327         nonzero exponents with absolute value below 0x1p-128 to +/-
50328         0x1p-128.
50330 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50332         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50334         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50336         * posix/getconf-speclist.c: New file.
50337         * posix/posix-envs.def: Likewise.
50338         * posix/confstr.c (START_ENV_GROUP): New macro.
50339         (END_ENV_GROUP): Likewise.
50340         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50341         (KNOWN_PRESENT_ENV_STRING): Likewise.
50342         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50343         (UNKNOWN_ENVIRONMENT): Likewise.
50344         (confstr): Include posix-envs.def instead of handling
50345         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50346         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50347         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50348         (END_ENV_GROUP): Likewise.
50349         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50350         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50351         (UNKNOWN_ENVIRONMENT): Likewise.
50352         (__sysconf): Include posix-envs.def instead of handling associated
50353         cases directly here.
50354         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50355         preprocessing getconf-speclist.c rather than running getconf or
50356         generating empty file.
50358 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50360         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50362 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50364         [BZ #14672]
50365         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50367 2012-11-16  David S. Miller  <davem@davemloft.net>
50369         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50370         smaller than LDBL_EPSILON/2.0L, just return xm1.
50372 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50374         * elf/tst-array1.c (init): Set constructor priority to 1000.
50375         (fini): Set destructor priority to 1000.
50376         * elf/tst-array2dep.c: Likewise.
50378 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50380         [BZ #11741]
50381         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50382         (_IO_new_file_xsputn): Also return EOF if none of the input
50383         data was written when overflow failed.
50384         * libio/iopadn.c (_IO_padn): Likewise.
50385         * libio/iowpadn.c (_IO_wpadn): Likewise.
50386         * stdio-common/tst-put-error.c: Add copyright notice.
50387         (do_test): Add case for printing padded string.
50388         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50389         _IO_padn returned error.
50390         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50391         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50392         return EOF.
50394 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50396         * libio/libioP.h: Add comment note that the references to C++
50397         bits are now obsolete.
50399 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50401         * math/libm-test.inc (check_complex): Use asprintf.
50403 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50405         * debug/pcprofiledump.c (print_version): Update copyright year.
50406         * malloc/memusagestat.c (print_version): Likewise.
50408 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50410         [BZ #14831]
50411         * elf/Makefile (tests): Add tst-audit8.
50412         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50413         ($(objpfx)tst-audit8.out): New target.
50414         (tst-audit8-ENV): New variable.
50415         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50416         audit if l_reloc_result is NULL.
50417         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50418         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50419         * elf/tst-audit8.c: New file.
50421 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50423         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50424         * misc/Makefile (CFLAGS-select.c): Define.
50425         * posix/Makefile (CFLAGS-pause.c): Define.
50427 2012-11-13  David S. Miller  <davem@davemloft.net>
50429         * crypt/Makefile: Move test targets after toplevel Rules
50430         inclusion.  Grab any necessary sysdep routines when linking.
50431         * crypt/md5.c (md5_process_block): Remove define, we will always
50432         name it __md5_process_block.
50433         (md5_finish_ctx): Update md5_process_block call.
50434         (md5_stream): Likewise.
50435         (md5_process_bytes): Likewise.
50436         (md5_process_block): Rename to __md5_process_block and move to ...
50437         * crypt/md5-block.c: ... here.
50438         * crypt/sha256.c (sha256_process_block): Move to ...
50439         * crypt/sha256-block.c: ... here.
50440         * crypt/sha512.c (sha512_process_block): Move to ...
50441         * crypt/sha512-block.c: ... here.
50442         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50443         path.
50444         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50445         * sysdeps/sparc/sparc64/multiarch/Makefile
50446         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50447         crypt subdir.
50448         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50449         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50450         multiarch changes.
50451         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50452         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50453         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50454         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50455         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50456         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50457         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50458         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50459         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50460         file.
50461         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50462         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50463         file.
50464         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50466 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50468         * timezone/tzselect.ksh: Update from tzcode git revision
50469         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50470         * timezone/zdump.c: Likewise.
50471         * timezone/zic.c: Likewise.
50472         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50473         in TZVERSION setting, not $(PKGVERSION).
50474         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50475         REPORT_BUGS_TO settings.
50477         [BZ #14838]
50478         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50479         macro.
50481 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50483         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50484         detection to immediately after _FP_ROUND().
50485         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50486         bits are 0.
50488 2012-11-11  David S. Miller  <davem@davemloft.net>
50490         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50491         inttypes.h
50492         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50493         __close rather than their public counterparts.
50495 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50497         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50498         file.
50499         [UNIX98] (sem_timedwait): Do not expect.
50500         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50501         [XPG4 || UNIX98] (sockatmark): Do not expect.
50502         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50503         (clock_getcpuclockid): Do not expect.
50504         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50505         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50506         Do not expect.
50507         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50508         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50509         [UNIX98] (vwscanf): Likewise.
50510         [UNIX98] (vswscanf): Likewise.
50512 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50514         * timezone/version.h: Remove file.
50515         * timezone/README: Do not refer to version.h.
50516         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50517         $(objpfx)version.h.
50518         ($(objpfx)zdump.o): Likewise.
50519         ($(objpfx)version.h): New target.
50521         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50522         2012i.
50523         * timezone/README: Don't mention modification to tzselect.ksh.
50524         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50525         work on unmodified tzselect.ksh.  Substitute version numbers in
50526         tzselect.ksh.
50528         * Makefile (format-me): Remove.
50529         (INSTALL): Adjust indentation.  Use commands directly instead of
50530         using $(format-me).
50532         * aclocal.m4 (ACX_PKGVERSION): New macro.
50533         (ACX_BUGURL): Likewise.
50534         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50535         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50536         (REPORT_BUGS_TO): Likewise.
50537         * configure: Regenerated.
50538         * config.h.in (PKGVERSION): New macro.
50539         (REPORT_BUGS_TO): Likewise.
50540         * config.make.in (PKGVERSION): New variable.
50541         (PKGVERSION_TEXI): Likewise.
50542         (REPORT_BUGS_TO): Likewise.
50543         (REPORT_BUGS_TEXI): Likewise.
50544         * Makefile (format-me): Use -I$(common-objpfx)manual.
50545         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50546         ($(common-objpfx)manual/%): New target.
50547         (manual/%): Remove target.
50548         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50549         (print_version): Use PKGVERSION.
50550         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50551         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50552         and REPORT_BUGS_TO.
50553         ($(objpfx)xtrace): Likewise.
50554         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50555         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50556         (print_version): Use PKGVERSION.
50557         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50558         (do_version): Use PKGVERSION.
50559         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50560         REPORT_BUGS_TO.
50561         (common-ldd-rewrite): Likewise.
50562         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50563         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50564         (print_version): Use PKGVERSION.
50565         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50566         * elf/pldd.c (argp_program_bug_address): Remove variable.
50567         (more_help): New function.
50568         (argp): Use more_help.
50569         (print_version): Use PKGVERSION.
50570         * elf/sln.c (main): Use PKGVERSION.
50571         (usage): Use REPORT_BUGS_TO.
50572         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50573         (top level): Use PKGVERSION.
50574         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50575         (print_version): Use PKGVERSION.
50576         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50577         (print_version): Use PKGVERSION.
50578         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50579         (print_version): Use PKGVERSION.
50580         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50581         (print_version): Use PKGVERSION.
50582         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50583         (print_version): Use PKGVERSION.
50584         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50585         (print_version): Use PKGVERSION.
50586         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50587         and BUGURL.
50588         ($(objpfx)memusage): Likewise.
50589         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50590         (do_version): Use PKGVERSION.
50591         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50592         (print_version): Use PKGVERSION.
50593         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50594         ($PKGVERSION): New variable.
50595         ($REPORT_BUGS_TO): Likewise.
50596         (usage): Use $REPORT_BUGS_TO.
50597         (top level): Use $PKGVERSION.
50598         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50599         ($(objpfx)pkgvers.texi): New rule.
50600         ($(objpfx)stamp-pkgvers): Likewise.
50601         * manual/install.texi: Include pkgvers.texi.
50602         (--with-pkgversion): Document new configure option.
50603         (--with-bugurl): Likewise.
50604         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50605         than necessarily for this particular distribution.  Use
50606         REPORT_BUGS_TO for where to report bugs.
50607         * INSTALL: Regenerated.
50608         * manual/libc.texinfo: Include pkgvers.texi.
50609         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50610         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50611         (print_version): Use PKGVERSION.
50612         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50613         (print_version): Use PKGVERSION.
50614         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50615         (print_version): Use PKGVERSION.
50616         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50617         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50618         macro.
50619         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50620         (print_version): Use PKGVERSION.
50621         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50622         (print_version): Use PKGVERSION.
50623         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50624         and PKGVERSION.
50626         * timezone/checktab.awk: Update from tzcode 2012i.
50627         * timezone/ialloc.c: Likewise.
50628         * timezone/private.h: Likewise.
50629         * timezone/scheck.c: Likewise.
50630         * timezone/tzfile.h: Likewise.
50631         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50632         (TZVERSION): Hardcode tzcode version number.
50633         * timezone/zdump.c: Update from tzcode 2012i.
50634         * timezone/zic.c: Likewise.
50635         * timezone/version.h: New file.
50636         * timezone/README: Describe version.h.  Update upstream location.
50638         [BZ #14824]
50639         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50640         (mktemp): Enable declaration.
50641         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50642         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50643         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50644         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50645         Likewise.
50646         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50647         Likewise.
50648         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50649         Likewise.
50650         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50651         Likewise.
50652         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50653         Likewise.
50654         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50655         Likewise.
50657         [BZ #14821]
50658         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50659         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50660         for copies of such integer values.
50661         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50662         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50664 2012-11-09  Andreas Jaeger  <aj@suse.de>
50666         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50667         definitions and declarations that are provided by
50668         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50670 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50672         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50673         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50674         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50675         definition.
50677 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50679         * elf/elf.h: Update comment before AArch64 relocations.
50681 2012-11-07  David S. Miller  <davem@davemloft.net>
50683         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50684         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50685         (__start_context): Declare.
50686         (__makecontext_ret): Delete.
50687         (__makecontext): Hook up __start_context instead of
50688         __makecontext_ret.
50689         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50690         (sysdep_routines): Add __start_context when in stdlib.
50692 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50694         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50695         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50696         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50697         hardcoded "nm".
50698         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50699         (READELF): New variable.  Use it instead of hardcoded "readelf".
50701 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50703         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50704         * sysdeps/x86/Makefile: Here.
50705         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50706         * sysdeps/x86/tst-xmmymm.sh: This.
50708 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50710         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50711         expectations.
50712         [UNIX98] (pthread_barrier_t): Do not expect.
50713         [UNIX98] (pthread_barrierattr_t): Likewise.
50714         [UNIX98] (pthread_spinlock_t): Likewise.
50715         [UNIX98] (pthread_barrier_destroy): Likewise.
50716         [UNIX98] (pthread_barrier_init): Likewise.
50717         [UNIX98] (pthread_barrier_wait): Likewise.
50718         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50719         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50720         [UNIX98] (pthread_barrierattr_init): Likewise.
50721         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50722         [UNIX98] (pthread_getcpuclockid): Likewise.
50723         [UNIX98] (pthread_mutex_timedlock): Likewise.
50724         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50725         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50726         [UNIX98] (pthread_sigmask): Likewise.
50727         [UNIX98] (pthread_spin_destroy): Likewise.
50728         [UNIX98] (pthread_spin_init): Likewise.
50729         [UNIX98] (pthread_spin_lock): Likewise.
50730         [UNIX98] (pthread_spin_trylock): Likewise.
50731         [UNIX98] (pthread_spin_unlock): Likewise.
50732         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50733         Do not expect.
50734         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50735         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50736         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50737         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50738         [XPG3 || XPG4] (pthread_key_t): Likewise.
50739         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50740         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50741         [XPG3 || XPG4] (pthread_once_t): Likewise.
50742         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50743         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50744         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50745         [XPG3 || XPG4] (pthread_t): Likewise.
50747         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50748         not expect.
50749         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50751         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50752         Change function return type to int.
50754         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50755         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50756         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50757         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50758         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50759         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50760         [!POSIX] (posix_madvise): Likewise.
50761         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50762         && !UNIX98].
50763         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50764         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50765         (mode_t): Likewise.
50766         (posix_mem_offset): Likewise.
50767         (posix_typed_mem_get_info): Likewise.
50768         (posix_typed_mem_open): Likewise.
50770         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50771         Change condition to [XOPEN2K8].
50773         * conform/conformtest.pl: Preprocess allow-header data with -x c
50774         instead of from stdin.
50775         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50776         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50777         [C99-based standards] (cerfc): Likewise.
50778         [C99-based standards] (cexp2): Likewise.
50779         [C99-based standards] (cexpm1): Likewise.
50780         [C99-based standards] (clog10): Likewise.
50781         [C99-based standards] (clog1p): Likewise.
50782         [C99-based standards] (clog2): Likewise.
50783         [C99-based standards] (clgamma): Likewise.
50784         [C99-based standards] (ctgamma): Likewise.
50785         [C99-based standards] (cerff): Likewise.
50786         [C99-based standards] (cerfcf): Likewise.
50787         [C99-based standards] (cexp2f): Likewise.
50788         [C99-based standards] (cexpm1f): Likewise.
50789         [C99-based standards] (clog10f): Likewise.
50790         [C99-based standards] (clog1pf): Likewise.
50791         [C99-based standards] (clog2f): Likewise.
50792         [C99-based standards] (clgammaf): Likewise.
50793         [C99-based standards] (ctgammaf): Likewise.
50794         [C99-based standards] (cerfl): Likewise.
50795         [C99-based standards] (cerfcl): Likewise.
50796         [C99-based standards] (cexp2l): Likewise.
50797         [C99-based standards] (cexpm1l): Likewise.
50798         [C99-based standards] (clog10l): Likewise.
50799         [C99-based standards] (clog1pl): Likewise.
50800         [C99-based standards] (clog2l): Likewise.
50801         [C99-based standards] (clgammal): Likewise.
50802         [C99-based standards] (ctgammal): Likewise.
50803         * conform/data/inttypes.h-data [C99-based standards]: Include
50804         stdint.h-data.  Remove all expectations for stdint.h contents.
50805         [C99-based standards] (PRI*): Do not allow.
50806         [C99-based standards] (SCN*): Likewise.
50807         [C99-based standards] (*_t): Likewise.
50808         [C99-based-standards] (PRId8): Expect macro.
50809         [C99-based-standards] (PRIi8): Likewise.
50810         [C99-based-standards] (PRIo8): Likewise.
50811         [C99-based-standards] (PRIu8): Likewise.
50812         [C99-based-standards] (PRIx8): Likewise.
50813         [C99-based-standards] (PRIX8): Likewise.
50814         [C99-based-standards] (SCNd8): Likewise.
50815         [C99-based-standards] (SCNi8): Likewise.
50816         [C99-based-standards] (SCNo8): Likewise.
50817         [C99-based-standards] (SCNu8): Likewise.
50818         [C99-based-standards] (SCNx8): Likewise.
50819         [C99-based-standards] (PRIdLEAST8): Likewise.
50820         [C99-based-standards] (PRIiLEAST8): Likewise.
50821         [C99-based-standards] (PRIoLEAST8): Likewise.
50822         [C99-based-standards] (PRIuLEAST8): Likewise.
50823         [C99-based-standards] (PRIxLEAST8): Likewise.
50824         [C99-based-standards] (PRIXLEAST8): Likewise.
50825         [C99-based-standards] (SCNdLEAST8): Likewise.
50826         [C99-based-standards] (SCNiLEAST8): Likewise.
50827         [C99-based-standards] (SCNoLEAST8): Likewise.
50828         [C99-based-standards] (SCNuLEAST8): Likewise.
50829         [C99-based-standards] (SCNxLEAST8): Likewise.
50830         [C99-based-standards] (PRIdFAST8): Likewise.
50831         [C99-based-standards] (PRIiFAST8): Likewise.
50832         [C99-based-standards] (PRIoFAST8): Likewise.
50833         [C99-based-standards] (PRIuFAST8): Likewise.
50834         [C99-based-standards] (PRIxFAST8): Likewise.
50835         [C99-based-standards] (PRIXFAST8): Likewise.
50836         [C99-based-standards] (SCNdFAST8): Likewise.
50837         [C99-based-standards] (SCNiFAST8): Likewise.
50838         [C99-based-standards] (SCNoFAST8): Likewise.
50839         [C99-based-standards] (SCNuFAST8): Likewise.
50840         [C99-based-standards] (SCNxFAST8): Likewise.
50841         [C99-based-standards] (PRId16): Likewise.
50842         [C99-based-standards] (PRIi16): Likewise.
50843         [C99-based-standards] (PRIo16): Likewise.
50844         [C99-based-standards] (PRIu16): Likewise.
50845         [C99-based-standards] (PRIx16): Likewise.
50846         [C99-based-standards] (PRIX16): Likewise.
50847         [C99-based-standards] (SCNd16): Likewise.
50848         [C99-based-standards] (SCNi16): Likewise.
50849         [C99-based-standards] (SCNo16): Likewise.
50850         [C99-based-standards] (SCNu16): Likewise.
50851         [C99-based-standards] (SCNx16): Likewise.
50852         [C99-based-standards] (PRIdLEAST16): Likewise.
50853         [C99-based-standards] (PRIiLEAST16): Likewise.
50854         [C99-based-standards] (PRIoLEAST16): Likewise.
50855         [C99-based-standards] (PRIuLEAST16): Likewise.
50856         [C99-based-standards] (PRIxLEAST16): Likewise.
50857         [C99-based-standards] (PRIXLEAST16): Likewise.
50858         [C99-based-standards] (SCNdLEAST16): Likewise.
50859         [C99-based-standards] (SCNiLEAST16): Likewise.
50860         [C99-based-standards] (SCNoLEAST16): Likewise.
50861         [C99-based-standards] (SCNuLEAST16): Likewise.
50862         [C99-based-standards] (SCNxLEAST16): Likewise.
50863         [C99-based-standards] (PRIdFAST16): Likewise.
50864         [C99-based-standards] (PRIiFAST16): Likewise.
50865         [C99-based-standards] (PRIoFAST16): Likewise.
50866         [C99-based-standards] (PRIuFAST16): Likewise.
50867         [C99-based-standards] (PRIxFAST16): Likewise.
50868         [C99-based-standards] (PRIXFAST16): Likewise.
50869         [C99-based-standards] (SCNdFAST16): Likewise.
50870         [C99-based-standards] (SCNiFAST16): Likewise.
50871         [C99-based-standards] (SCNoFAST16): Likewise.
50872         [C99-based-standards] (SCNuFAST16): Likewise.
50873         [C99-based-standards] (SCNxFAST16): Likewise.
50874         [C99-based-standards] (PRId32): Likewise.
50875         [C99-based-standards] (PRIi32): Likewise.
50876         [C99-based-standards] (PRIo32): Likewise.
50877         [C99-based-standards] (PRIu32): Likewise.
50878         [C99-based-standards] (PRIx32): Likewise.
50879         [C99-based-standards] (PRIX32): Likewise.
50880         [C99-based-standards] (SCNd32): Likewise.
50881         [C99-based-standards] (SCNi32): Likewise.
50882         [C99-based-standards] (SCNo32): Likewise.
50883         [C99-based-standards] (SCNu32): Likewise.
50884         [C99-based-standards] (SCNx32): Likewise.
50885         [C99-based-standards] (PRIdLEAST32): Likewise.
50886         [C99-based-standards] (PRIiLEAST32): Likewise.
50887         [C99-based-standards] (PRIoLEAST32): Likewise.
50888         [C99-based-standards] (PRIuLEAST32): Likewise.
50889         [C99-based-standards] (PRIxLEAST32): Likewise.
50890         [C99-based-standards] (PRIXLEAST32): Likewise.
50891         [C99-based-standards] (SCNdLEAST32): Likewise.
50892         [C99-based-standards] (SCNiLEAST32): Likewise.
50893         [C99-based-standards] (SCNoLEAST32): Likewise.
50894         [C99-based-standards] (SCNuLEAST32): Likewise.
50895         [C99-based-standards] (SCNxLEAST32): Likewise.
50896         [C99-based-standards] (PRIdFAST32): Likewise.
50897         [C99-based-standards] (PRIiFAST32): Likewise.
50898         [C99-based-standards] (PRIoFAST32): Likewise.
50899         [C99-based-standards] (PRIuFAST32): Likewise.
50900         [C99-based-standards] (PRIxFAST32): Likewise.
50901         [C99-based-standards] (PRIXFAST32): Likewise.
50902         [C99-based-standards] (SCNdFAST32): Likewise.
50903         [C99-based-standards] (SCNiFAST32): Likewise.
50904         [C99-based-standards] (SCNoFAST32): Likewise.
50905         [C99-based-standards] (SCNuFAST32): Likewise.
50906         [C99-based-standards] (SCNxFAST32): Likewise.
50907         [C99-based-standards] (PRId64): Likewise.
50908         [C99-based-standards] (PRIi64): Likewise.
50909         [C99-based-standards] (PRIo64): Likewise.
50910         [C99-based-standards] (PRIu64): Likewise.
50911         [C99-based-standards] (PRIx64): Likewise.
50912         [C99-based-standards] (PRIX64): Likewise.
50913         [C99-based-standards] (SCNd64): Likewise.
50914         [C99-based-standards] (SCNi64): Likewise.
50915         [C99-based-standards] (SCNo64): Likewise.
50916         [C99-based-standards] (SCNu64): Likewise.
50917         [C99-based-standards] (SCNx64): Likewise.
50918         [C99-based-standards] (PRIdLEAST64): Likewise.
50919         [C99-based-standards] (PRIiLEAST64): Likewise.
50920         [C99-based-standards] (PRIoLEAST64): Likewise.
50921         [C99-based-standards] (PRIuLEAST64): Likewise.
50922         [C99-based-standards] (PRIxLEAST64): Likewise.
50923         [C99-based-standards] (PRIXLEAST64): Likewise.
50924         [C99-based-standards] (SCNdLEAST64): Likewise.
50925         [C99-based-standards] (SCNiLEAST64): Likewise.
50926         [C99-based-standards] (SCNoLEAST64): Likewise.
50927         [C99-based-standards] (SCNuLEAST64): Likewise.
50928         [C99-based-standards] (SCNxLEAST64): Likewise.
50929         [C99-based-standards] (PRIdFAST64): Likewise.
50930         [C99-based-standards] (PRIiFAST64): Likewise.
50931         [C99-based-standards] (PRIoFAST64): Likewise.
50932         [C99-based-standards] (PRIuFAST64): Likewise.
50933         [C99-based-standards] (PRIxFAST64): Likewise.
50934         [C99-based-standards] (PRIXFAST64): Likewise.
50935         [C99-based-standards] (SCNdFAST64): Likewise.
50936         [C99-based-standards] (SCNiFAST64): Likewise.
50937         [C99-based-standards] (SCNoFAST64): Likewise.
50938         [C99-based-standards] (SCNuFAST64): Likewise.
50939         [C99-based-standards] (SCNxFAST64): Likewise.
50940         [C99-based-standards] (PRIdMAX): Likewise.
50941         [C99-based-standards] (PRIiMAX): Likewise.
50942         [C99-based-standards] (PRIoMAX): Likewise.
50943         [C99-based-standards] (PRIuMAX): Likewise.
50944         [C99-based-standards] (PRIxMAX): Likewise.
50945         [C99-based-standards] (PRIXMAX): Likewise.
50946         [C99-based-standards] (SCNdMAX): Likewise.
50947         [C99-based-standards] (SCNiMAX): Likewise.
50948         [C99-based-standards] (SCNoMAX): Likewise.
50949         [C99-based-standards] (SCNuMAX): Likewise.
50950         [C99-based-standards] (SCNxMAX): Likewise.
50951         [C99-based-standards] (PRIdPTR): Likewise.
50952         [C99-based-standards] (PRIiPTR): Likewise.
50953         [C99-based-standards] (PRIoPTR): Likewise.
50954         [C99-based-standards] (PRIuPTR): Likewise.
50955         [C99-based-standards] (PRIxPTR): Likewise.
50956         [C99-based-standards] (PRIXPTR): Likewise.
50957         [C99-based-standards] (SCNdPTR): Likewise.
50958         [C99-based-standards] (SCNiPTR): Likewise.
50959         [C99-based-standards] (SCNoPTR): Likewise.
50960         [C99-based-standards] (SCNuPTR): Likewise.
50961         [C99-based-standards] (SCNxPTR): Likewise.
50962         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50963         allow.
50964         * conform/data/stdint.h-data: Update comments to clarify
50965         requirements.
50966         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50967         type.
50968         [C99-based standards] (INT8_MAX): Likewise.
50969         [C99-based standards] (INT16_MIN): Likewise.
50970         [C99-based standards] (INT16_MAX): Likewise.
50971         [C99-based standards] (INT32_MIN): Likewise.
50972         [C99-based standards] (INT32_MAX): Likewise.
50973         [C99-based standards] (INT64_MIN): Likewise.
50974         [C99-based standards] (INT64_MAX): Likewise.
50975         [C99-based standards] (UINT8_MAX): Likewise.
50976         [C99-based standards] (UINT16_MAX): Likewise.
50977         [C99-based standards] (UINT32_MAX): Likewise.
50978         [C99-based standards] (UINT64_MAX): Likewise.
50979         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50980         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50981         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50982         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50983         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50984         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50985         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50986         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50987         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50988         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50989         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50990         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50991         [C99-based standards] (INT_FAST8_MIN): Likewise.
50992         [C99-based standards] (INT_FAST8_MAX): Likewise.
50993         [C99-based standards] (INT_FAST16_MIN): Likewise.
50994         [C99-based standards] (INT_FAST16_MAX): Likewise.
50995         [C99-based standards] (INT_FAST32_MIN): Likewise.
50996         [C99-based standards] (INT_FAST32_MAX): Likewise.
50997         [C99-based standards] (INT_FAST64_MIN): Likewise.
50998         [C99-based standards] (INT_FAST64_MAX): Likewise.
50999         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51000         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51001         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51002         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51003         [C99-based standards] (INTPTR_MIN): Likewise.
51004         [C99-based standards] (INTPTR_MAX): Likewise.
51005         [C99-based standards] (UINTPTR_MAX): Likewise.
51006         [C99-based standards] (INTMAX_MIN): Likewise.
51007         [C99-based standards] (INTMAX_MAX): Likewise.
51008         [C99-based standards] (UINTMAX_MAX): Likewise.
51009         [C99-based standards] (PTRDIFF_MIN): Likewise.
51010         [C99-based standards] (PTRDIFF_MAX): Likewise.
51011         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51012         [C99-based standards] (SIZE_MAX): Likewise.
51013         [C99-based standards] (WCHAR_MAX): Likewise.
51014         [C99-based standards] (WINT_MAX): Likewise.
51015         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51016         constraint on value.
51017         [C99-based standards] (WCHAR_MIN): Likewise.
51018         [C99-based standards] (WINT_MIN): Likewise.
51019         [C99-based standards] (*_t): Allow.
51020         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51021         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51022         Include math.h-data and complex.h-data.  Remove all expectations
51023         of math.h and complex.h contents.
51024         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51025         at end of line.
51026         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51027         (struct tm): Expect tag.
51028         [C99-based-standards] (wcstof): Expect function.
51029         [C99-based-standards] (wcstold): Likewise.
51030         [C99-based-standards] (wcstoll): Likewise.
51031         [C99-based-standards] (wcstoull): Likewise.
51032         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51033         macro-int-constant.  Specify type.
51034         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51035         constraint on value.
51036         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51037         Specify type.
51038         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51039         Specify value.
51040         [ISO C standards]: Do not allow headers.
51041         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51042         wcs[abcdefghijklmnopqrstuvwxyz]*.
51043         [ISO C standards] (*_t): Do not allow.
51044         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51045         Expect function.
51046         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51047         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51048         Specify type.
51049         [ISO C standards]: Do not allow headers.
51050         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51051         is[abcdefghijklmnopqrstuvwxyz]*.
51052         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51053         to[abcdefghijklmnopqrstuvwxyz]*.
51054         [ISO C standards] (*_t): Do not allow.
51055         * conform/data/stdalign.h-data: New file.
51056         * conform/data/stdbool.h-data: Likewise.
51057         * conform/data/stdnoreturn.h-data: Likewise.
51059 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51061         [BZ #14815]
51062         * manual/filesys.texi (Directory Entries): Typo fix.
51063         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51065 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51067         * elf/elf.h (EM_AARCH64): New macro.
51068         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51069         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51070         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51071         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51072         (R_AARCH64_TLSDESC): Likewise.
51073         (NT_ARM_TLS): Likewise.
51074         (NT_ARM_HW_BREAK): Likewise.
51075         (NT_ARM_HW_WATCH): Likewise.
51077 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51079         [BZ #14811]
51080         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51081         (__ieee754_powl): Saturate nonzero exponents with absolute value
51082         below 0x1p-79 to +/- 0x1p-79.
51083         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51084         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51085         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51086         nonzero exponents with absolute value below 0x1p-32 to +/-
51087         0x1p-32.
51088         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51089         (__ieee754_powl): Saturate nonzero exponents with absolute value
51090         below 0x1p-79 to +/- 0x1p-79.
51091         * math/libm-test.inc (pow_test): Add more tests.
51093 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51095         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51096         _dl_s390_cap_flags with kernel. Increase string length.
51097         (_dl_s390_platforms): Add z196 and zEC12.
51099 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51101         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51102         Change XOPEN21K to XOPEN2K.
51104 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51106         * string/memmove.c: Use memcpy when possible.
51108 2012-11-06  Andreas Jaeger  <aj@suse.de>
51110         * po/eo.po: Update from translation team.
51112 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51114         [BZ #14793]
51115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51116         exponent and small x and y exponents, scale x or y up.  Increase
51117         by 2 the exponent used in scaling up.
51118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51120         * math/libm-test.inc (fma_test): Add more tests.
51121         (fma_test_towardzero): Likewise.
51122         (fma_test_downward): Likewise.
51123         (fma_test_upward): Likewise.
51125 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51127         [BZ #14805]
51128         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51129         fenv_t *.
51131         [BZ #14801]
51132         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51133         namespace for names of struct fields.
51134         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51135         fenv_t fields.
51136         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51137         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51139 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51141         [BZ #3665]
51142         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51144 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51146         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51147         PTR_DEMANGLE.
51149         [BZ #5246]
51150         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51151         PTR_DEMANGLE.
51153 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51155         [BZ #14797]
51156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51157         definitely overflow as x * y not x * y + z.
51158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51160         * math/libm-test.inc (fma_test): Add more tests.
51161         (fma_test_towardzero): Likewise.
51162         (fma_test_downward): Likewise.
51163         (fma_test_upward): Likewise.
51165 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51167         [BZ #157]
51169         * include/stub-tag.h: Remove file.
51170         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51171         '#include' of it.
51172         * manual/maint.texi (Porting): Don't reference it.
51173         * Makerules ($(objpfx)stubs): Likewise.
51174         * dirent/closedir.c: Don't include <stub-tag.h>.
51175         * dirent/dirfd.c: Likewise.
51176         * dirent/fdopendir.c: Likewise.
51177         * dirent/getdents.c: Likewise.
51178         * dirent/getdents64.c: Likewise.
51179         * dirent/opendir.c: Likewise.
51180         * dirent/readdir.c: Likewise.
51181         * dirent/readdir64.c: Likewise.
51182         * dirent/readdir64_r.c: Likewise.
51183         * dirent/readdir_r.c: Likewise.
51184         * dirent/rewinddir.c: Likewise.
51185         * dirent/seekdir.c: Likewise.
51186         * dirent/telldir.c: Likewise.
51187         * gmon/profil.c: Likewise.
51188         * grp/setgroups.c: Likewise.
51189         * inet/if_index.c: Likewise.
51190         * io/access.c: Likewise.
51191         * io/chdir.c: Likewise.
51192         * io/chmod.c: Likewise.
51193         * io/chown.c: Likewise.
51194         * io/close.c: Likewise.
51195         * io/dup.c: Likewise.
51196         * io/dup2.c: Likewise.
51197         * io/dup3.c: Likewise.
51198         * io/euidaccess.c: Likewise.
51199         * io/faccessat.c: Likewise.
51200         * io/fchdir.c: Likewise.
51201         * io/fchmod.c: Likewise.
51202         * io/fchmodat.c: Likewise.
51203         * io/fchown.c: Likewise.
51204         * io/fchownat.c: Likewise.
51205         * io/fcntl.c: Likewise.
51206         * io/flock.c: Likewise.
51207         * io/fstatfs.c: Likewise.
51208         * io/fstatfs64.c: Likewise.
51209         * io/fstatvfs.c: Likewise.
51210         * io/fstatvfs64.c: Likewise.
51211         * io/futimens.c: Likewise.
51212         * io/fxstat.c: Likewise.
51213         * io/fxstat64.c: Likewise.
51214         * io/fxstatat.c: Likewise.
51215         * io/fxstatat64.c: Likewise.
51216         * io/getcwd.c: Likewise.
51217         * io/isatty.c: Likewise.
51218         * io/lchmod.c: Likewise.
51219         * io/lchown.c: Likewise.
51220         * io/link.c: Likewise.
51221         * io/linkat.c: Likewise.
51222         * io/lseek.c: Likewise.
51223         * io/lseek64.c: Likewise.
51224         * io/lxstat64.c: Likewise.
51225         * io/mkdir.c: Likewise.
51226         * io/mkdirat.c: Likewise.
51227         * io/mkfifo.c: Likewise.
51228         * io/mkfifoat.c: Likewise.
51229         * io/open.c: Likewise.
51230         * io/open64.c: Likewise.
51231         * io/openat.c: Likewise.
51232         * io/openat64.c: Likewise.
51233         * io/pipe.c: Likewise.
51234         * io/pipe2.c: Likewise.
51235         * io/poll.c: Likewise.
51236         * io/posix_fadvise.c: Likewise.
51237         * io/posix_fadvise64.c: Likewise.
51238         * io/posix_fallocate.c: Likewise.
51239         * io/posix_fallocate64.c: Likewise.
51240         * io/read.c: Likewise.
51241         * io/readlink.c: Likewise.
51242         * io/readlinkat.c: Likewise.
51243         * io/rmdir.c: Likewise.
51244         * io/sendfile.c: Likewise.
51245         * io/sendfile64.c: Likewise.
51246         * io/statfs.c: Likewise.
51247         * io/statfs64.c: Likewise.
51248         * io/statvfs.c: Likewise.
51249         * io/statvfs64.c: Likewise.
51250         * io/symlink.c: Likewise.
51251         * io/symlinkat.c: Likewise.
51252         * io/ttyname.c: Likewise.
51253         * io/ttyname_r.c: Likewise.
51254         * io/umask.c: Likewise.
51255         * io/unlink.c: Likewise.
51256         * io/unlinkat.c: Likewise.
51257         * io/utime.c: Likewise.
51258         * io/utimensat.c: Likewise.
51259         * io/write.c: Likewise.
51260         * io/xmknod.c: Likewise.
51261         * io/xmknodat.c: Likewise.
51262         * io/xstat.c: Likewise.
51263         * io/xstat64.c: Likewise.
51264         * login/getpt.c: Likewise.
51265         * login/grantpt.c: Likewise.
51266         * login/unlockpt.c: Likewise.
51267         * math/e_acoshl.c: Likewise.
51268         * math/e_acosl.c: Likewise.
51269         * math/e_asinl.c: Likewise.
51270         * math/e_atan2l.c: Likewise.
51271         * math/e_atanhl.c: Likewise.
51272         * math/e_coshl.c: Likewise.
51273         * math/e_expl.c: Likewise.
51274         * math/e_fmodl.c: Likewise.
51275         * math/e_gammal_r.c: Likewise.
51276         * math/e_hypotl.c: Likewise.
51277         * math/e_j0l.c: Likewise.
51278         * math/e_j1l.c: Likewise.
51279         * math/e_jnl.c: Likewise.
51280         * math/e_lgammal_r.c: Likewise.
51281         * math/e_log10l.c: Likewise.
51282         * math/e_log2l.c: Likewise.
51283         * math/e_logl.c: Likewise.
51284         * math/e_powl.c: Likewise.
51285         * math/e_rem_pio2l.c: Likewise.
51286         * math/e_sinhl.c: Likewise.
51287         * math/e_sqrtl.c: Likewise.
51288         * math/fclrexcpt.c: Likewise.
51289         * math/fedisblxcpt.c: Likewise.
51290         * math/feenablxcpt.c: Likewise.
51291         * math/fegetenv.c: Likewise.
51292         * math/fegetexcept.c: Likewise.
51293         * math/fegetround.c: Likewise.
51294         * math/feholdexcpt.c: Likewise.
51295         * math/fesetenv.c: Likewise.
51296         * math/fesetround.c: Likewise.
51297         * math/feupdateenv.c: Likewise.
51298         * math/fgetexcptflg.c: Likewise.
51299         * math/fraiseexcpt.c: Likewise.
51300         * math/fsetexcptflg.c: Likewise.
51301         * math/ftestexcept.c: Likewise.
51302         * math/k_cosl.c: Likewise.
51303         * math/k_rem_pio2l.c: Likewise.
51304         * math/k_sinl.c: Likewise.
51305         * math/k_tanl.c: Likewise.
51306         * math/s_asinhl.c: Likewise.
51307         * math/s_atanl.c: Likewise.
51308         * math/s_cbrtl.c: Likewise.
51309         * math/s_erfl.c: Likewise.
51310         * math/s_expm1l.c: Likewise.
51311         * math/s_log1pl.c: Likewise.
51312         * math/s_tanhl.c: Likewise.
51313         * misc/acct.c: Likewise.
51314         * misc/brk.c: Likewise.
51315         * misc/chflags.c: Likewise.
51316         * misc/chroot.c: Likewise.
51317         * misc/fchflags.c: Likewise.
51318         * misc/fgetxattr.c: Likewise.
51319         * misc/flistxattr.c: Likewise.
51320         * misc/fremovexattr.c: Likewise.
51321         * misc/fsetxattr.c: Likewise.
51322         * misc/fsync.c: Likewise.
51323         * misc/ftruncate.c: Likewise.
51324         * misc/futimes.c: Likewise.
51325         * misc/futimesat.c: Likewise.
51326         * misc/getdomain.c: Likewise.
51327         * misc/getdtsz.c: Likewise.
51328         * misc/gethostid.c: Likewise.
51329         * misc/gethostname.c: Likewise.
51330         * misc/getloadavg.c: Likewise.
51331         * misc/getpagesize.c: Likewise.
51332         * misc/getsysstats.c: Likewise.
51333         * misc/getxattr.c: Likewise.
51334         * misc/gtty.c: Likewise.
51335         * misc/ioctl.c: Likewise.
51336         * misc/lgetxattr.c: Likewise.
51337         * misc/listxattr.c: Likewise.
51338         * misc/llistxattr.c: Likewise.
51339         * misc/lremovexattr.c: Likewise.
51340         * misc/lsetxattr.c: Likewise.
51341         * misc/lutimes.c: Likewise.
51342         * misc/madvise.c: Likewise.
51343         * misc/mincore.c: Likewise.
51344         * misc/mlock.c: Likewise.
51345         * misc/mlockall.c: Likewise.
51346         * misc/mmap.c: Likewise.
51347         * misc/mprotect.c: Likewise.
51348         * misc/msync.c: Likewise.
51349         * misc/munlock.c: Likewise.
51350         * misc/munlockall.c: Likewise.
51351         * misc/munmap.c: Likewise.
51352         * misc/preadv.c: Likewise.
51353         * misc/preadv64.c: Likewise.
51354         * misc/ptrace.c: Likewise.
51355         * misc/pwritev.c: Likewise.
51356         * misc/pwritev64.c: Likewise.
51357         * misc/readv.c: Likewise.
51358         * misc/reboot.c: Likewise.
51359         * misc/remap_file_pages.c: Likewise.
51360         * misc/removexattr.c: Likewise.
51361         * misc/revoke.c: Likewise.
51362         * misc/select.c: Likewise.
51363         * misc/setdomain.c: Likewise.
51364         * misc/setegid.c: Likewise.
51365         * misc/seteuid.c: Likewise.
51366         * misc/sethostid.c: Likewise.
51367         * misc/sethostname.c: Likewise.
51368         * misc/setregid.c: Likewise.
51369         * misc/setreuid.c: Likewise.
51370         * misc/setxattr.c: Likewise.
51371         * misc/sstk.c: Likewise.
51372         * misc/stty.c: Likewise.
51373         * misc/swapoff.c: Likewise.
51374         * misc/swapon.c: Likewise.
51375         * misc/sync.c: Likewise.
51376         * misc/syncfs.c: Likewise.
51377         * misc/syscall.c: Likewise.
51378         * misc/truncate.c: Likewise.
51379         * misc/ualarm.c: Likewise.
51380         * misc/usleep.c: Likewise.
51381         * misc/ustat.c: Likewise.
51382         * misc/utimes.c: Likewise.
51383         * misc/vhangup.c: Likewise.
51384         * misc/writev.c: Likewise.
51385         * posix/_exit.c: Likewise.
51386         * posix/alarm.c: Likewise.
51387         * posix/execve.c: Likewise.
51388         * posix/fexecve.c: Likewise.
51389         * posix/fork.c: Likewise.
51390         * posix/fpathconf.c: Likewise.
51391         * posix/getaddrinfo.c: Likewise.
51392         * posix/getegid.c: Likewise.
51393         * posix/geteuid.c: Likewise.
51394         * posix/getgid.c: Likewise.
51395         * posix/getgroups.c: Likewise.
51396         * posix/getlogin.c: Likewise.
51397         * posix/getlogin_r.c: Likewise.
51398         * posix/getpgid.c: Likewise.
51399         * posix/getpid.c: Likewise.
51400         * posix/getppid.c: Likewise.
51401         * posix/getresgid.c: Likewise.
51402         * posix/getresuid.c: Likewise.
51403         * posix/getsid.c: Likewise.
51404         * posix/getuid.c: Likewise.
51405         * posix/glob64.c: Likewise.
51406         * posix/nanosleep.c: Likewise.
51407         * posix/pathconf.c: Likewise.
51408         * posix/pause.c: Likewise.
51409         * posix/posix_madvise.c: Likewise.
51410         * posix/pread.c: Likewise.
51411         * posix/pread64.c: Likewise.
51412         * posix/pwrite.c: Likewise.
51413         * posix/pwrite64.c: Likewise.
51414         * posix/sched_getaffinity.c: Likewise.
51415         * posix/sched_getp.c: Likewise.
51416         * posix/sched_gets.c: Likewise.
51417         * posix/sched_primax.c: Likewise.
51418         * posix/sched_primin.c: Likewise.
51419         * posix/sched_rr_gi.c: Likewise.
51420         * posix/sched_setaffinity.c: Likewise.
51421         * posix/sched_setp.c: Likewise.
51422         * posix/sched_sets.c: Likewise.
51423         * posix/sched_yield.c: Likewise.
51424         * posix/setgid.c: Likewise.
51425         * posix/setlogin.c: Likewise.
51426         * posix/setpgid.c: Likewise.
51427         * posix/setresgid.c: Likewise.
51428         * posix/setresuid.c: Likewise.
51429         * posix/setsid.c: Likewise.
51430         * posix/setuid.c: Likewise.
51431         * posix/sleep.c: Likewise.
51432         * posix/spawni.c: Likewise.
51433         * posix/sysconf.c: Likewise.
51434         * posix/times.c: Likewise.
51435         * posix/wait.c: Likewise.
51436         * posix/wait3.c: Likewise.
51437         * posix/wait4.c: Likewise.
51438         * posix/waitpid.c: Likewise.
51439         * resolv/gai_sigqueue.c: Likewise.
51440         * resource/getpriority.c: Likewise.
51441         * resource/getrlimit.c: Likewise.
51442         * resource/getrusage.c: Likewise.
51443         * resource/nice.c: Likewise.
51444         * resource/setpriority.c: Likewise.
51445         * resource/setrlimit.c: Likewise.
51446         * resource/ulimit.c: Likewise.
51447         * rt/aio_cancel.c: Likewise.
51448         * rt/aio_fsync.c: Likewise.
51449         * rt/aio_read.c: Likewise.
51450         * rt/aio_sigqueue.c: Likewise.
51451         * rt/aio_suspend.c: Likewise.
51452         * rt/aio_write.c: Likewise.
51453         * rt/clock_getres.c: Likewise.
51454         * rt/clock_gettime.c: Likewise.
51455         * rt/clock_nanosleep.c: Likewise.
51456         * rt/clock_settime.c: Likewise.
51457         * rt/lio_listio.c: Likewise.
51458         * rt/mq_close.c: Likewise.
51459         * rt/mq_getattr.c: Likewise.
51460         * rt/mq_notify.c: Likewise.
51461         * rt/mq_open.c: Likewise.
51462         * rt/mq_receive.c: Likewise.
51463         * rt/mq_send.c: Likewise.
51464         * rt/mq_setattr.c: Likewise.
51465         * rt/mq_timedreceive.c: Likewise.
51466         * rt/mq_timedsend.c: Likewise.
51467         * rt/mq_unlink.c: Likewise.
51468         * rt/shm_open.c: Likewise.
51469         * rt/shm_unlink.c: Likewise.
51470         * rt/timer_create.c: Likewise.
51471         * rt/timer_delete.c: Likewise.
51472         * rt/timer_getoverr.c: Likewise.
51473         * rt/timer_gettime.c: Likewise.
51474         * rt/timer_settime.c: Likewise.
51475         * setjmp/__longjmp.c: Likewise.
51476         * setjmp/setjmp.c: Likewise.
51477         * signal/kill.c: Likewise.
51478         * signal/killpg.c: Likewise.
51479         * signal/raise.c: Likewise.
51480         * signal/sigaction.c: Likewise.
51481         * signal/sigaltstack.c: Likewise.
51482         * signal/sigblock.c: Likewise.
51483         * signal/sigignore.c: Likewise.
51484         * signal/sigintr.c: Likewise.
51485         * signal/signal.c: Likewise.
51486         * signal/sigpause.c: Likewise.
51487         * signal/sigpending.c: Likewise.
51488         * signal/sigqueue.c: Likewise.
51489         * signal/sigreturn.c: Likewise.
51490         * signal/sigset.c: Likewise.
51491         * signal/sigsetmask.c: Likewise.
51492         * signal/sigstack.c: Likewise.
51493         * signal/sigsuspend.c: Likewise.
51494         * signal/sigtimedwait.c: Likewise.
51495         * signal/sigvec.c: Likewise.
51496         * signal/sigwait.c: Likewise.
51497         * signal/sigwaitinfo.c: Likewise.
51498         * signal/sysv_signal.c: Likewise.
51499         * socket/accept.c: Likewise.
51500         * socket/accept4.c: Likewise.
51501         * socket/bind.c: Likewise.
51502         * socket/connect.c: Likewise.
51503         * socket/getpeername.c: Likewise.
51504         * socket/getsockname.c: Likewise.
51505         * socket/getsockopt.c: Likewise.
51506         * socket/isfdtype.c: Likewise.
51507         * socket/listen.c: Likewise.
51508         * socket/recv.c: Likewise.
51509         * socket/recvfrom.c: Likewise.
51510         * socket/recvmsg.c: Likewise.
51511         * socket/send.c: Likewise.
51512         * socket/sendmsg.c: Likewise.
51513         * socket/sendto.c: Likewise.
51514         * socket/setsockopt.c: Likewise.
51515         * socket/shutdown.c: Likewise.
51516         * socket/sockatmark.c: Likewise.
51517         * socket/socket.c: Likewise.
51518         * socket/socketpair.c: Likewise.
51519         * stdio-common/ctermid.c: Likewise.
51520         * stdio-common/cuserid.c: Likewise.
51521         * stdio-common/remove.c: Likewise.
51522         * stdio-common/rename.c: Likewise.
51523         * stdio-common/renameat.c: Likewise.
51524         * stdio-common/tempname.c: Likewise.
51525         * stdlib/getcontext.c: Likewise.
51526         * stdlib/makecontext.c: Likewise.
51527         * stdlib/setcontext.c: Likewise.
51528         * stdlib/swapcontext.c: Likewise.
51529         * stdlib/system.c: Likewise.
51530         * streams/fattach.c: Likewise.
51531         * streams/fdetach.c: Likewise.
51532         * streams/getmsg.c: Likewise.
51533         * streams/getpmsg.c: Likewise.
51534         * streams/putmsg.c: Likewise.
51535         * streams/putpmsg.c: Likewise.
51536         * sysdeps/unix/bsd/getpt.c: Likewise.
51537         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51538         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51539         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51541         Likewise.
51542         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51543         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51544         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51545         * sysvipc/msgctl.c: Likewise.
51546         * sysvipc/msgget.c: Likewise.
51547         * sysvipc/msgrcv.c: Likewise.
51548         * sysvipc/msgsnd.c: Likewise.
51549         * sysvipc/semctl.c: Likewise.
51550         * sysvipc/semget.c: Likewise.
51551         * sysvipc/semop.c: Likewise.
51552         * sysvipc/semtimedop.c: Likewise.
51553         * sysvipc/shmat.c: Likewise.
51554         * sysvipc/shmctl.c: Likewise.
51555         * sysvipc/shmdt.c: Likewise.
51556         * sysvipc/shmget.c: Likewise.
51557         * termios/tcdrain.c: Likewise.
51558         * termios/tcflow.c: Likewise.
51559         * termios/tcflush.c: Likewise.
51560         * termios/tcgetattr.c: Likewise.
51561         * termios/tcgetpgrp.c: Likewise.
51562         * termios/tcsendbrk.c: Likewise.
51563         * termios/tcsetattr.c: Likewise.
51564         * termios/tcsetpgrp.c: Likewise.
51565         * time/adjtime.c: Likewise.
51566         * time/clock.c: Likewise.
51567         * time/getitimer.c: Likewise.
51568         * time/gettimeofday.c: Likewise.
51569         * time/setitimer.c: Likewise.
51570         * time/settimeofday.c: Likewise.
51571         * time/stime.c: Likewise.
51572         * time/time.c: Likewise.
51574 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51576         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51577         /usr/old/bin.
51579         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51580         instead of spaces.
51581         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51583 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51585         [BZ #14796]
51586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51587         FE_TONEAREST before applying Dekker multiplication and Knuth
51588         addition.  Clear inexact exceptions and check for exact zero
51589         results afterwards.
51590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51591         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51593         * math/libm-test.inc (fma_test): Add more tests.
51594         (fma_test_towardzero): Likewise.
51595         (fma_test_downward): Likewise.
51596         (fma_test_upward): Likewise.
51597         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51598         function.
51599         (libc_fesetround): New macro.
51600         (libc_fesetroundf): Likewise.
51601         (libc_fesetroundl): Likewise.
51602         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51603         function.
51604         (libc_fesetround_387): Likewise.
51605         (libc_fesetroundf): New macro.
51606         (libc_fesetround): Likewise.
51607         (libc_fesetroundl): Likewise.
51608         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51609         function.
51610         (libc_fesetroundf): New macro.
51611         (libc_fesetround): Likewise.
51612         (libc_fesetroundl): Likewise.
51613         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51614         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51615         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51616         libm_hidden_ver.
51617         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51618         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51619         libm_hidden_def.
51620         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51621         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51622         libm_hidden_ver.
51623         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51624         libm_hidden_def.
51626         [BZ #3439]
51627         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51628         integer constant usable in #if and use that to give value to enum
51629         constant.
51630         (FE_DIVBYZERO): Likewise.
51631         (FE_UNDERFLOW): Likewise.
51632         (FE_OVERFLOW): Likewise.
51633         (FE_INVALID): Likewise.
51634         (FE_INVALID_SNAN): Likewise.
51635         (FE_INVALID_ISI): Likewise.
51636         (FE_INVALID_IDI): Likewise.
51637         (FE_INVALID_ZDZ): Likewise.
51638         (FE_INVALID_IMZ): Likewise.
51639         (FE_INVALID_COMPARE): Likewise.
51640         (FE_INVALID_SOFTWARE): Likewise.
51641         (FE_INVALID_SQRT): Likewise.
51642         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51643         (FE_TONEAREST): Likewise.
51644         (FE_TOWARDZERO): Likewise.
51645         (FE_UPWARD): Likewise.
51646         (FE_DOWNWARD): Likewise.
51647         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51648         (FE_DIVBYZERO): Likewise.
51649         (FE_OVERFLOW): Likewise.
51650         (FE_UNDERFLOW): Likewise.
51651         (FE_INEXACT): Likewise.
51652         (FE_TONEAREST): Likewise.
51653         (FE_DOWNWARD): Likewise.
51654         (FE_UPWARD): Likewise.
51655         (FE_TOWARDZERO): Likewise.
51656         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51657         (FE_UNDERFLOW): Likewise.
51658         (FE_OVERFLOW): Likewise.
51659         (FE_DIVBYZERO): Likewise.
51660         (FE_INVALID): Likewise.
51661         (FE_TONEAREST): Likewise.
51662         (FE_TOWARDZERO): Likewise.
51663         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51664         (FE_OVERFLOW): Likewise.
51665         (FE_UNDERFLOW): Likewise.
51666         (FE_DIVBYZERO): Likewise.
51667         (FE_INEXACT): Likewise.
51668         (FE_TONEAREST): Likewise.
51669         (FE_TOWARDZERO): Likewise.
51670         (FE_UPWARD): Likewise.
51671         (FE_DOWNWARD): Likewise.
51672         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51673         (FE_DIVBYZERO): Likewise.
51674         (FE_OVERFLOW): Likewise.
51675         (FE_UNDERFLOW): Likewise.
51676         (FE_INEXACT): Likewise.
51677         (FE_TONEAREST): Likewise.
51678         (FE_DOWNWARD): Likewise.
51679         (FE_UPWARD): Likewise.
51680         (FE_TOWARDZERO): Likewise.
51682 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51684         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51686 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51688         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51689         commands.  Quote $PWD.
51690         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51691         -x" by "export".
51692         (remove_newlines): Remove.
51694 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51696         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51697         * stdlib/stdlib.h (atof): Moved to ...
51698         * include/bits/stdlib-float.h: Here.  New file.
51699         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51700         * stdlib/bits/stdlib-float.h: New file.
51701         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51702         -mno-sse -mno-mmx.
51703         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51704         <xmmintrin.h>.
51706 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51708         * conform/conformtest.pl (@headers): Add fenv.h.
51709         * conform/data/fenv.h-data: New file.
51710         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51711         include of <math/fenv.h>.
51713         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51714         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51715         && !UNIX98].  Enables tests for XOPEN2K8.
51716         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51717         POSIX2008]: Likewise.
51719         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51720         (struct rusage): Do not expect type or its members.
51722         [BZ #3439]
51723         * math/math.h (FP_NAN): Define macro to integer constant usable in
51724         #if and use that to give value to enum constant.
51725         (FP_INFINITE): Likewise.
51726         (FP_ZERO): Likewise.
51727         (FP_SUBNORMAL): Likewise.
51728         (FP_NORMAL): Likewise.
51730 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51732         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51733         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51734         arguments.
51736 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51738         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51739         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51740         autoconf-time if not.
51741         * configure.in: Remove AC_PREREQ.
51743 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51745         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51746         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51747         of the internal implementation.
51749 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51751         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51752         except include of <misc/sys/syslog.h>.
51754 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51757         function returns with a NULL context exit with zero.
51759 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51761         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51763 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51765         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51766         (run_program_cmd): This.
51767         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51768         (tst_langinfo): New variable.  Use it.
51770 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51772         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51773         floating point opcodes.
51775 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51777         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51778         variable.
51780         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51782         * sysdeps/mach/hurd/powerpc: Remove directory.
51783         * sysdeps/mach/powerpc: Likewise.
51785 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51787         * scripts/check-local-headers.sh: Ignore c++ headers.
51789 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51791         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51792         __libc_cleanup_region_start argument.
51794 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51796         [BZ #14784]
51797         [BZ #14785]
51798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51799         x * y using scaling, not as x * y + z.
51800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51802         * math/libm-test.inc (fma_test): Add more tests.
51803         (fma_test_towardzero): Likewise.
51804         (fma_test_downward): Likewise.
51805         (fma_test_upward): Likewise.
51807 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51809         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51811 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51813         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51814         New variable.
51816 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51818         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51820 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51823         Fix sort order.
51824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51825         Likewise.
51827 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51830         Fix the order of the list for glibc 2.17.
51831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51832         Likewise.
51834 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51838 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51840         [BZ #14610]
51841         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51842         for low part of x being zero before using __atanl (y).
51843         * math/libm-test.inc (atan2_test): Add another test.
51845         * manual/install.texi (Configuring and compiling): Document
51846         general use of test-wrapper and test-wrapper-env.
51847         * INSTALL: Regenerated.
51849         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51850         (__fma): Do not extract and scale down low bits on after-rounding
51851         systems when result rounded to normal precision would have normal
51852         exponent.
51853         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51854         (__fmal): Do not extract and scale down low bits on after-rounding
51855         systems when result rounded to normal precision would have normal
51856         exponent.
51857         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51858         (__fmal): Do not extract and scale down low bits on after-rounding
51859         systems when result rounded to normal precision would have normal
51860         exponent.
51861         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51862         macro.
51863         (fma_test): Add more tests.
51864         (fma_test_towardzero): Likewise.
51865         (fma_test_downward): Likewise.
51866         (fma_test_upward): Likewise.
51868 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51870         * sysdeps/i386/tininess.h: Renamed to ...
51871         * sysdeps/x86/tininess.h: This.
51872         * sysdeps/x86_64/tininess.h: Removed.
51874 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51876         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51877         input.  Use $(build-program-cmd).
51878         ($(objpfx)tst-array1-static.out): Likewise.
51879         ($(objpfx)tst-array2.out): Likewise.
51880         ($(objpfx)tst-array3.out): Likewise.
51881         ($(objpfx)tst-array4.out): Likewise.
51882         ($(objpfx)tst-array5.out): Likewise.
51883         ($(objpfx)tst-array5-static.out): Likewise.
51885 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51887         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51888         if defined.
51890         * nss/nsswitch.h (nss_interface_function): Provide new
51891         macro for use with NSS functions.
51892         * grp/initgroups.c: Use new macro.
51893         * nss/getXXbyYY.c: Likewise.
51894         * nss/getXXbyYY_r.c: Likewise.
51895         * nss/getXXent.c: Likewise.
51896         * nss/getXXent_r.c: Likewise.
51897         * sysdeps/posix/getaddrinfo.c: Likewise.
51899 2012-10-30  Andreas Jaeger  <aj@suse.de>
51901         * po/ru.po: Update Russion translation from translation project.
51903 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51905         [BZ #14152]
51906         [BZ #14783]
51907         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51908         result and shift together with sticky bit instead of replicating
51909         round-to-nearest rounding.
51910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51912         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51913         missing underflow exceptions.
51914         (fma_test_towardzero): Add more tests.
51915         (fma_test_downward): Likewise.
51916         (fma_test_upward): Likewise.
51918         [BZ #14047]
51919         * sysdeps/generic/tininess.h: New file.
51920         * sysdeps/i386/tininess.h: Likewise.
51921         * sysdeps/sh/tininess.h: Likewise.
51922         * sysdeps/x86_64/tininess.h: Likewise.
51923         * stdlib/tst-strtod-underflow.c: Likewise.
51924         * stdlib/tst-tininess.c: Likewise.
51925         * stdlib/strtod_l.c: Include <tininess.h>.
51926         (round_and_return): Do not set errno for exact underflow cases.
51927         Force an underflow exception when setting errno for underflow.
51928         Determine underflow based on rounding to normal precision if
51929         TININESS_AFTER_ROUNDING.
51930         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51931         ERANGE for exact underflow cases.
51932         * stdlib/Makefile (tests): Add tst-tininess and
51933         tst-strtod-underflow.
51934         ($(objpfx)tst-tininess): Use $(link-libm).
51935         ($(objpfx)tst-strtod-underflow): Likewise.
51937 2012-10-30  Andreas Jaeger  <aj@suse.de>
51939         [BZ#14767]
51940         * elf/Makefile (tests): Remove conditional for have-initfini-array
51941         since this is now always required and the variable does not exist
51942         anymore.
51943         (tests-static): Likewise.
51944         (modules-names): Likewise.
51946         * po/eo.po: Add Esperanto translation from translation project.
51948         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51949         merged with constructor/destructor.
51950         (init_array): Likewise.
51951         * elf/tst-array2dep.c (fini_array): Likewise.
51952         (init_array): Likewise.
51954 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51956         * manual/message.texi: Delete @cartouche tags.
51958 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51960         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51961         EOPNOTSUPP.
51962         * sysdeps/mach/hurd/fsync.c: Likewise.
51964         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51965         [_POSIX_REALTIME_SIGNALS]: Change condition to
51966         [_POSIX_REALTIME_SIGNALS > 0].
51968 2012-10-27  Andreas Jaeger  <aj@suse.de>
51970         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51971         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51972         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51973         [__WORDSIZE != 64]: Likewise.
51975 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51977         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51978         *  iconvdata/tst-tables.sh: Likewise.
51980 2012-10-25  David S. Miller  <davem@davemloft.net>
51982         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51983         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51984         of strtoull.
51986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51987         ifunc-impl-list.c
51988         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51989         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51990         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51991         file.
51993 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51995         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51996         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51997         __getdirentries.
51999 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52000             Jim Blandy  <jimb@codesourcery.com>
52002         * scripts/cross-test-ssh.sh: New file.
52003         * manual/install.texi (Configuring and compiling): Document use of
52004         cross-test-ssh.sh.
52005         * INSTALL: Regenerated.
52007 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52009         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52010         EOPNOTSUPP.
52012 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52014         * Makeconfig (run-program-prefix): Fix comment.
52016 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52017             Jim Blandy  <jimb@codesourcery.com>
52019         * Makeconfig (test-wrapper): New variable,
52020         (test-wrapper-env): Likewise.
52021         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52022         (run-built-tests): Define to yes.
52023         (run-program-prefix): Use $(test-wrapper).
52024         (built-program-cmd): Likewise.
52025         * Rules (make-test-out): Use $(test-wrapper-env) and
52026         $(host-built-program-cmd).
52027         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52028         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52029         tst-pathopt.sh.
52030         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52031         $(test-wrapper-env) to tst-rtld-load-self.sh.
52032         ($(objpfx)order2.out): Use $(test-wrapper).
52033         ($(objpfx)tst-initorder.out): Likewise.
52034         ($(objpfx)tst-initorder2.out): Likewise.
52035         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52036         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52037         (test_wrapper_env): New variable.  Use it to run ld.so.
52038         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52039         Use it to run ld.so.
52040         (test_wrapper_env): Likewise.
52041         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52042         $(test-wrapper) to run-iconv-test.sh.
52043         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52044         (ICONV): Use $test_wrapper.
52045         * posix/Makefile ($(objpfx)globtest.out): Pass
52046         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52047         globtest.sh, not $(run-program-prefix).
52048         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52049         (test_wrapper): Likewise.
52050         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52051         set together with run_via_rtld_prefix.
52052         (run_program_prefix): Define in terms of test_wrapper and
52053         run_via_rtld_prefix.
52055 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52057         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52058         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52059         Targets removed.
52061         [BZ #14743]
52062         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52063         Declare __clock_getres, __clock_gettime, __clock_settime,
52064         __clock_nanosleep, and __clock_getcpuclockid.
52065         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52066         Remove librt_hidden_def (clock_gettime).
52067         * sysdeps/unix/clock_gettime.c: Likewise.
52068         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52069         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52070         * rt/clock_getres.c: Define __clock_getres as an alias.
52071         * sysdeps/posix/clock_getres.c: Likewise.
52072         * rt/clock_settime.c: Define __clock_settime as an alias.
52073         * sysdeps/unix/clock_settime.c: Likewise.
52074         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52075         * sysdeps/unix/clock_nanosleep.c: Likewise.
52076         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52077         * rt/clock-compat.c: New file.
52078         * rt/Makefile (librt-routines): Add clock-compat and move
52079         $(clock-routines) to ...
52080         (routines): ... here, new variable.
52081         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52082         Don't add get_clockfreq here.
52083         * rt/Versions (libc: GLIBC_2.17): New version set.
52084         Add clock_* symbols here.
52085         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52086         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52087         (GLIBC_2.17): Add clock_* symbols.
52088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52092         Likewise.
52093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52094         Likewise.
52095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52099         * NEWS: Mention the move.
52101         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52102         Use __open, __read, __close rather than their public counterparts.
52103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52104         (__get_clockfreq_via_cpuinfo): Likewise.
52105         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52106         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52108         * config.h.in (HAVE_IFUNC): New #undef.
52109         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52110         was successful.
52111         * configure: Regenerated.
52113 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52115         * configure.in: Move READELF check to start of file.
52116         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52117         libc_cv_asm_gnu_indirect_function in the process.
52118         * configure: Regenerated.
52120 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52122         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52123         send the output to /dev/null.
52124         (libc_cv_cc_with_libunwind): Likewise.
52125         (libc_cv_as_noexecstack): Likewise.
52126         * configure: Regenerate.
52128 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52130         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52132         * posix/globtest.sh (TMPDIR): Do not set.
52133         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52134         (testout): Likewise.
52136 2012-10-24  Andreas Jaeger  <aj@suse.de>
52138         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52139         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52140         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52141         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52142         posix_fadvise64, posix_fallocate64.
52144         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52145         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52146         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52147         Likewise.
52148         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52149         Likewise.
52150         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52152         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52153         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52154         <bits/fcntl-linux.h>.
52155         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52158         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52159         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52160         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52161         [__WORDSIZE != 64]: Likewise.
52163 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52165         * Makeconfig (run-built-tests): New variable.
52166         * Rules [$(cross-compiling) = yes]: Change condition to
52167         [$(run-built-tests) = no].
52168         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52169         to [$(run-built-tests) = yes].
52170         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52171         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52172         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52173         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52174         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52175         * io/Makefile [$(cross-compiling) = no]: Likewise.
52176         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52177         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52178         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52179         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52180         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52181         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52182         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52183         * string/Makefile [$(cross-compiling) = no]: Likewise.
52185         * posix/Makefile ($(objpfx)globtest.out): Pass
52186         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52187         $(rtld-installed-name).
52188         * posix/globtest.sh (elf_objpfx): Remove variable.
52189         (rtld_installed_name): Likewise.
52190         (library_path): Likewise.
52191         (run_program_prefix): New variable.  Use for running globtest
52192         binary.
52194 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52195             Joseph Myers  <joseph@codesourcery.com>
52197         * Makeconfig (host-built-program-cmd): New variable.
52198         * elf/Makefile (tst-stackguard1-ARGS): Use
52199         $(host-built-program-cmd).
52200         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52201         (tst-spawn-ARGS): Likewise.
52202         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52204 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52205             Jim Blandy  <jimb@codesourcery.com>
52207         * Makeconfig (run-via-rtld-prefix): New variable.
52208         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52209         (built-program-cmd): Likewise.
52211 2012-10-22  Andreas Jaeger  <aj@suse.de>
52213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52214         __O_RSYNC if it exists, otherwise to O_SYNC.
52216 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52217             Joseph Myers  <joseph@codesourcery.com>
52219         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52220         /dev/null.
52221         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52222         from /dev/null
52223         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52224         /dev/null.
52226 2012-10-22  Andreas Jaeger  <aj@suse.de>
52228         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52229         Define always.
52230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52233         bits/fcntl-linux.h.
52235         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52236         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52239         to __O_LARGEFILE.
52240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52241         to __O_LARGEFILE.
52243 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52244             Joseph Myers  <joseph@codesourcery.com>
52246         * config.make.in (NM): New variable.
52248 2012-10-21  Andreas Jaeger  <aj@suse.de>
52250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52251         definitions and declarations that are provided by
52252         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52254 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52256         [BZ #14683]
52257         * elf/Makefile (tests-static): Add tst-leaks1-static.
52258         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52259         ($(objpfx)tst-leaks1-static): New rule.
52260         ($(objpfx)tst-leaks1-static-mem): Likewise.
52261         (tst-leaks1-static-ENV): New macro.
52262         * elf/dl-open.c (dl_open_worker): Check the main application
52263         only if SHARED is defined.
52264         * elf/tst-leaks1-static.c: New file.
52266 2012-10-20  Andreas Jaeger  <aj@suse.de>
52268         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52269         generic values for Linux.
52270         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52271         and declarations that are provided by <bits/fcntl-linux.h> and
52272         include <bits/fcntl-linux.h>.
52273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52274         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52276 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52278         * io/fcntl.h: Move include of <bits/types.h> to the top and
52279         include it unconditionally.
52281 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52283         * wcsmbs/Makefile (tests-ifunc): New variable.
52284         (tests): Add $(tests-ifunc).
52285         * wcsmbs/test-wcschr-ifunc.c: New file.
52286         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52287         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52288         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52289         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52290         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52292         * string/Makefile (tests-ifunc): New variable.
52293         (tests): Add $(tests-ifunc).
52294         * string/test-memccpy.c (TEST_NAME): New macro.
52295         * string/test-memchr.c (TEST_NAME): Likewise.
52296         * string/test-memcmp.c (TEST_NAME): Likewise.
52297         * string/test-memcpy.c (TEST_NAME): Likewise.
52298         * string/test-memmem.c (TEST_NAME): Likewise.
52299         * string/test-memmove.c (TEST_NAME): Likewise.
52300         * string/test-memset.c (TEST_NAME): Likewise.
52301         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52302         * string/test-stpcpy.c (TEST_NAME): Likewise.
52303         * string/test-stpncpy.c (TEST_NAME): Likewise.
52304         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52305         * string/test-strcasestr.c (TEST_NAME): Likewise.
52306         * string/test-strcat.c (TEST_NAME): Likewise.
52307         * string/test-strchr.c (TEST_NAME): Likewise.
52308         * string/test-strcmp.c(TEST_NAME): Likewise.
52309         * string/test-strcpy.c (TEST_NAME): Likewise.
52310         * string/test-strcspn.c (TEST_NAME): Likewise.
52311         * string/test-strlen.c (TEST_NAME): Likewise.
52312         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52313         * string/test-strncmp.c (TEST_NAME): Likewise.
52314         * string/test-strncpy.c (TEST_NAME): Likewise.
52315         * string/test-strnlen.c (TEST_NAME): Likewise.
52316         * string/test-strpbrk.c (TEST_NAME): Likewise.
52317         * string/test-strrchr.c (TEST_NAME): Likewise.
52318         * string/test-strspn.c (TEST_NAME): Likewise.
52319         * string/test-strstr.c (TEST_NAME): Likewise.
52320         * string/test-bcopy-ifunc.c: New file.
52321         * string/test-bzero-ifunc.c: Likewise.
52322         * string/test-memccpy-ifunc.c: Likewise.
52323         * string/test-memchr-ifunc.c: Likewise.
52324         * string/test-memcmp-ifunc.c: Likewise.
52325         * string/test-memcpy-ifunc.c: Likewise.
52326         * string/test-memmem-ifunc.c: Likewise.
52327         * string/test-memmove-ifunc.c: Likewise.
52328         * string/test-mempcpy-ifunc.c: Likewise.
52329         * string/test-memset-ifunc.c: Likewise.
52330         * string/test-rawmemchr-ifunc.c: Likewise.
52331         * string/test-stpcpy-ifunc.c: Likewise.
52332         * string/test-stpncpy-ifunc.c: Likewise.
52333         * string/test-strcasecmp-ifunc.c: Likewise.
52334         * string/test-strcasestr-ifunc.c: Likewise.
52335         * string/test-strcat-ifunc.c: Likewise.
52336         * string/test-strchr-ifunc.c: Likewise.
52337         * string/test-strchrnul-ifunc.c: Likewise.
52338         * string/test-strcmp-ifunc.c: Likewise.
52339         * string/test-strcpy-ifunc.c: Likewise.
52340         * string/test-strcspn-ifunc.c: Likewise.
52341         * string/test-strlen-ifunc.c: Likewise.
52342         * string/test-strncasecmp-ifunc.c: Likewise.
52343         * string/test-strncat-ifunc.c: Likewise.
52344         * string/test-strncmp-ifunc.c: Likewise.
52345         * string/test-strncpy-ifunc.c: Likewise.
52346         * string/test-strnlen-ifunc.c: Likewise.
52347         * string/test-strpbrk-ifunc.c: Likewise.
52348         * string/test-strrchr-ifunc.c: Likewise.
52349         * string/test-strspn-ifunc.c: Likewise.
52350         * string/test-strstr-ifunc.c: Likewise.
52352         * debug/Makefile (tests-ifunc): New variable.
52353         (tests): Add $(tests-ifunc).
52354         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52355         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52356         * debug/test-stpcpy_chk-ifunc.c: New file.
52357         * debug/test-strcpy_chk-ifunc.c: Likewise.
52359 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52361         [BZ #13601]
52362         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52363         header is not read in.
52365 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52367         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52368         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52369         directly.  Pass built executable to script as
52370         $(built-program-cmd).
52371         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52372         $testprogram without using LD_LIBRARY_PATH and $ldso.
52374         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52375         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52376         $(rtld-installed-name).
52377         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52378         (rtld_installed_name): Likewise.
52379         (library_path): Likewise.
52380         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52381         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52382         $(run-program-prefix) to tst-tables.sh.
52383         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52384         it to run tst-table-from and tst-table-to.
52385         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52386         Pass it to tst-table.sh.
52387         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52388         $(run-program-prefix) to tst-gettext.sh.
52389         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52390         tst-translit.sh.
52391         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52392         tst-gettext2.sh.
52393         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52394         to run tst-gettext.
52395         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52396         to run tst-gettext2.
52397         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52398         to run tst-translit.
52399         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52400         $(run-program-prefix) to tst-mtrace.sh.
52401         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52402         to run tst-mtrace.
52403         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52404         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52405         $(rtld-installed-name).
52406         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52407         (rtld_installed_name): Likewise.
52408         (run_program_prefix): New variable.  Use it to run wordexp-test.
52410         * Makeconfig (ARCH): Remove all definitions.
52411         (machine): Likewise.
52412         [ARCH]: Remove conditional code.
52413         [!objdir]: Give error.
52414         [!objdir] (objpfx): Remove.
52415         [!objdir] (common-objpfx): Likewise.
52416         [!objdir] (common-objdir): Likewise.
52417         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52418         AC_CONFIG_FILES call.
52419         * configure: Regenerated.
52421         [BZ #13888]
52422         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52423         or TMPDIR.
52424         (testout): Likewise.
52426         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52427         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52428         $(rtld-installed-name).
52429         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52430         (rtld_installed_name): Likwise.
52431         (runit): Remove function.
52432         (run_getconf): New variable,  Use it for running getconf binary.
52434 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52436         [BZ #14716]
52437         * string/test-memmem.c (check_result): New function.
52438         (do_one_test): Use it.
52439         (check1): New function.
52440         (test_main): Use it.
52442 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52444         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52446 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52448         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52449         (_G_LSEEK64): Likewise.
52450         (_G_MMAP64): Likewise.
52451         (_G_FSTAT64): Likewise.
52452         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52453         (_G_LSEEK64): Likewise.
52454         (_G_MMAP64): Likewise.
52455         (_G_FSTAT64): Likewise.
52456         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52457         unconditional.  Call __mmap64 directly.
52458         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52459         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52460         __lseek64 directly.
52461         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52462         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52463         __mmap64 directly.
52464         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52465         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52466         __lseek64 directly.
52467         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52468         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52469         __lseek64 directly.
52470         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52471         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52472         __lseek64 directly.
52473         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52474         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52475         __fxstat64 directly.
52476         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52477         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52478         unconditional.
52479         (freopen64) [!_G_OPEN64]: Remove conditional code.
52480         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52481         unconditional.
52482         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52483         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52484         unconditional.
52485         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52486         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52487         unconditional.
52488         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52489         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52490         unconditional.
52491         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52492         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52493         unconditional.
52494         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52495         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52496         unconditional.
52497         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52498         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52499         unconditional.
52500         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52502 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52504         [BZ #12140]
52505         * manual/memory.texi (Malloc Tunable Parameters): Add note
52506         about free list pointers overwriting some perturb bytes.
52507         Wording suggested by Roland McGrath.
52509 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52511         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52512         (lgamma_test): Likewise.
52513         (tgamma_test): Likewise.
52515 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52517         [BZ #14700]
52518         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52519         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52521 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52523         * NEWS: Mention BZ #14716.
52524         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52525         when removing AVAILABLE1_USES_J macro.
52527 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52529         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52530         (__bswap_64): __uint64_t for unsigned 64-bit int.
52532 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52534         * include/string.h (memmem): Declare libc hidden alias.
52535         * string/memmem.c (memmem): Define libc hidden alias.
52536         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52537         __read, __close instead of open, read, close.
52539 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52542         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52543         global and hidden.
52544         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52545         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52546         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52547         Likewise.
52548         (__rawmemchr_sse2): Likewise.
52549         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52550         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52551         (__strchr_sse2): Likewise.
52552         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52553         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52554         (__strcasecmp_sse2): Likewise.
52555         (__strncasecmp_sse2): Likewise.
52556         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52557         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52558         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52559         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52560         (__strrchr_sse2): Likewise.
52561         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52562         ifunc-impl-list.c.
52563         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52564         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52565         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52566         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52567         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52568         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52569         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52570         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52571         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52572         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52573         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52574         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52575         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52576         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52577         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52578         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52579         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52580         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52581         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52582         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52583         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52584         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52585         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52586         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52587         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52588         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52589         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52590         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52591         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52592         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52594         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52595         global and hidden.
52596         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52597         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52598         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52599         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52600         Likewise.
52601         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52602         Likewise.
52603         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52604         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52605         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52606         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52607         ifunc-impl-list.c.
52608         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52609         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52610         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52611         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52612         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52613         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52614         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52615         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52616         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52617         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52618         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52619         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52620         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52621         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52622         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52623         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52624         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52625         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52626         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52627         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52628         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52629         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52630         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52631         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52632         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52633         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52634         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52635         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52636         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52637         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52638         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52639         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52640         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52641         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52642         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52643         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52644         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52645         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52646         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52647         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52648         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52650         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52651         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52652         * include/ifunc-impl-list.h: New file.
52653         * misc/ifunc-impl-list.c: Likewise.
52654         * misc/Makefile (routines): Add ifunc-impl-list.
52655         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52656         * string/test-string.h: Include <ifunc-impl-list.h>.
52657         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52658         TEST_NAME]: New variables.
52659         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52660         are defined.
52661         (test_init): Call __libc_ifunc_impl_list to initialize
52662         func_list if TEST_IFUNC and TEST_NAME are defined.
52664         * string/Makefile (strop-tests): Add bcopy and bzero.
52665         * string/test-bcopy.c: New file.
52666         * string/test-bzero.c: Likewise.
52667         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52668         defined.
52669         * string/test-memset.c: Support bzero test if TEST_BZERO is
52670         defined.
52671         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52672         __libc_memmove.
52673         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52674         __libc_memset.
52675         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52676         of memset.
52678 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52680         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52681         * configure: Regenerated.
52683         * Makeconfig (+link-static-before-libc): Don't include
52684         $(link-static-libc).
52686         * libio/libio.h (_IO_pos_t): Remove.
52688 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52690         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52691         McGrath.
52693 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52695         * crypt/crypt-entry.c: Include fips-private.h.
52696         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52697         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52698         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52699         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52701 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52703         * crypt/crypt-private.h: Include stdbool.h.
52704         (_ufc_setup_salt_r): Return bool.
52705         * crypt/crypt-entry.c: Include errno.h.
52706         (__crypt_r): Return NULL with EINVAL for bad salt.
52707         * crypt/crypt_util.c (bad_for_salt): New.
52708         (_ufc_setup_salt_r): Check that salt is long enough and within
52709         the specified alphabet.
52710         * crypt/badsalttest.c: New file.
52711         * crypt/Makefile (tests): Add it.
52712         ($(objpfx)badsalttest): New.
52714 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52716         * NEWS: Add entry for BZ #14602.
52718 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52720         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52721         type-generic.
52722         * math/libm-test.inc: Update comment listing what functions and
52723         macros are tested.
52724         (isgreater_test): New function.
52725         (isgreaterequal_test): Likewise.
52726         (isless_test): Likewise.
52727         (islessequal_test): Likewise.
52728         (islessgreater_test): Likewise.
52729         (isunordered_test): Likewise.
52730         (main): Call the new functions.
52732 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52734         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52735         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52736         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52737         * sysdeps/i386/configure: Regenerated.
52738         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52739         * sysdeps/mach/configure: Regenerated.
52740         * sysdeps/mach/hurd/configure: Regenerated.
52741         * sysdeps/powerpc/configure: Regenerated.
52742         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52743         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52744         * sysdeps/s390/s390-32/configure: Regenerated.
52745         * sysdeps/s390/s390-64/configure: Regenerated.
52746         * sysdeps/sh/configure: Regenerated.
52747         * sysdeps/sparc/configure: Regenerated.
52748         * sysdeps/unix/sysv/linux/configure: Regenerated.
52749         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52750         * sysdeps/x86_64/configure: Regenerated.
52752         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52753         defined.  Don't check if MAP is NULL.
52755 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52757         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52758         (_G_stat64): Likewise.
52759         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52760         (_G_stat64): Likewise.
52761         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52762         instead of struct _G_stat64.
52763         * libio/fileops.c (mmap_remap_check): Likewise.
52764         (decide_maybe_mmap): Likewise.
52765         (_IO_new_file_seekoff): Likewise.
52766         (_IO_file_stat): Likewise.
52767         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52768         _G_off64_t.
52769         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52770         instead of struct _G_stat64.
52771         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52773 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52775         [BZ #14602]
52776         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52777         Replace with ...
52778         (CHECK_EOL): New macro.
52779         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52780         CHECK_EOL.
52781         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52782         Replace with CHECK_EOL.
52783         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52784         Replace with CHECK_EOL.
52786 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52788         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52789         type-generic.
52790         * math/libm-test.inc: Update comment listing what functions and
52791         macros are tested.
52792         (finite_test): New function.
52793         (isinf_test): Likewise.
52794         (isnan_test): Likewise.
52795         (fpclassify_test): Test subnormal input.
52796         (isfinite_test): Likewise.
52797         (isnormal_test): Likewise.
52798         (main): Call the new functions.
52800 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52802         [BZ #14660]
52803         * Makerules (%.dynsym): Force C locale when running
52804         $(OBJDUMP) --dynamic-syms.
52806 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52808         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52809         <stdint.h>.
52811 2012-10-06  David S. Miller  <davem@davemloft.net>
52813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52814         upper 32-bits of the length value in %o2 since we use branch-on-register
52815         tests which consider the entire 64-bit register.
52817 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52819         * string/test-strstr.c (check2): Add a test for page boundary.
52821 2012-10-05  David S. Miller  <davem@davemloft.net>
52823         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52824         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52825         file.
52826         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52827         sysdep_routines.
52828         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52829         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52830         and bzero when HWCAP_SPARC_CRYPTO is present.
52832 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52834         [BZ #14602]
52835         * string/test-strstr.c (check2): New function.
52836         (test_main): Call check2.
52838         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52839         and bug-strchr1.
52840         * string/bug-strcasestr1.c (do_test): Moved to ...
52841         * string/test-strcasestr.c (check1): Here.  New function.
52842         (do_one_test): Break out result checking code into ...
52843         (check_result): This.  New function.
52844         (do_one_test): Call check_result.
52845         (test_main): Call check1.
52846         * string/bug-strchr1.c (do_test): Moved to ...
52847         * string/test-strchr.c (check1): Here.  New function.
52848         (do_one_test): Break out result checking code into ...
52849         (check_result): This.  New function.
52850         (do_one_test): Call check_result.
52851         (test_main): Call check1.
52852         * string/bug-strstr1.c (main): Moved to ...
52853         * string/test-strstr.c (check1): Here.  New function.
52854         (do_one_test): Break out result checking code into ...
52855         (check_result): This.  New function.
52856         (do_one_test): Call check_result.
52857         (test_main): Call check1.
52858         * string/bug-strcasestr1.c: Removed.
52859         * string/bug-strchr1.c: Likewise.
52860         * string/bug-strstr1.c: Likewise.
52862         * elf/Makefile (dl-routines): Add hwcaps.
52863         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52864         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52865         (_dl_important_hwcaps): Moved to ...
52866         * elf/dl-hwcaps.c: Here.  New file.
52867         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52869         [BZ #14557]
52870         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52871         if IS_IN_rtld isn't defined.
52873         * elf/dl-support.c (_dl_sysinfo_map): New.
52874         Include "get-dynamic-info.h" and "setup-vdso.h".
52875         (_dl_non_dynamic_init): Call setup_vdso.
52876         * elf/dynamic-link.h: Don't include <assert.h>.
52877         (elf_get_dynamic_info): Moved to ...
52878         * elf/get-dynamic-info.h: Here.  New file.
52879         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52880         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52881         * elf/setup-vdso.h: Here.  New file.
52882         * elf/rtld.c: Include "setup-vdso.h".
52883         (dl_main): Call setup_vdso.
52885 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52887         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52888         creal in comment listing functions tested.  List finite, isinf,
52889         isnan, isless, islessequal, isgreater, isgreaterequal,
52890         islessgreater, isunordered, lgamma_r and pow10 as functions and
52891         macros not tested.  Mention which functions not tested are aliases
52892         for other functions.  Fix typo.  Note that signs of NaNs are not
52893         tested.
52895         * scripts/config.guess: Update from config.git.
52896         * scripts/config.sub: Likewise.
52898 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52900         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52901         * misc/madvise.c (madvise): Renamed to __madvise.
52902         Make madvise a weak alias.
52903         * include/sys/mman.h: Declare __madvise.
52904         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52905         * sysdeps/unix/syscalls.list
52906         (madvise): Make __madvise the strong name, and madvise a weak alias.
52907         * sysdeps/unix/sysv/linux/syscalls.list
52908         (madvise, mmap): Remove redundant entries.
52909         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52910         * malloc/malloc.c (mtrim): Likewise.
52911         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52913 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52915         * sysdeps/mach/hurd/dl-cache.c: File removed.
52916         * config.h.in (USE_LDCONFIG): New #undef.
52917         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52918         * configure: Regenerated.
52919         * elf/Makefile (dl-routines): Add dl-cache only under
52920         [$(use-ldconfig) = yes].
52921         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52922         cache on [USE_LDCONFIG].
52923         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52924         [USE_LDCONFIG].
52925         * elf/rtld.c (dl_main): Likewise.
52927 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52929         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52930         _SC_LEVEL4_CACHE_LINESIZE.
52932 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52934         * sysdeps/unix/bsd/confstr.h: File removed.
52936 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52938         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52939         sys/sdt-config.h.
52941 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52943         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52944         Make 'mapoff' field ElfW(Off) rather than off_t.
52946 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52948         * nscd/Makefile: Remove nscd-cflags and all its users.
52949         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52950         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52952         [BZ #10631]
52953         * malloc.c (malloc_printerr): Clarify error message.
52955 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52957         [BZ #14648]
52958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52959         Set bit_FMA_Usable if FMA is supported.
52960         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52961         macro.
52962         (bit_FMA4_Usable): Updated.
52963         (index_FMA_Usable): New macro.
52964         (CPUID_FMA): Likewise.
52965         (HAS_FMA): Defined with bit_FMA_Usable.
52967 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52969         * bits/types.h (__swblk_t): Type removed.
52970         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52971         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52972         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52973         (__SWBLK_T_TYPE): Likewise.
52974         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52975         (__SWBLK_T_TYPE): Likewise.
52976         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52977         (__SWBLK_T_TYPE): Likewise.
52978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52979         (__SWBLK_T_TYPE): Likewise.
52981 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52982             Honza Horak <hhorak@redhat.com>
52984         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52985         (xdr_mapname): Use YPMAXMAP as maxsize.
52986         (xdr_peername): Use YPMAXPEER as maxsize.
52987         (xdr_keydat): Use YPAXRECORD as maxsize.
52988         (xdr_valdat): Use YPMAXRECORD as maxsize.
52990 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52992         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52994         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52995         * csu/init-first.c: ... here.
52996         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52997         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52998         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52999         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53000         * sysdeps/i386/init-first.c: File removed.
53001         * sysdeps/sh/init-first.c: File removed.
53003 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53005         [BZ #14645]
53006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53007         if x * y might underflow to zero and z is zero.
53008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53010         * math/libm-test.inc (min_subnorm_value): New variable.
53011         (fma_test): Add more tests.
53012         (fma_test_towardzero): Likewise.
53013         (fma_test_downward): Likewise.
53014         (fma_test_upward): Likewise.
53015         (initialize): Set min_subnorm_value.
53017 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53019         [BZ #14638]
53020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53021         0 + 0.
53022         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53023         mode for addition resulting in exact zero.
53024         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53026         exact 0 + 0.
53027         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53028         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53029         * math/libm-test.inc (fma_test): Add more tests.
53030         (fma_test_towardzero): New function.
53031         (fma_test_downward): Likewise.
53032         (fma_test_upward): Likewise.
53033         (main): Call the new functions.
53035 2012-09-28  David S. Miller  <davem@davemloft.net>
53037         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53039 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53041         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53042         instead of SIGALRM.
53044         * sysdeps/gnu/_G_config.h: Moved to ...
53045         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53046         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53047         * sysdeps/generic/_G_config.h: ... here.
53049         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53051         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53053         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53054         Conditionalize target on [libnss_test1.so-version].
53056         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53058         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53059         (elfobjdir): Move out of conditionals.
53061         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53062         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53063         (__nss_lookup_function): Conditionalize label remove_from_tree on
53064         [!DO_STATIC_NSS || SHARED], matching its only use.
53066 2012-09-28  David S. Miller  <davem@davemloft.net>
53068         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53069         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53070         file.
53071         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53072         sysdep_routines.
53073         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53074         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53075         when HWCAP_SPARC_CRYPTO is present.
53077 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53079         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53081 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53083         [BZ #6530]
53084         * stdio-common/vfprintf.c (process_string_arg): Revert
53085         2000-07-22 change.
53087 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53089         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53090         for testcase.
53091         * stdio-common/tst-sprintf.c: Include <locale.h>
53092         (main): Test sprintf's handling of incomplete multibyte
53093         characters.
53095 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53097         * elf/dl-runtime.c (VERSYMIDX): Removed.
53098         * elf/dl-version.c (VERSYMIDX): Likewise.
53099         * elf/do-rel.h (VERSYMIDX): Likewise.
53100         (VALIDX): Likewise.
53101         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53102         * elf/rtld.c (VALIDX): Likewise.
53103         (ADDRIDX): Likewise.
53104         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53105         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53106         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53107         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53108         (VALIDX): Likewise.
53109         (ADDRIDX): Likewise.
53111 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53113         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53115 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53117         [BZ #11438]
53118         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53119         to global scope.
53120         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53121         addresses are in the same scope as 192.0.2/24.
53122         * posix/gai.conf: Document new scope table defaults.
53124 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53126         [BZ #5298]
53127         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53128         for ftell.  Compute offsets from write pointers instead.
53129         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53131 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53133         [BZ #14543]
53134         * libio/Makefile (tests): New test case tst-fseek.
53135         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53136         combination works in wide mode.
53137         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53138         state when the external buffer state changes.
53140 2012-09-27  David S. Miller  <davem@davemloft.net>
53142         [BZ #14376]
53143         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53144         pass reloc->r_addend in as the 'high' argument to
53145         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53149 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53151         * rt/tst-aio2.c: Include <pthread.h>.
53152         * rt/tst-aio3.c: Likewise.
53154 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53156         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53158 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53160         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53161         contents on [SHARED].
53163 2012-09-26  Marek Polacek  <polacek@redhat.com>
53165         [BZ #14530]
53166         [BZ #13741]
53167         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53168         for C++ and GCC <4.3 as well as for non GCC compilers.
53170 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53174 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53176         * Makefile.in (all, install): Declare with .PHONY.
53177         Reported by Michael Hope <michael.hope@linaro.org>.
53179 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53181         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53182         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53183         system header.
53184         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53185         Likewise.
53186         (sydep_routines): Add the new and the internal functions.
53187         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53188         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53190         (GLIBC_2.17): Add the new function.
53191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53192         (GLIBC_2.17): Likewise.
53193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53194         (GLIBC_2.17): Likewise.
53195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53196         (GLIBC_2.17): Likewise.
53197         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53199 2012-09-25  Alan Modra  <amodra@gmail.com>
53201         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53202         Add release barrier before setting once_control to say
53203         initialisation is done.  Add hints on lwarx.  Use macro in
53204         place of isync.
53205         (clear_once_control): Add release barrier.
53207 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53209         [BZ #13629]
53210         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53211         specially.
53212         * math/s_clog10.c (__clog10): Likewise.
53213         * math/s_clog10f.c (__clog10f): Likewise.
53214         * math/s_clog10l.c (__clog10l): Likewise.
53215         * math/s_clogf.c (__clogf): Likewise.
53216         * math/s_clogl.c (__clogl): Likewise.
53217         * math/Makefile (libm-calls): Add x2y2m1.
53218         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53219         (__x2y2m1): Likewise.
53220         (__x2y2m1l): Likewise.
53221         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53222         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53223         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53224         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53225         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53226         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53227         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53228         * sysdeps/i386/fpu/libm-test-ulps: Update.
53229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53231         [BZ #14621]
53232         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53233         int as type of variable DEPTH.
53234         (glob): Use size_t instead of int as type of variables NEWCOUNT
53235         and OLD_PATHC.
53237 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53239         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53240         Add s_sincosf-sse2.
53241         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53242         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53243         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53244         macros for using routine as __sincosf_ia32.
53245         Use macro for function declaration and weak_alias.
53246         * sysdeps/i386/fpu/libm-test-ulps: Update.
53248         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53251         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53252         subnormal argument.
53253         * math/s_cexpf.c (__cexpf): Likewise.
53254         * math/s_csinf.c (__csinf): Likewise.
53255         * math/s_csinhf.c (__csinhf): Likewise.
53256         * math/s_ctanf.c (__ctanf): Likewise.
53257         * math/s_ctanhf.c (__ctanhf): Likewise.
53258         * math/s_ccosh.c (__ccoshf): Likewise.
53259         * math/s_cexp.c (__cexpl): Likewise.
53260         * math/s_csin.c (__csin): Likewise.
53261         * math/s_csinh.c (__csinh): Likewise.
53262         * math/s_ctan.c (__ctan): Likewise.
53263         * math/s_ctanh.c (ctanh): Likewise.
53264         * math/s_ccoshl.c (__ccoshl): Likewise.
53265         * math/s_cexpl.c (__cexpl): Likewise.
53266         * math/s_csinl.c (__csinl): Likewise.
53267         * math/s_csinhl.c (__csinhl): Likewise.
53268         * math/s_ctanl.c (__ctanl): Likewise.
53269         * math/s_ctanhl.c (__ctanhl): Likewise.
53271 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53273         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53274         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53275         (_IO_off_t): Define to __off_t, not _G_off_t.
53276         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53277         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53278         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53279         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53280         type of __dummy and __dummy2 fields.
53281         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53282         (_G_ssize_t): Likewise.
53283         (_G_off_t): Likewise.
53284         (_G_pid_t): Likewise.
53285         (_G_uid_t): Likewise.
53286         (_G_wchar_t): Likewise.
53287         (_G_wint_t): Likewise.
53288         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53289         (_G_ssize_t): Likewise.
53290         (_G_off_t): Likewise.
53291         (_G_pid_t): Likewise.
53292         (_G_uid_t): Likewise.
53293         (_G_wchar_t): Likewise.
53294         (_G_wint_t): Likewise.
53295         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53296         (_G_ssize_t): Likewise.
53297         (_G_off_t): Likewise.
53298         (_G_pid_t): Likewise.
53299         (_G_uid_t): Likewise.
53300         (_G_wchar_t): Likewise.
53301         (_G_wint_t): Likewise.
53303 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53305         * malloc/arena.c: Include malloc-sysdep.h.
53306         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53307         is sufficient to shrink the heap or an unmap is needed.
53308         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53309         new function check_may_shrink_heap.
53310         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53311         new function check_may_shrink_heap.
53313 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53315         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53316         comments.
53318 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53320         * catgets/test-gencat.sh: Add "set -e".
53321         * elf/tst-pathopt.sh: Likewise.
53322         * grp/tst_fgetgrent.sh: Likewise.
53323         * iconvdata/run-iconv-test.sh: Likewise.
53324         * intl/tst-gettext.sh: Likewise.
53325         * intl/tst-gettext2.sh: Likewise.
53326         * intl/tst-gettext4.sh: Likewise.
53327         * intl/tst-gettext6.sh: Likewise.
53328         * intl/tst-translit.sh: Likewise.
53329         * io/ftwtest-sh: Likewise.
53330         * libio/test-freopen.sh: Likewise.
53331         * malloc/tst-mtrace.sh: Likewise.
53332         * posix/globtest.sh: Likewise.
53333         * posix/tst-getconf.sh: Likewise.
53334         * posix/wordexp-tst.sh: Likewise.
53335         * stdio-common/tst-printf.sh: Likewise.
53336         * stdio-common/tst-unbputc.sh: Likewise.
53337         * stdlib/tst-fmtmsg.sh: Likewise.
53338         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53339         * catgets/Makefile: Do not specify -e option when running
53340         testsuite shell scripts.
53341         * elf/Makefile: Likewise.
53342         * grp/Makefile: Likewise.
53343         * iconvdata/Makefile: Likewise.
53344         * intl/Makefile: Likewise.
53345         * io/Makefile: Likewise.
53346         * libio/Makefile: Likewise.
53347         * malloc/Makefile: Likewise.
53348         * posix/Makefile: Likewise.
53349         * stdio-common/Makefile: Likewise.
53350         * stdlib/Makefile: Likewise.
53351         * sysdeps/x86_64/Makefile: Likewise.
53353         * io/ftwtest-sh: Add copyright header.
53354         * posix/globtest.sh: Likewise.
53355         * posix/tst-getconf.sh: Likewise.
53356         * posix/wordexp-tst.sh: Likewise.
53357         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53359 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53361         [BZ #13679]
53362         * Makeconfig (+link): Defined as $(+link-static) if
53363         $(build-shared) isn't yes.
53364         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53365         isn't yes.
53366         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53368         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53370         [BZ #14562]
53371         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53372         new chunk size with MALLOC_ALIGN_MASK.
53374 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53376         [BZ #5044]
53377         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53378         <rounding-mode.h>.
53379         (__printf_fphex): Determine rounding using get_rounding_mode and
53380         round_away.
53381         * stdio-common/tst-printf-round.c (struct hex_test): New
53382         structure.
53383         (hex_tests): New variable.
53384         (test_hex_in_one_mode): New function.
53385         (do_test): Also run tests for hex float output.
53387 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53389         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53390         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53391         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53392         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53393         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53394         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53395         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53396         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53398 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53400         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53401         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53402         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53403         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53405 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53407         [BZ #14579]
53408         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53409         mode only.
53410         * elf/tst-rtld-load-self.sh: New test.
53411         * elf/Makefile: Run it.
53413 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53415         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53416         (tst-writev-ENV): Remove.
53417         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53419 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53421         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53423 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53425         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53426         unconditional.
53427         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53428         Likewise.
53429         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53430         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53431         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53432         Likewise.
53434 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53436         [BZ #14587]
53437         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53438         * config.make.in (have-cpp-asm-debuginfo): Removed.
53439         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53440         * configure: Regenerated.
53442 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53444         [BZ #5044]
53445         * stdio-common/printf_fp.c: Include <stdbool.h> and
53446         <rounding-mode.h>.
53447         (___printf_fp): Determine rounding using get_rounding_mode and
53448         round_away.
53449         * stdio-common/tst-printf-round.c: New file.
53450         * stdio-common/Makefile (tests): Add tst-printf-round.
53451         (link-libm): New variable.
53452         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53454 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53456         [BZ #14576]
53457         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53458         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53459         Likewise.
53460         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53461         Likewise.
53463 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53465         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53466         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53467         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53468         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53470 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53472         [BZ #14518]
53473         * include/rounding-mode.h: New file.
53474         * sysdeps/generic/get-rounding-mode.h: Likewise.
53475         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53476         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53477         (MAX_VALUE): New macro.
53478         (MIN_VALUE): Likewise.
53479         (overflow_value): New function.
53480         (underflow_value): Likewise.
53481         (round_and_return): Use overflow_value and underflow_value to
53482         determine return values in overflow and underflow cases.  Use
53483         round_away to determine rounding depending on rounding mode.
53484         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53485         determine return values in overflow and underflow cases.
53486         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53487         (struct test_results): New structure.
53488         (struct test): Use struct test_results to store expected results
53489         for all rounding modes.
53490         (TEST): Include expected results for all rounding modes.
53491         (test_in_one_mode): New function.
53492         (do_test): Use test_in_one_mode to compute and check results.
53493         Check results for all rounding modes.
53494         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53495         $(link-libm).
53497 2012-12-09  Allan McRae  <allan@archlinux.org>
53499         * sysdeps/i386/fpu/libm-test-ulps: Update
53501 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53503         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53504         (_G_int32_t): Likewise.
53505         (_G_uint16_t): Likewise.
53506         (_G_uint32_t): Likewise.
53507         (_G_HAVE_BOOL): Likewise.
53508         (_G_HAVE_ATEXIT): Likewise.
53509         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53510         (_G_HAVE_IO_FILE_OPEN): Likewise.
53511         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53512         (_G_int32_t): Likewise.
53513         (_G_uint16_t): Likewise.
53514         (_G_uint32_t): Likewise.
53515         (_G_HAVE_BOOL): Likewise.
53516         (_G_HAVE_ATEXIT): Likewise.
53517         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53518         (_G_HAVE_IO_FILE_OPEN): Likewise.
53519         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53520         (_G_int32_t): Likewise.
53521         (_G_uint16_t): Likewise.
53522         (_G_uint32_t): Likewise.
53523         (_G_HAVE_BOOL): Likewise.
53524         (_G_HAVE_ATEXIT): Likewise.
53525         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53526         (_G_HAVE_IO_FILE_OPEN): Likewise.
53528 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53530         * csu/libc-tls.c: Update copyright years.
53532 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53534         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53535         [!_G_USING_THUNKS]: Remove conditional code.
53536         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53537         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53539         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53540         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53541         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53542         (_G_VTABLE_LABEL_PREFIX): Likewise.
53543         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53544         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53545         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53546         (_G_VTABLE_LABEL_PREFIX): Likewise.
53547         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53548         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53549         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53550         (_G_VTABLE_LABEL_PREFIX): Likewise.
53551         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53553 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53555         * libio/Makefile: Include ../Makeconfig before tests.
53556         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53557         only if $(build-shared) is yes.
53559         * iconv/gconv_db.c: Update copyright years.
53561 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53563         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53564         unwind info if defined PIC. Fix special cases description.
53565         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53567         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53568         DP_HI_MASK entry.
53569         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53571 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53573         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53575         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53576         is NULL.
53578         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53579         (LDLIBS-tst-chk4): This.
53580         (LDFLAGS-tst-chk5): Renamed to ...
53581         (LDLIBS-tst-chk5): This.
53582         (LDFLAGS-tst-chk6): Renamed to ...
53583         (LDLIBS-tst-chk6): This.
53584         (LDFLAGS-tst-lfschk4): Renamed to ...
53585         (LDLIBS-tst-lfschk4): This.
53586         (LDFLAGS-tst-lfschk5): Renamed to ...
53587         (LDLIBS-tst-lfschk5): This.
53588         (LDFLAGS-tst-lfschk6): Renamed to ...
53589         (LDLIBS-tst-lfschk6): This.
53591         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53592         on $(common-objpfx)soversions.mk.
53594 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53596         [BZ #10014]
53597         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53598         example host name.
53600 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53602         * malloc/arena.c (arena_get_retry): New function that gets
53603         another arena for the caller to try its request on.
53604         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53605         current arena cannot fulfill the request.
53606         (__libc_memalign): Likewise.
53607         (__libc_memalign): Likewise.
53608         (__libc_pvalloc): Likewise.
53609         (__libc_calloc): Likewise.
53611 2012-09-05  John Tobey  <john.tobey@gmail.com>
53613         [BZ #13542]
53614         * manual/arith.texi (Operations on Complex): Fix description
53615         of carg branch cut.
53617 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53619         [BZ #10014]
53620         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53621         host name.
53623         [BZ #10038]
53624         * manual/memory.texi (Memory): Make order of menu items match
53625         order of sections.
53627 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53629         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53630         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53631         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53633 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53635         * csu/libc-tls.c (static_dtv): Renamed to ...
53636         (_dl_static_dtv): This.  Make it global.
53637         (_dl_initial_dtv): Removed.
53638         (__libc_setup_tls): Updated.
53639         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53640         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53641         DL_INITIAL_DTV.
53643 2012-09-06  Petr Machata  <pmachata@redhat.com>
53645         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53646         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53647         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53648         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53650 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53652         [BZ #14545]
53653         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53654         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53655         freeing dtv[-1].
53657 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53659         [BZ #14544]
53660         * Makeconfig (link-static-before-libc): Replace $(+prector)
53661         with $(+prectorT).
53662         (link-static-after-libc): Replace $(+postctor) with
53663         $(+postctorT).
53664         (link-bounded): Replace $(+prector)/$(+postctor) with
53665         $(+prectorT)/$(+postctorT).
53666         (+prectorT): New macro.
53667         (+postctorT): Likewise.
53669 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53671         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53672         (round_str): Handle values above the maximum for IBM long double
53673         as inexact.
53674         * stdlib/tst-strtod-round.c (tests): Regenerated.
53676 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53678         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53679         assembler flag.
53680         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53681         zarch_nohighgprs around the zarch optimized routines.
53682         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53683         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53684         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53685         for zarch.
53687 2012-09-05  David S. Miller  <davem@davemloft.net>
53689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53691         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53692         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53693         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53694         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53695         entries.
53697 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53699         * malloc/arena.c: Fold copyright years.
53700         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53702 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53704         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53706 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53708         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53710 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53712         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53713         change internal state upon failure.
53715 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53717         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53718         * malloc/memusage.c (mmap): Likewise.
53719         (mmap64, mremap): Likewise.  Adjust name in comment.
53721 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53723         * libio/fileops.c: Fix typos in comments.
53724         * libio/oldfileops.c: Likewise.
53725         * libio/wfileops.c: Likewise.
53727 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53729         [BZ #1349]
53730         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53731         (tst-malloc-usable-ENV): Set environment for test case.
53732         * malloc/hooks.c (malloc_check_get_size): New function to get
53733         requested size.
53734         * malloc/malloc.c (musable): Use malloc_check_get_size.
53735         * malloc/tst-malloc-usable.c: New test case.
53737 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53739         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53741 2012-09-05  Allan McRae  <allan@archlinux.org>
53743         [BZ #13966]
53744         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53745         determine header location.
53746         * configure: Regenerated.
53748 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53750         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53751         float format.
53752         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53753         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53754         format.
53755         (test): Regenerate.
53757 2012-09-04  David S. Miller  <davem@davemloft.net>
53759         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53760         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53761         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53763 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53765         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53766         failures.
53768         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53770 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53772         [BZ #9914]
53773         * libio/iogetdelim.c: Include <limits.h>.
53774         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53775         + len + 1 would overflow.
53777 2012-09-03  Andreas Jaeger  <aj@suse.de>
53779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53780         * sysdeps/i386/fpu/libm-test-ulps: Update.
53782 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53784         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53785         Add s_sinf-sse2, s_conf-sse2.
53787         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53788         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53789         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53790         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53792         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53793         for using routine as __sinf_ia32.
53794         Use macro for function declaration and weak_alias.
53795         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53796         for using routine as __cosf_ia32.
53797         Use macro for function declaration and weak_alias.
53799         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53800         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53802         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53803         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53806         * math/libm-test.inc (cos_test): Add more test cases.
53807         (sin_test): Likewise.
53808         (sincos_test): Likewise.
53810 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53812         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53813         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53814         hidden.
53815         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53817 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53819         [BZ #14538]
53820         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53821         first element of the GOT.
53822         (elf_machine_load_address): Return the difference between
53823         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53825 2012-09-01  Allan McRae  <allan@archlinux.org>
53827         [BZ #13412]
53828         * configure.in (AWK): Require gawk version 3.0 or later.
53829         * configure: Regenerated.
53831 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53833         * sysdeps/unix/sysv/linux/kernel-features.h
53834         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53835         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53836         [__NR_clock_getres]: Make code unconditional.
53837         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53838         (clock_getcpuclockid): Remove code left unreachable by removal of
53839         conditionals.
53840         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53841         code unconditional.
53842         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53843         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53844         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53845         Make code unconditional.
53846         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53847         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53848         * sysdeps/unix/sysv/linux/clock_settime.c
53849         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53850         conditional code.
53851         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53852         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53854 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53856         [BZ #14476]
53857         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53858         scripts/test-installation.pl.
53860         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53861         and $ld_so_version if it is set.
53863 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53865         [BZ #14516]
53866         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53867         failure if reading from procfs failed.
53868         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53870 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53872         * sysdeps/unix/sysv/linux/kernel-features.h
53873         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53874         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53875         Remove conditional code.
53876         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53877         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53878         Remove conditional code.
53879         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53880         * sysdeps/unix/sysv/linux/i386/fxstat.c
53881         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53882         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53883         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53884         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53885         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53886         * sysdeps/unix/sysv/linux/i386/lxstat.c
53887         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53888         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53889         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53890         Remove conditional code.
53891         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53892         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53893         Remove conditional code.
53894         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53895         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53896         <kernel-features.h>.
53897         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53898         Remove.
53899         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53900         Remove conditional code.
53901         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53902         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53903         Remove conditional.
53905 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53907         [BZ #5400]
53908         * NEWS: Add fixed bug number.
53910 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53912         [BZ #14519]
53913         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53914         underflowing exponent in case of negative sign.
53915         * stdlib/tst-strtod-round-data: Add more tests.
53916         * stdlib/tst-strtod-round.c (tests): Regenerated.
53918         [BZ #3479]
53919         * stdlib/strtod_l.c (NDIG): Remove.
53920         (HEXNDIG): Likewise.
53921         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53922         smallest representable value.
53923         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53924         lie within an exact representation of 1/2 ulp of the result.
53925         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53926         unconditionally.
53927         (TENS_P9_IDX): Define unconditionally.
53928         (TENS_P9_SIZE): Likewise.
53929         (TENS_P10_IDX): Likewise.
53930         (TENS_P10_SIZE): Likewise.
53931         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53932         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53933         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53934         entries for 10^2^13 and 10^2^14.
53935         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53936         (TENS_P13_IDX): Define.
53937         (TENS_P13_SIZE): Likewise.
53938         (TENS_P14_IDX): Likewise.
53939         (TENS_P14_SIZE): Likewise.
53940         (_fpioconst_pow10): Change array size to
53941         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53942         unconditional.
53943         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53944         1024]: Add entries for 10^2^13 and 10^2^14.
53945         [LAST_POW10 > _LAST_POW10]: Remove #error.
53946         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53947         (_fpioconst_pow10): Change array size to
53948         FPIOCONST_POW10_ARRAY_SIZE.
53949         * stdlib/gen-fpioconst.c: New file.
53950         * stdlib/gen-tst-strtod-round.c: Likewise.
53951         * stdlib/tst-strtod-round-data: Likewise.
53952         * stdlib/tst-strtod-round.c: Likewise.
53953         * stdlib/Makefile (tests): Add tst-strtod-round.
53955         [BZ #14459]
53956         * stdlib/strtod_l.c: Include <stdint.h>.
53957         (NDEBUG): Do not define.
53958         (round_and_return): Change EXPONENT parameter to type intmax_t.
53959         Rearrange calculations to avoid internal overflow possibilities.
53960         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53961         Rearrange calculations to avoid internal overflow possibilities.
53962         Assert that number fits inside MPNSIZE limbs.
53963         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53964         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53965         calculations and add assertions to avoid internal overflow
53966         possibilities.  Add casts to avoid signed/unsigned operations.
53967         * stdlib/tst-strtod-overflow.c: New file.
53968         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53970 2012-08-25  Marek Polacek  <polacek@redhat.com>
53972         * time/time.h: Fix some typos in comments.
53974 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53976         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53977         * posix/tst-rfc3484-2.c: Likewise.
53978         * posix/tst-rfc3484-3.c: Likewise.
53980 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53982         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53983         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53985 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53987         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53988         #include of fxstatat64.c.
53990 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53992         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53993         * shadow/getspent_r.c: Likewise.
53994         * shadow/getspnam.c: Likewise.
53995         * shadow/getspnam_r.c: Likewise.
53996         * gshadow/getsgent.c: Likewise.
53997         * gshadow/getsgent_r.c: Likewise.
53998         * gshadow/getsgnam.c: Likewise.
53999         * gshadow/getsgnam_r.c: Likewise.
54000         * inet/getnetbyad.c: Likewise.
54001         * inet/getnetbyad_r.c: Likewise.
54002         * inet/getnetbynm.c: Likewise.
54003         * inet/getnetbynm_r.c: Likewise.
54004         * inet/getnetent.c: Likewise.
54005         * inet/getnetent_r.c: Likewise.
54006         * inet/getproto.c: Likewise.
54007         * inet/getproto_r.c: Likewise.
54008         * inet/getprtent.c: Likewise.
54009         * inet/getprtent_r.c: Likewise.
54010         * inet/getprtname.c: Likewise.
54011         * inet/getprtname_r.c: Likewise.
54012         * inet/getrpcbyname.c: Likewise.
54013         * inet/getrpcbyname_r.c: Likewise.
54014         * inet/getrpcbynumber.c: Likewise.
54015         * inet/getrpcbynumber_r.c: Likewise.
54016         * inet/getrpcent.c: Likewise.
54017         * inet/getrpcent_r.c: Likewise.
54018         * inet/getaliasent.c: Likewise.
54019         * inet/getaliasent_r.c: Likewise.
54020         * inet/getaliasname.c: Likewise.
54021         * inet/getaliasname_r.c: Likewise.
54022         * nscd/getgrgid_r.c: Likewise.
54023         * nscd/getgrnam_r.c: Likewise.
54024         * nscd/gethstbyad_r.c: Likewise.
54025         * nscd/gethstbynm3_r.c: Likewise.
54026         * nscd/getpwnam_r.c: Likewise.
54027         * nscd/getpwuid_r.c: Likewise.
54028         * nscd/getsrvbynm_r.c: Likewise.
54029         * nscd/getsrvbypt_r.c: Likewise.
54030         * nscd/gai.c: Likewise.
54032         * configure.in (build_nscd): New substituted variable, set
54033         by --disable-build-nscd and defaults to $use_nscd.
54034         * configure: Regenerated.
54035         * config.make.in (build-nscd): New substituted variable.
54036         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54037         Change conditional to require [$(build-nscd) = yes] as well.
54038         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54040         [BZ# 13696]
54041         * configure.in (use_nscd): New substituted variable, set by
54042         --disable-nscd.  If enabled, define USE_NSCD.
54043         * configure: Regenerated.
54044         * config.h.in: Add USE_NSCD.
54045         * config.make.in (use-nscd): New substituted variable.
54046         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54047         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54048         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54049         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54050         (CFLAGS-getgrnam_r.c): Likewise.
54051         (CFLAGS-initgroups.c): Likewise.
54052         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54053         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54054         Variables removed.
54055         * inet/getnetgrent_r.c
54056         (nscd_setnetgrent): New function, broken out of ...
54057         (setnetgrent): ... here.  Call it.
54058         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54059         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54060         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54061         * nscd/Makefile (routines, aux): Move definitions after include of
54062         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54063         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54064         Conditionalize on [USE_NSCD].
54065         (is_nscd, nscd_init_cb): Likewise.
54066         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54067         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54068         * nss/nss_db/db-init.c: Likewise.
54069         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54070         [USE_NSCD].
54071         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54072         (make_request): Use it.
54073         (cache_valid_p): New function.
54074         (__check_pf): Use it.
54075         * NEWS: Add item for --disable-nscd.
54077 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54079         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54080         to support sed >= 4.2.1-20-ga9bf076.
54081         * configure: Regenerated.
54083 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54085         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54086         Conditionalize whole body on [IREL].
54088 2012-08-22  Jeff Law <law@redhat.com>
54090         [BZ #14505]
54091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54092         if the family is PF_UNSPEC.
54094 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54096         * Makerules (lib-version): Rename from V.
54097         (install-lib-nosubdir): Change V to lib-version.
54099 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54101         [BZ #14252]
54102         * powerpc32/power6/wcschr.c: New file.
54103         * powerpc32/power6/wcscpy.c: New file.
54104         * powerpc32/power6/wcsrchr.c: New file.
54105         * powerpc64/power6/wcschr.c: New file.
54106         * powerpc64/power6/wcscpy.c: New file.
54107         * powerpc64/power6/wcsrchr.c: New file.
54109 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54111         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54112         (two_way_short_needle): Use it.
54113         * string/strstr.c (AVAILABLE1_USES_J): Define.
54114         * string/strcasestr.c: Likewise.
54116         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54117         array references.
54118         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54120         [BZ #11607]
54121         * NEWS: Add an entry.
54122         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54123         define their defaults.
54124         (two_way_short_needle): Detect end-of-string on-the-fly.
54125         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54126         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54127         * string/bug-strcasestr1.c: New test.
54128         * string/Makefile: Run it.
54130 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54132         [BZ #11607]
54133         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54134         the first character.
54136 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54138         * csu/elf-init.c (__libc_csu_irel): Function removed.
54139         * csu/libc-start.c (apply_irel): New function.
54140         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54142 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54144         * sysdeps/unix/sysv/linux/kernel-features.h
54145         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54146         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54147         <kernel-features.h>.
54148         [__NR_fadvise64_64]: Make code unconditional.
54149         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54150         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54151         !__NR_fadvise64_64)]: Likewise.
54152         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54153         !__NR_fadvise64_64))]: Likewise.
54154         [__NR_fadvise64]: Make code unconditional.
54155         [!__NR_fadvise64]: Remove conditional code.
54156         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54157         <kernel-features.h>.
54158         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54159         unconditional.
54160         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54161         conditional code.
54162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54163         not include <kernel-features.h>.
54164         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54165         unconditional.
54166         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54167         conditional code.
54168         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54169         include <kernel-features.h>.
54170         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54171         unconditional.
54172         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54173         conditional code.
54175 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54177         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54178         slight instruction rearrangements per scrollpipe analysis.
54179         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54181 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54183         * manual/syslog.texi (syslog; vsyslog, closelog):
54184         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54185         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54187         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54188         DSOCAPS to match condition on defining it.
54190 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54192         * sysdeps/unix/sysv/linux/kernel-features.h
54193         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54195         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54196         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54198         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54199         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54201         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54202         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54204         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54205         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54207         * sysdeps/unix/sysv/linux/kernel-features.h
54208         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54209         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54210         unconditional.
54211         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54212         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54213         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54214         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54215         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54216         Make code unconditional.
54217         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54218         (__mmap64) [!__NR_mmap2]: Likewise.
54219         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54220         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54221         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54222         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54223         [__NR_mmap2]: Make code unconditional.
54224         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54225         (__mmap64) [!__NR_mmap2]: Likewise.
54227 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54229         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54231 2012-08-18  Andreas Jaeger  <aj@suse.de>
54233         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54235 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54237         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54238         * include/unistd.h (__have_sock_cloexec): Likewise.
54239         (__have_pipe2): Likewise.
54240         (__have_dup3): Likewise.
54242 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54244         [BZ #9685]
54245         * include/unistd.h (__have_pipe2): Change define into an extern int.
54246         (__have_dup3): Likewise.
54247         * socket/have_sock_cloexec.c: Include fcntl.h.
54248         (__have_pipe2): New variable.
54249         (__have_dup3): Likewise.
54251 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54253         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54255 2012-08-17  Marek Polacek  <polacek@redhat.com>
54257         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54258         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54260 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54262         * configure.in: Add AC_SUBST for sysheaders.
54263         * configure: Regenerated.
54264         * config.make.in (sysheaders): New substituted variable.
54266         * sysdeps/unix/mkfifo.c: Moved ...
54267         * sysdeps/posix/mkfifo.c: ... here.
54268         * sysdeps/unix/mkfifoat.c: Moved ...
54269         * sysdeps/posix/mkfifoat.c: ... here.
54271         * sysdeps/unix/utime.c: Moved ...
54272         * sysdeps/posix/utime.c: ... here.
54274         * sysdeps/unix/time.c: Moved ...
54275         * sysdeps/posix/time.c: ... here.
54276         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54277         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54279         * sysdeps/unix/nice.c: Moved ...
54280         * sysdeps/posix/nice.c: ... here.
54282         * sysdeps/unix/alarm.c: Moved ...
54283         * sysdeps/posix/alarm.c: ... here.
54285         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54287 2012-08-17  Jeff Law <law@redhat.com>
54289         * intl/Makefile (codeset_mo): New variable.
54290         ($(codeset_mo)): New target.
54291         (tst-codeset.out): Depend on that.  Remove explicit rule.
54292         (tst-gettext3.out, tst-gettext5.out): Likewise.
54293         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54294         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54295         * intl/tst-codeset.sh: Remove.
54296         * intl/tst-gettext3.sh: Likewise.
54297         * intl/tst-gettext5.sh: Likewise.
54299 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54301         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54302         * sysdeps/unix/syscalls.list: ... here.
54304         * sysdeps/posix/getaddrinfo.c
54305         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54306         (gaiconf_init, gaiconf_reload): Use them.
54307         [!_STATBUF_ST_NSEC]
54308         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54309         Define using time_t rather than struct timespec.
54311         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54312         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54313         Macros removed.
54314         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54315         [!NO_THREADS].
54316         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54317         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54318         Likewise.
54320         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54321         __libc_cleanup_push argument.
54323         * bits/param.h: New file.
54324         * misc/sys/param.h: New file.
54325         * include/sys/param.h: New file.
54326         * misc/Makefile (headers): Add bits/param.h.
54327         * sysdeps/generic/sys/param.h: File removed.
54328         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54329         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54330         * sysdeps/mach/hurd/bits/param.h: New file.
54331         * sysdeps/mach/hurd/sys/param.h: File removed.
54333         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54334         last change.
54336         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54337         [_IO_MTSAFE_IO].
54338         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54339         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54340         New macros.
54342         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54343         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54344         rather than -D_IO_MTSAFE_IO conditionally.
54345         * stdio-common/Makefile (CPPFLAGS): Likewise.
54346         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54347         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54348         Use $(libio-mtsafe).
54349         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54350         of -D_IO_MTSAFE_IO.
54351         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54352         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54353         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54354         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54355         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54356         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54357         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54358         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54359         (CFLAGS-fread_u_chk.c): Likewise.
54360         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54361         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54362         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54363         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54364         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54365         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54366         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54367         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54368         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54370         * libio/Makefile: Test [$(libc-reentrant) = yes]
54371         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54373         * Makeconfig
54374         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54375         * sysdeps/pthread/configure: File removed.
54376         * sysdeps/pthread/Makeconfig: New file.
54377         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54378         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54380 2012-08-16  Gary Benson  <gbenson@redhat.com>
54382         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54383         unmapping the first object in a namespace.
54385 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54387         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54388         (__internal_setnetgrent): ... this.  Add internal_function to
54389         definition.  Add libc_hidden_def.
54390         (setnetgrent): Update caller.
54391         (internal_endnetgrent): Renamed to ...
54392         (__internal_endnetgrent): ... this.  Add internal_function to
54393         definition.  Add libc_hidden_def.
54394         (endnetgrent): Update caller.
54395         (internal_getnetgrent_r): Renamed to ...
54396         (__internal_getnetgrent_r): ... this.  Add internal_function to
54397         definition.  Add libc_hidden_def.
54398         (__getnetgrent_r): Update caller.
54399         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54401 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54403         * stdlib/longlong.h: Update from GCC.
54405 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54407         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54408         on _QL, which is set by umul_ppmm but never used.
54409         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54410         variables, which are set by GMP macros but never used.
54411         * stdio-common/_itowa.c (_itowa): Likewise.
54412         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54413         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54415 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54417         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54418         struct La_sh_regs is not constant.
54419         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54420         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54421         and struct La_sparc64_regs are not constant.
54423 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54425         * sysdeps/unix/sysv/linux/kernel-features.h
54426         (__ASSUME_POSIX_TIMERS): Remove.
54427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54428         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54429         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54430         Make code unconditional.
54431         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54432         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54433         Make code unconditional.
54434         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54435         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54436         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54437         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54438         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54439         Make code unconditional.
54440         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54441         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54442         (__libc_missing_posix_timers): Remove.
54444 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54446         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54447         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54449         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54451         * elf/dl-sym.c: Include <stdlib.h>.
54453         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54454         constants, which avoids warnings in 32-bit builds.
54456         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54457         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54459         * misc/lseek.c: File moved to ...
54460         * io/lseek.c: ... here.
54462         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54464         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54465         shifting LEN more than 31 bits at once.
54467 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54469         [BZ #14195]
54470         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54471         segmentation fault for a case of two empty input strings.
54472         * string/test-strncasecmp.c (check1): Renamed to...
54473         (bz12205): ...this.
54474         (bz14195): Add new testcase for two empty input strings and N > 0.
54475         (test_main): Call new testcase, adapt for renamed function.
54477 2012-08-15  Andreas Jaeger  <aj@suse.de>
54479         [BZ #14090]
54480         * crypt/md5test2.c: New test, based on test supplied by Serge
54481         Belyshev <belyshev@depni.sinp.msu.ru>.
54482         * crypt/Makefile (xtests): Add md5test-giant..
54483         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54485 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54487         [BZ #14090]
54488         * crypt/md5.c (md5_process_block): Don't assume the buffer
54489         length is less than 2**32.
54490         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54491         length is less than 2**64.
54493 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54495         * string/str-two-way.h: Include <sys/param.h>.
54496         (MAX): Macro removed.
54498         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54499         Move #define and #undef of memmove to just before and after
54500         including <string.h>.
54502         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54503         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54504         and after including <string.h>.  Move declarations of
54505         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54506         to before #include "string/memmove.c".
54508         * include/dirent.h: Declare __getdirentries.
54510         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54511         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54513 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54515         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54516         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54517         * sysdeps/i386/configure: Regenerated.
54518         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54519         STABS_CURRENT_FILE, and STABS_FUN.
54520         (END): Remove call to STABS_FUN_END.
54521         (STABS_CURRENT_FILE1): Delete.
54522         (STABS_CURRENT_FILE): Likewise.
54523         (STABS_FUN): Likewise.
54524         (STABS_FUN_END): Likewise.
54525         (STABS_FUN2): Likewise.
54526         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54527         * sysdeps/x86_64/configure: Regenerated.
54529 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54531         * elf/dl-open.c: Include <atomic.h>.
54532         * elf/dl-lookup.c: Likewise.
54534 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54536         * sysdeps/unix/sysv/linux/kernel-features.h
54537         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54538         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54539         unconditionally.
54540         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54541         unconditionally.
54542         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54543         condition on __ASSUME_CLONE_THREAD_FLAGS.
54545 2012-08-14  Andreas Jaeger  <aj@suse.de>
54547         * sysdeps/i386/fpu/libm-test-ulps: Update.
54549 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54551         * include/atomic.h (atomic_exchange_and_add): Split into ...
54552         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54553         New atomic macros.
54555 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54559 2012-08-13  Jeff Law <law@redhat.com>
54561         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54562         null byte in the output string.
54564 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54566         * sysdeps/unix/sysv/linux/kernel-features.h
54567         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54568         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54569         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54570         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54571         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54572         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54573         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54575 2012-08-09  Jeff Law <law@redhat.com>
54577         [BZ #13939]
54578         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54579         When avoid_arena is set, don't retry in the that arena.  Pick the
54580         next one, whatever it might be.
54581         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54582         (arena_lock): Pass in new parameter to arena_get2.
54583         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54584         arena_get2.
54585         (__libc_malloc): Unify retrying after main arena failure with
54586         __libc_memalign version.
54587         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54589 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54591         [BZ #14166]
54592         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54593         to __redirect_strstr.
54594         (__strstr_sse42): Use typeof __redirect_strstr.
54595         (__strstr_ia32): Likewise.
54596         (__libc_strstr): New prototype.
54597         (strstr): Renamed to ...
54598         (__libc_strstr): This.
54599         (strstr): New strong alias of __libc_strstr.
54600         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54601         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54602         __redirect_time.
54603         Include <time.h>.
54604         (__libc_time): New prototype.
54605         (time_ifunc): Replace time with __libc_time.
54606         (time): New strong alias and hidden definition of __libc_time.
54607         (__GI_time): Remove strong alias.
54608         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54609         Include <stddef.h>.
54610         (memmove): Redefined to __redirect_memmove.
54611         (__memmove_sse2): Use typeof __redirect_memmove.
54612         (__memmove_ssse3): Likewise.
54613         (__memmove_ssse3_back): Likewise.
54614         (__libc_memmove): New prototype.
54615         (memmove): Renamed to ...
54616         (__libc_memmove): This.
54617         (memmove): New strong alias of __libc_memmove.
54619 2012-08-08  Mark Salter  <msalter@redhat.com>
54621         * elf/elf.h
54622         (R_MN10300_TLS_GD): Define.
54623         (R_MN10300_TLS_LD): Likewise.
54624         (R_MN10300_TLS_LDO): Likewise.
54625         (R_MN10300_TLS_GOTIE): Likewise.
54626         (R_MN10300_TLS_IE): Likewise.
54627         (R_MN10300_TLS_LE): Likewise.
54628         (R_MN10300_TLS_DTPMOD): Likewise.
54629         (R_MN10300_TLS_DTPOFF): Likewise.
54630         (R_MN10300_TLS_TPOFF): Likewise.
54631         (R_MN10300_SYM_DIFF): Likewise.
54632         (R_MN10300_ALIGN): Likewise.
54633         (R_MN10300_NUM): Update.
54635 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54638         Remove.
54640 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54642         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54644         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54645         sysdeps/unix -> sysdeps/posix move.
54646         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54648 2012-08-07      Allan McRae     <allan@archlinux.org>
54650         [BZ #14303]
54651         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54652         (SUNOS_CPP): Likewise.
54653         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54654         not found.
54655         (open_input): Call CPP using execvp.
54657 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54659         * sysdeps/unix/sysv/linux/kernel-features.h
54660         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54661         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54662         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54663         (__ASSUME_WAITID_SYSCALL): Likewise.
54664         * sysdeps/unix/sysv/linux/dl-execstack.c
54665         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54666         code unconditional.
54667         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54668         conditional code.
54669         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54670         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54671         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54672         code.
54673         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54674         unconditional.
54675         [__ASSUME_WAITID_SYSCALL]: Likewise.
54676         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54678 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54680         * sysdeps/unix/closedir.c: Renamed to ...
54681         * sysdeps/posix/closedir.c: ... here.
54682         * sysdeps/unix/dirfd.c: Renamed to ...
54683         * sysdeps/posix/dirfd.c: ... here.
54684         * sysdeps/unix/dirstream.h: Renamed to ...
54685         * sysdeps/posix/dirstream.h: ... here.
54686         * sysdeps/unix/fdopendir.c: Renamed to ...
54687         * sysdeps/posix/fdopendir.c: ... here.
54688         * sysdeps/unix/opendir.c: Renamed to ...
54689         * sysdeps/posix/opendir.c: ... here.
54690         * sysdeps/unix/readdir.c: Renamed to ...
54691         * sysdeps/posix/readdir.c: ... here.
54692         * sysdeps/unix/readdir_r.c: Renamed to ...
54693         * sysdeps/posix/readdir_r.c: ... here.
54694         * sysdeps/unix/rewinddir.c: Renamed to ...
54695         * sysdeps/posix/rewinddir.c: ... here.
54696         * sysdeps/unix/seekdir.c: Renamed to ...
54697         * sysdeps/posix/seekdir.c: ... here.
54698         * sysdeps/unix/telldir.c: Renamed to ...
54699         * sysdeps/posix/telldir.c: ... here.
54700         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54701         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54702         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54703         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54705         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54706         * bits/fcntl.h: ... here.
54708         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54709         not 0.
54710         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54711         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54712         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54713         (struct flock): Move l_start, l_len to the beginning.
54714         Use __pid_t for l_pid.
54715         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54716         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54717         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54718         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54719         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54720         [__USE_LARGEFILE64] (struct flock64): New type.
54721         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54723         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54724         * bits/dirent.h: ... here.
54726         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54727         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54729 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54731         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54732         Change from 2.6.0 to 2.6.16.
54733         * sysdeps/unix/sysv/linux/configure: Regenerated.
54734         * sysdeps/unix/sysv/linux/kernel-features.h
54735         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54736         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54737         version.
54738         (__ASSUME_UTIMES): Likewise.
54739         (__ASSUME_CLONE_STOPPED): Remove.
54740         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54741         architectures, not kernel version.
54742         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54743         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54744         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54745         (__ASSUME_WAITID_SYSCALL): Likewise.
54746         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54747         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54748         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54749         refer to older versions.
54751 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54753         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54754         Define alphasort64 as an alias.
54755         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54756         Define versionsort64 as an alias.
54757         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54758         Define scandir64 as an alias.
54759         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54760         Define scandirat64 as an alias.
54761         * dirent/alphasort64.c (alphasort64):
54762         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54763         * dirent/versionsort64.c: Likewise.
54764         * dirent/scandir64.c: Likewise.
54765         * dirent/scandirat64.c: Likewise.
54766         * sysdeps/wordsize-64/alphasort.c: File removed.
54767         * sysdeps/wordsize-64/alphasort64.c: File removed.
54768         * sysdeps/wordsize-64/scandir.c: File removed.
54769         * sysdeps/wordsize-64/scandir64.c: File removed.
54770         * sysdeps/wordsize-64/scandirat.c: File removed.
54771         * sysdeps/wordsize-64/scandirat64.c: File removed.
54772         * sysdeps/wordsize-64/versionsort.c: File removed.
54773         * sysdeps/wordsize-64/versionsort64.c: File removed.
54774         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54775         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54776         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54777         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54778         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54779         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54780         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54781         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54783         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54784         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54785         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54786         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54787         [defined __arch64__ || defined __sparcv9]
54788         (__INO_T_MATCHES_INO64_T): New macro.
54789         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54790         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54791         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54792         * sysdeps/unix/sysv/linux/bits/dirent.h
54793         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54794         (_DIRENT_MATCHES_DIRENT64): New macro.
54796         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54797         Define lockf64 as an alias.
54798         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54799         Define fseeko64 as an alias.
54800         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54801         Define ftello64 as an alias.
54802         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54803         Define _IO_fgetpos64 and fgetpos64 as aliases.
54804         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54805         Define _IO_fsetpos64 and fsetpos64 as aliases.
54806         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54807         Conditionalize body on this.
54808         * libio/fseeko64.c: Likewise.
54809         * libio/ftello64.c: Likewise.
54810         * libio/iofgetpos64.c: Likewise.
54811         * libio/iofsetpos64.c: Likewise.
54812         * sysdeps/wordsize-64/lockf.c: File removed.
54813         * sysdeps/wordsize-64/lockf64.c: File removed.
54814         * sysdeps/wordsize-64/fseeko.c: File removed.
54815         * sysdeps/wordsize-64/fseeko64.c: File removed.
54816         * sysdeps/wordsize-64/ftello.c: File removed.
54817         * sysdeps/wordsize-64/ftello64.c: File removed.
54818         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54819         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54820         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54821         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54822         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54823         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54824         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54825         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54826         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54827         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54828         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54829         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54830         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54831         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54833         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54835         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54836         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54837         [defined __arch64__ || defined __sparcv9]
54838         (__OFF_T_MATCHES_OFF64_T): New macro.
54839         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54840         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54842         (__OFF_T_MATCHES_OFF64_T): New macro.
54844 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54846         * stdlib/secure-getenv.c (__secure_getenv): Replace
54847         GLIBC_2_16 with GLIBC_2_17.
54849 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54851         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54852         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54854 2012-08-03  David S. Miller  <davem@davemloft.net>
54856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54858 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54860         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54861         Remove.
54862         (__ASSUME_CORRECT_SI_PID): Likewise.
54863         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54864         (__ASSUME_TMPFS_NAME): Likewise.
54865         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54866         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54867         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54868         (HAVE_AUX_SECURE): Make definition unconditional.
54869         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54870         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54872 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54874         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54875         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54876         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54877         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54878         __eloop_threshold instead of SYMLOOP_MAX.
54880         * sysdeps/generic/eloop-threshold.h: New file.
54881         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54882         of MAXSYMLINKS.
54883         * elf/chroot_canon.c (chroot_canon): Likewise.
54885 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54887         [BZ #13717]
54888         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54889         Change to 2.6.0 everywhere.
54890         * sysdeps/unix/sysv/linux/configure: Regenerated.
54891         * sysdeps/unix/sysv/linux/kernel-features.h
54892         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54893         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54894         kernel versions.
54895         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54896         (__ASSUME_FUTEX_REQUEUE): Remove.
54897         (__ASSUME_STATFS64): Define unconditionally.
54898         (__ASSUME_AT_SECURE): Likewise.
54899         (__ASSUME_CORRECT_SI_PID): Likewise.
54900         (__ASSUME_TGKILL): Define without depending on kernel version for
54901         i386.
54902         (__ASSUME_UTIMES): Likewise.
54903         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54904         kernel version.
54905         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54906         (__ASSUME_TMPFS_NAME): Likewise.
54907         * README: Update reference to Linux kernel versions.
54909 2012-08-02  Marek Polacek  <polacek@redhat.com>
54911         [BZ# 14150]
54912         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54913         libc_cv_asm_type_prefix with %.
54914         * configure: Regenerated.
54915         * include/libc-symbols.h: Remove comment about
54916         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54917         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54918         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54919         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54920         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54921         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54922         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54923         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54924         * elf/tst-unique2mod1.c: Likewise.
54925         * elf/tst-unique1mod2.c: Likewise.
54926         * elf/tst-unique1mod1.c: Likewise.
54927         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54928         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54929         Replace ASM_TYPE_DIRECTIVE with .type.
54930         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54931         * sysdeps/i386/sysdep.h: Likewise.
54932         * sysdeps/x86_64/sysdep.h: Likewise.
54933         * sysdeps/sh/sysdep.h: Likewise.
54934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54935         Do not define ASM_TYPE_DIRECTIVE.
54936         * sysdeps/powerpc/sysdep.h: Likewise.
54937         * sysdeps/powerpc/powerpc32/sysdep.h:
54938         Replace ASM_TYPE_DIRECTIVE with .type.
54939         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54940         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54941         * sysdeps/i386/fpu/e_powf.S: Likewise.
54942         * sysdeps/i386/fpu/e_expl.S: Likewise.
54943         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54944         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54945         * sysdeps/i386/fpu/e_pow.S: Likewise.
54946         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54947         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54948         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54949         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54950         * sysdeps/i386/fpu/e_log2.S: Likewise.
54951         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54952         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54953         * sysdeps/i386/fpu/e_powl.S: Likewise.
54954         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54955         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54956         * sysdeps/i386/fpu/e_logl.S: Likewise.
54957         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54958         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54959         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54960         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54961         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54962         * sysdeps/i386/fpu/e_log.S: Likewise.
54963         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54964         * sysdeps/i386/fpu/e_logf.S: Likewise.
54965         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54966         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54967         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54968         * sysdeps/i386/fpu/e_log10.S: Likewise.
54969         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54970         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54971         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54972         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54973         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54974         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54975         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54976         * sysdeps/i386/i686/strtok.S: Likewise.
54977         * sysdeps/i386/i386-mcount.S: Likewise.
54978         * sysdeps/i386/strtok.S: Likewise.
54979         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54980         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54981         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54982         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54983         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54984         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54985         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54986         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54987         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54988         * sysdeps/x86_64/_mcount.S: Likewise.
54989         * sysdeps/x86_64/strtok.S: Likewise.
54990         * sysdeps/sh/_mcount.S: Likewise.
54992 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54994         * libio/iofopen.c: Include <fcntl.h>.
54995         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54996         (_IO_fopen64, fopen64): Define as aliases.
54997         * libio/iofopen64.c: Include <fcntl.h>.
54998         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54999         Conditionalize body on this.
55000         * sysdeps/wordsize-64/iofopen.c: File removed.
55001         * sysdeps/wordsize-64/iofopen64.c: File removed.
55003 2012-08-01  Marek Polacek  <polacek@redhat.com>
55005         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55006         Use dlfcn directly instead of a variable.
55007         (binfmt-subdir): Do not define.
55008         (dlfcn): Likewise.
55010 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55013         Remove all definitions.
55014         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55015         <kernel-features.h>.
55016         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55017         (miss_F_GETOWN_EX): Remove all definitions.
55018         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55019         macro definition.
55020         [!__ASSUME_FCNTL64]: Remove conditional code.
55021         [__ASSUME_FCNTL64]: Make code unconditional.
55022         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55023         <kernel-features.h>.
55024         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55025         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55026         (lockf64) [__NR_fcntl64]: Make code unconditional.
55027         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55029         * sysdeps/unix/sysv/linux/kernel-features.h
55030         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55031         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55032         Make code unconditional.
55033         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55034         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55036         [__NR_vfork]: Make code unconditional.
55037         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55038         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55040         [__NR_vfork]: Make code unconditional.
55041         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55042         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55044 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55046         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55047         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55049         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55050         Define mkstemp64 as an alias.
55051         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55052         Define mkstemps64 as an alias.
55053         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55054         Define mkostemp64 as an alias.
55055         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55056         Define mkostemps64 as an alias.
55057         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55058         Conditionalize body on this.
55059         * misc/mkostemp64.c: Likewise.
55060         * misc/mkostemps64.c: Likewise.
55061         * misc/mkstemps64.c: Likewise.
55062         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55063         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55064         * sysdeps/wordsize-64/mkostemp.c: File removed.
55065         * sysdeps/wordsize-64/mkstemp.c: File removed.
55066         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55067         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55068         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55069         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55071         [BZ #14138]
55072         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55073         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55074         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55075         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55077         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55078         compat_symbol macros from <shlib-compat.h> rather than the underlying
55079         default_symbol_version and symbol_version macros, so that DEFAULT
55080         lines in shlib-versions are respected.
55081         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55083 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55085         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55086         Declare with warn_unused_result.
55087         (setgid, setregid, setegid, setresgid): Likewise.
55088         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55089         Likewise.
55090         * WUR-REPORT: Remove set*id functions.
55092 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55094         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55096 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55098         [BZ #10191]
55099         * include/sys/socket.h (__libc_accept, __libc_accept4):
55100         Add attribute_hidden.
55101         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55103         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55104         use of PTR_MANGLE.
55105         * inet/getnetgrent_r.c (setup): Likewise.
55107         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55109 2012-07-31  David S. Miller  <davem@davemloft.net>
55111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55113 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55115         [BZ #13629]
55116         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55117         value between 1.0 and 2.0 and smaller part has absolute value less
55118         than 1.0.
55119         * math/s_clog10.c (__clog10): Likewise.
55120         * math/s_clog10f.c (__clog10f): Likewise.
55121         * math/s_clog10l.c (__clog10l): Likewise.
55122         * math/s_clogf.c (__clogf): Likewise.
55123         * math/s_clogl.c (__clogl): Likewise.
55124         * math/libm-test.inc (clog_test): Add more tests.
55125         (clog10_test): Likewise.
55126         * sysdeps/i386/fpu/libm-test-ulps: Update.
55127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55129 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55131         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55132         Exit with zero in case no suitable GID is found, and write a
55133         message to standard error.
55135 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55137         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55138         rather than to 1.
55139         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55140         (MAXPATHLEN): Removed.
55141         (NOGROUP, NODEV): New macros.
55142         (setbit, clrbit, isset, isclr): New macros.
55143         (howmany, roundup, powerof2): New macros.
55144         (DEV_BSIZE): New macro.
55146         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55147         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55149         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55150         definition on [!__NO_LONG_DOUBLE_MATH].
55152         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55153         PTR_MANGLE and PTR_DEMANGLE.
55155         * socket/accept4.c (accept4): Rename to __libc_accept4.
55156         Define accept4 as a weak alias.
55158         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55159         on [_DIRENT_HAVE_D_TYPE].
55160         * io/ftw.c (ftw_dir): Likewise.
55162         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55164         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55166         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55167         Use the BSD numbers rather than the arbitrary ones we had.
55168         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55169         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55170         (SIGXCPU, SIGXFSZ): New macros.
55171         (_NSIG): Now 32.
55173         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55174         initializer on [_LIBC_REENTRANT].
55176         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55177         definitions inside [_POSIX_MAPPED_FILES].
55179         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55181         * dirent/opendir.c: Include <fcntl.h>.
55183         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55184         (__libc_getspecific): Likewise.
55185         (__libc_key_create): Likewise.
55187         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55188         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55189         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55190         (tmpfile64): Define as alias.
55191         * sysdeps/wordsize-64/tmpfile.c: File removed.
55192         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55193         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55194         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55196         * stdio-common/vfscanf.c: Include <stdbool.h>.
55197         * nss/makedb.c: Likewise.
55198         * stdio-common/_i18n_number.h: Likewise.
55199         * argp/argp-help.c: Likewise.
55200         * posix/wordexp.c: Likewise.
55201         * sysdeps/posix/spawni.c: Likewise.
55202         * nss/nss_files/files-initgroups.c: Likewise.
55203         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55204         * nss/nss_files/files-initgroups.c: Likewise.
55205         * nss/nss_db/db-netgrp.c: Likewise.
55206         * nss/nss_db/db-initgroups.c: Likewise.
55207         * io/fchmodat.c: Include <sys/stat.h>.
55209         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55210         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55212         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55213         [HAVE_MMAP].
55215         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55216         Add multiple inclusion protection.
55218 2012-07-27  David S. Miller  <davem@davemloft.net>
55220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55222 2012-07-27  Gary Benson  <gbenson@redhat.com>
55224         [BZ #14298]
55225         * elf/rtld.c: Include <stap-probe.h>.
55226         (dl_main): Added static probes "init_start" and "init_complete".
55227         * elf/dl-load.c: Include <stap-probe.h>.
55228         (lose): Take new parameter "nsid".
55229         Added static probe "map_failed".
55230         (_dl_map_object_from_fd): Pass namespace id to lose.
55231         Added static probe "map_start".
55232         (open_verify): Pass namespace id to lose.
55233         * elf/dl-open.c: Include <stap-probe.h>.
55234         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55235         and "reloc_complete".
55236         * elf/dl-close.c: Include <stap-probe.h>.
55237         (_dl_close_worker): Added static probes "unmap_start" and
55238         "unmap_complete".
55239         * elf/rtld-debugger-interface.txt: New file documenting the above.
55241 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55243         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55244         rather than a string variable.
55245         * sunrpc/rpc_main.c (h_output): Likewise.
55246         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55248 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55250         * inet/check_native.c: New file.
55252 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55254         [BZ #13629]
55255         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55256         if larger part has absolute value 1.0.
55257         * math/s_clog10.c (__clog10): Likewise.
55258         * math/s_clog10f.c (__clog10f): Likewise.
55259         * math/s_clog10l.c (__clog10l): Likewise.
55260         * math/s_clogf.c (__clogf): Likewise.
55261         * math/s_clogl.c (__clogl): Likewise.
55262         * math/libm-test.inc (clog_test): Add more tests.
55263         (clog10_test): Likewise.
55264         * sysdeps/i386/fpu/libm-test-ulps: Update.
55265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55267         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55268         (pltexit): Likewise.
55269         (La_regs): Likewise.
55270         (La_retval): Likewise.
55271         (int_retval): Likewise.
55272         Update #error for removed macros to refer only to definitions in
55273         tst-audit.h.
55274         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55275         macro.
55276         (pltexit): Likewise.
55277         (La_regs): Likewise.
55278         (La_retval): Likewise.
55279         (int_retval): Likewise.
55280         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55281         macro.
55282         (pltexit): Likewise.
55283         (La_regs): Likewise.
55284         (La_retval): Likewise.
55285         (int_retval): Likewise.
55286         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55287         macro.
55288         (pltexit): Likewise.
55289         (La_regs): Likewise.
55290         (La_retval): Likewise.
55291         (int_retval): Likewise.
55292         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55293         macro.
55294         (pltexit): Likewise.
55295         (La_regs): Likewise.
55296         (La_retval): Likewise.
55297         (int_retval): Likewise.
55298         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55299         macro.
55300         (pltexit): Likewise.
55301         (La_regs): Likewise.
55302         (La_retval): Likewise.
55303         (int_retval): Likewise.
55304         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55305         macro.
55306         (pltexit): Likewise.
55307         (La_regs): Likewise.
55308         (La_retval): Likewise.
55309         (int_retval): Likewise.
55310         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55311         macro definitions in tst-audit.h.
55312         * sysdeps/i386/tst-audit.h: New file.
55313         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55314         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55315         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55316         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55317         * sysdeps/sh/tst-audit.h: Likewise.
55318         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55319         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55320         * sysdeps/x86_64/tst-audit.h: Likewise.
55322 2012-07-26  Andreas Jaeger  <aj@suse.de>
55324         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55325         ptrace.
55327         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55328         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55329         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55330         PTRACE_O_MASK.
55331         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55332         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55333         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55335         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55336         value.
55338         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55339         _sigsys.
55340         (si_call_addr, si_syscall, si_arch): Define new macro.
55341         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55342         _sigsys.
55343         (si_call_addr, si_syscall, si_arch): Define new marcro.
55344         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55345         _sigsys.
55346         (si_call_addr, si_syscall, si_arch): Define new macro.
55347         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55348         _sigsys.
55349         (si_call_addr, si_syscall, si_arch): Define new macro.
55351 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55353         [BZ #13717]
55354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55355         Change to 2.4.21 where previously 2.4.1.
55356         * sysdeps/unix/sysv/linux/configure: Regenerated.
55357         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55358         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55359         Linux kernel version.
55360         (__ASSUME_STD_AUXV): Remove.
55361         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55362         kernel version.
55363         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55364         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55365         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55366         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55367         (__ASSUME_NETLINK_SUPPORT): Likewise.
55368         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55369         (__no_netlink_support): Remove conditional definition.
55370         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55371         Remove.
55372         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55373         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55374         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55375         (if_nameindex_ioctl): Remove.
55376         (if_nameindex_netlink): Do not handle __no_netlink_support.
55377         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55378         code.
55379         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55380         Remove conditional code.
55381         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55382         code.
55383         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55384         unconditional.
55385         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55386         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55387         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55388         Remove.
55389         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55390         [!__ASSUME_STD_AUXV]: Remove conditional code.
55391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55392         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55393         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55395         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55396         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55397         code.
55398         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55400         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55401         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55402         conditional code.
55403         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55405         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55406         code.
55407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55408         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55409         conditional code.
55410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55411         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55412         code unconditional.
55413         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55414         conditional code.
55415         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55416         unconditional.
55417         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55418         conditional code.
55419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55420         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55421         unconditional.
55422         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55423         conditional code.
55424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55425         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55426         code unconditional.
55427         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55428         conditional code.
55429         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55430         unconditional.
55431         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55432         conditional code.
55433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55434         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55435         code unconditional.
55436         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55437         conditional code.
55438         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55439         unconditional.
55440         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55441         conditional code.
55443 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55445         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55446         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55447         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55448         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55449         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55450         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55451         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55452         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55453         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55454         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55455         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55456         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55457         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55458         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55459         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55460         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55461         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55462         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55463         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55465         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55466         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55467         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55469 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55471         * Versions.def: Add GLIBC_2.17.
55472         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55473         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55474         Introduce __libc_secure_getenv.
55475         * stdlib/Versions (2.17): Add secure_getenv
55476         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55477         * stdlib/secure-getenv.c: Rename __secure_getenv to
55478         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55479         symbol __secure_getenv for GLIBC_2.0.
55480         * stdlib/tst-secure-getenv.c: New.
55481         * stdlib/Makefile (tests): Add testcase.
55482         * manual/startup.texi (Environment Access): Document
55483         secure_getenv.
55484         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55485         __libc_secure_getenv.
55486         * inet/ruserpass.c (ruserpass): Likewise.
55487         * malloc/mtrace.c (mtrace): Likewise.
55488         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55489         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55490         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55491         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55492         HAVE_SECURE_GETENV.
55493         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55494         __secure_getenv to __libc_secure_getenv.
55495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55497         Likewise.
55498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55499         Likewise.
55500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55502         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55508 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55510         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55511         (struct La_i86_retval): Likewise.
55512         (struct La_x86_64_regs): Likewise.
55513         (struct La_x86_64_retval): Likewise.
55514         (struct La_x32_regs): Likewise.
55515         (struct La_x32_retval): Likewise.
55516         (struct La_ppc32_regs): Likewise.
55517         (struct La_ppc32_retval): Likewise.
55518         (struct La_ppc64_regs): Likewise.
55519         (struct La_ppc64_retval): Likewise.
55520         (struct La_sh_regs): Likewise.
55521         (struct La_sh_retval): Likewise.
55522         (struct La_s390_32_regs): Likewise.
55523         (struct La_s390_32_retval): Likewise.
55524         (struct La_s390_64_regs): Likewise.
55525         (struct La_s390_64_retval): Likewise.
55526         (struct La_sparc32_regs): Likewise.
55527         (struct La_sparc32_retval): Likewise.
55528         (struct La_sparc64_regs): Likewise.
55529         (struct La_sparc64_retval): Likewise.
55530         (struct audit_ifaces): Remove architecture-specific pltenter and
55531         pltexit members.
55532         * sysdeps/i386/ldsodefs.h: New file.
55533         * sysdeps/powerpc/ldsodefs.h: Likewise.
55534         * sysdeps/s390/ldsodefs.h: Likewise.
55535         * sysdeps/sh/ldsodefs.h: Likewise.
55536         * sysdeps/sparc/ldsodefs.h: Likewise.
55537         * sysdeps/x86_64/ldsodefs.h: Likewise.
55539 2012-07-25  Marek Polacek  <polacek@redhat.com>
55541         [BZ #6808]
55542         * math/libm-test.inc (yn_test): Add another test.
55543         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55544         to ERANGE when the result is +-Inf.
55545         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55546         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55547         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55548         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55550 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55552         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55553         equal to 0.
55554         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55555         clock_t.
55556         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55558 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55560         * configure.in <sysdeps resolving>: Correct printing
55561         Implies_before.
55562         * configure: Regenerate.
55564 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55566         * math/w_ilogb.c: Include <limits.h>.
55567         * math/w_ilogbl.c: Likewise.
55569 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55571         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55572         va_copy.  Document allowing for unavailable va_copy only as
55573         pre-C99 compatibility.
55574         * manual/string.texi (Copying and Concatenation): Use va_copy
55575         instead of __va_copy in concat example.
55577 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55579         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55580         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55581         it if not null.
55583         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55584         with O_NOLINK passed to __file_name_lookup.
55586         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55587         with O_NOLINK passed to __file_name_lookup.
55589         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55590         negative N or less than NGIDS.
55592         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55593         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55594         enough.  Use memcpy instead of strncpy.
55596 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55598         * elf/Makefile (check-data): Remove.
55599         (localplt.data): New vpath directive.
55600         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55601         instead of $(check-data).
55602         * scripts/data/localplt-generic.data: Move to ...
55603         * sysdeps/generic/localplt.data: ... here.
55604         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55605         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55606         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55608         ... here.
55609         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55611         ... here.
55612         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55614         ... here.
55615         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55617         ... here.
55618         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55620         ... here.
55621         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55623         ... here.
55625 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55627         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55628         PPC32 and PPC64 files.
55629         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55630         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55632 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55634         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55635         __makecontext_ret to ...
55636         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55637         ... here and call exit if uc_link is NULL.  New file.
55638         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55639         __makecontext_ret.S.
55640         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55641         __makecontext_ret to ...
55642         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55643         ... here and call exit if uc_link is NULL.  New file.
55644         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55645         __makecontext_ret.S.
55647 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55649         * elf/elf.h (R_390_IRELATIVE): New definition.
55650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55651         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55652         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55653         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55654         (elf_machine_lazy_rel): Likewise.
55655         * sysdeps/s390/dl-irel.h: New file.
55656         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55657         * sysdeps/s390/s390-64/memset.S: New asm code.
55658         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55659         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55660         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55661         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55662         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55663         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55664         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55665         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55666         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55667         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55668         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55669         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55670         * sysdeps/s390/s390-32/memset.S: New asm code.
55671         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55673 2012-07-17  Marek Polacek  <polacek@redhat.com>
55675         [BZ #14349]
55676         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55677         * sysdeps/s390/s390-64/configure.in: Likewise.
55678         * sysdeps/sparc/configure.in: Likewise.
55679         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55680         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55681         * sysdeps/i386/configure.in: Likewise.
55682         * sysdeps/x86_64/configure.in: Likewise.
55683         * sysdeps/sh/configure.in: Likewise.
55684         * sysdeps/s390/s390-32/configure: Regenerated.
55685         * sysdeps/s390/s390-64/configure: Likewise.
55686         * sysdeps/x86_64/configure: Likewise.
55687         * sysdeps/sh/configure: Likewise.
55688         * sysdeps/powerpc/powerpc64/configure: Likewise.
55689         * sysdeps/powerpc/powerpc32/configure: Likewise.
55690         * sysdeps/sparc/configure: Likwise.
55691         * sysdeps/i386/configure: Likewise.
55693         * elf/dl-open.c: Comment fixes.
55695 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55697         * Makefile [CXX] (check-data): Remove.
55698         [CXX] (c++-types.data): New vpath directive.
55699         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55700         vpath.  Do not allow for C++ type data being missing.
55701         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55702         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55703         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55704         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55705         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55706         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55707         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55709         ... here.
55710         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55712         ... here.
55713         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55715         ... here.
55716         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55718         ... here.
55719         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55721         ... here.
55722         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55724         ... here.
55725         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55727         ... here.
55728         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55731         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55732         definitions to architecture-specific files.
55733         (TLS_IE): Likewise.
55734         (TLS_LD): Likewise.
55735         (TLS_GD): Likewise.
55736         * sysdeps/i386/tls-macros.h: New file.
55737         * sysdeps/powerpc/tls-macros.h: Likewise.
55738         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55739         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55740         * sysdeps/sh/tls-macros.h: Likewise.
55741         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55742         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55743         * sysdeps/x86_64/tls-macros.h: Likewise.
55745 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55747         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55748         zero value for regular exit case.
55750         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55751         (__start_context): Preserve zero value for regular exit case.
55753 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55754             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55756         * manual/setjmp.texi (setcontext): Clarify normal process
55757         termination when uc_link is the null pointer.
55758         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55759         exit call.
55761 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55763         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55764         preprocessor.  Test for each exception mask separately.
55766 2012-07-16  Andreas Jaeger  <aj@suse.de>
55768         * po/ru.po: Update from translation team.
55770 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55772         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55773         equal to 0.
55774         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55775         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55776         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55777         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55778         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55780 2012-07-13  Andreas Jaeger  <aj@suse.de>
55782         * po/fr.po: Update from translation team.
55784 2012-07-12  Marek Polacek  <polacek@redhat.com>
55786         [BZ #14173]
55787         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55788         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55789         loop condition.
55791 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55793         [BZ #13717]
55794         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55795         Change to 2.4.1 where previously 2.4.0.
55796         * sysdeps/unix/sysv/linux/configure: Regenerated.
55797         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55798         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55799         version.
55800         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55801         (__ASSUME_AT_CLKTCK): Remove.
55802         (__ASSUME_AT_PAGESIZE): Likewise.
55803         (__ASSUME_AT_XID): Likewise.
55804         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55805         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55806         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55807         unconditionally.
55808         (HAVE_AUX_PAGESIZE): Likewise.
55809         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55810         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55811         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55813 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55815         [BZ #14307]
55816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55817         the temporary buffer used to invoke __gethostbyname2_r,
55818         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55819         host_data / struct gaih_addrtuple.
55820         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55821         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55822         header file nss/nsswitch.h.
55823         * nss/nsswitch.h (global scope): Add definition of implementation
55824         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55825         resolv/nss_dns/dns-host.c).
55827 2012-07-11  Andreas Jaeger  <aj@suse.de>
55829         * po/fr.po: Update from translation team.
55831         * po/sv.po: Update from translation team
55832         * po/fr.po: Another update from translation team.
55834 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55836         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55837         for subnormals or multiply small sinh result by itself.
55838         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55841 2012-07-11  David S. Miller  <davem@davemloft.net>
55843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55845 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55847         [BZ #14347]
55848         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55849         (INTERNAL_MARK): Shift it here.
55851 2012-07-10  Marek Polacek  <polacek@redhat.com>
55853         [BZ #14151]
55854         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55855         libc_cv_asm_global_directive with .globl.
55856         * configure: Regenerated.
55857         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55858         with .globl.
55859         * sysdeps/i386/configure: Regenerated.
55860         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55861         with .globl.
55862         * sysdeps/x86_64/configure: Regenerated.
55863         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55864         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55865         * elf/tst-unique2mod2.c: Likewise.
55866         * elf/tst-unique2mod1.c: Likewise.
55867         * elf/tst-unique1mod2.c: Likewise.
55868         * elf/tst-unique1mod1.c: Likewise.
55869         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55870         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55871         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55872         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55873         * sysdeps/mach/sysdep.h: Likewise.
55874         * sysdeps/i386/sysdep.h: Likewise.
55875         * sysdeps/i386/i386-mcount.S: Likewise.
55876         * sysdeps/x86_64/_mcount.S: Likewise.
55877         * sysdeps/x86_64/sysdep.h: Likewise.
55878         * sysdeps/sh/_mcount.S: Likewise.
55879         * sysdeps/sh/sysdep.h: Likewise.
55880         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55881         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55882         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55883         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55884         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55885         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55886         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55887         * locale/localeinfo.h: Likewise.
55888         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55889         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55891 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55893         [BZ #14336]
55894         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55895         system".
55896         * manual/message.texi (The Uniforum approach): Likewise.
55897         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55898         (glibc iconv Implementation): Likewise.
55900 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55902         [BZ #14337]
55903         * math/s_clog.c (__clog): Avoid scaling a value down where that
55904         could result in underflow.
55905         * math/s_clog10.c (__clog10): Likewise.
55906         * math/s_clog10f.c (__clog10f): Likewise.
55907         * math/s_clog10l.c (__clog10l): Likewise.
55908         * math/s_clogf.c (__clogf): Likewise.
55909         * math/s_clogl.c (__clogl): Likewise.
55910         * math/libm-test.inc (clog_test): Add more tests.
55911         (clog10_test): Likewise.
55912         * sysdeps/i386/fpu/libm-test-ulps: Update.
55913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55915 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55917         [BZ #14283]
55918         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55919         by 7 not 8 to examine high bit of fractional part.
55921         [BZ #14042]
55922         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55923         for call to __mcount_internal.
55924         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55925         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55926         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55928 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55930         [BZ #14154]
55931         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55932         approximation for values within 0x1p-13f of an odd multiple of
55933         pi/4.
55934         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55935         exception.  Add more tests.
55936         * sysdeps/i386/fpu/libm-test-ulps: Update.
55938         [BZ #6778]
55939         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55940         inputs and return -1 for them.  Do not check for +Inf in case not
55941         reachable for +Inf.
55942         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55943         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55944         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55945         and return -1 for them.  Do not check for +Inf in case not
55946         reachable for +Inf.
55947         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55948         define.
55949         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55950         and return -1 for them.  Do not check for +Inf in case not
55951         reachable for +Inf.
55952         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55953         spurious underflow.
55954         * sysdeps/i386/fpu/libm-test-ulps: Update.
55955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55957 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55959         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55961 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55963         [BZ #14157]
55964         [BZ #14331]
55965         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55966         could result in spurious underflow.  Scale down values above
55967         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55968         * math/s_csqrtf.c (__csqrtf): Likewise.
55969         * math/s_csqrtl.c (__csqrtl): Likewise.
55970         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55971         spurious underflow.
55972         * sysdeps/i386/fpu/libm-test-ulps: Update.
55973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55975 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55977         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55978         xopen-msg.sed.
55979         * catgets/xopen-msg.awk: New file.
55980         * catgets/xopen-msg.sed: Removed.
55982         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55983         po2text.sed.
55984         * intl/po2test.awk: New file.
55985         * intl/po2test.sed: Removed.
55987 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55989         [BZ #14328]
55990         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55991         or multiply small sinh result by itself.
55992         * math/s_ctanf.c (__ctanf): Likewise.
55993         * math/s_ctanh.c (__ctanh): Likewise.
55994         * math/s_ctanhf.c (__ctanhf): Likewise.
55995         * math/s_ctanhl.c (__ctanhl): Likewise.
55996         * math/s_ctanl.c (__ctanl): Likewise.
55997         * math/libm-test.inc (ctan_test_tonearest): New function.
55998         (ctan_test_towardzero): Likewise.
55999         (ctan_test_downward): Likewise.
56000         (ctan_test_upward): Likewise.
56001         (ctanh_test_tonearest): Likewise.
56002         (ctanh_test_towardzero): Likewise.
56003         (ctanh_test_downward): Likewise.
56004         (ctanh_test_upward): Likewise.
56005         (main): Call these new functions.
56006         * sysdeps/i386/fpu/libm-test-ulps: Update.
56007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56009 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56011         * .gitignore: Delete /ports entry.
56013 2012-07-03  Andreas Jaeger  <aj@suse.de>
56015         * po/bg.po: Update from translation team.
56016         * po/cs.po: Likewise.
56017         * po/de.po: Likewise.
56018         * po/hr.po: Likewise.
56019         * po/nl.pl: Likewise.
56020         * po/pl.po: Likewise.
56021         * po/vi.po: Likewise.
56023 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56025         * Makeconfig [!+link] (+link-before-libc): New variable.
56026         [!+link] (+link-after-libc): Likewise.
56027         [!+link] (+link-tests): Likewise.
56028         [!+link] (+link): Define in terms of $(+link-before-libc) and
56029         $(+link-after-libc).
56030         [!+link-static] (+link-static-before-libc): New variable.
56031         [!+link-static] (+link-static-after-libc): Likewise.
56032         [!+link-static] (+link-static-tests): Likewise.
56033         [!+link-static] (+link-static): Define in terms of
56034         $(+link-static-before-libc) and $(+link-static-after-libc).
56035         [build-shared] (link-libc-before-gnulib): New variable.
56036         [build-shared] (link-libc-tests): Likewise.
56037         [build-shared] (link-libc): Define in terms of
56038         $(link-libc-before-gnulib).
56039         [!build-shared] (link-libc-tests): New variable.
56040         (link-libc-static-tests): New variable.
56041         [!gnulib] (gnulib-arch): New variable.
56042         [!gnulib] (gnulib-tests): Likewise.
56043         [!gnulib] (static-gnulib-arch): Likewise.
56044         [!gnulib] (static-gnulib-tests): Likewise.
56045         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56046         Define with "=" instead of ":=".
56047         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56048         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56049         * Rules (binaries-all-notests): New variable.
56050         (binaries-all-tests): Likewise.
56051         (binaries-static-notests): Likewise.
56052         (binaries-static-tests): Likewise.
56053         (binaries-all): Define using $(binaries-all-notests) and
56054         $(binaries-all-tests).
56055         (binaries-static): Define using $(binaries-static-notests) and
56056         $(binaries-static-tests).
56057         (binaries-shared-tests): New variable.
56058         (binaries-shared-notests): Likewise.
56059         (binaries-shared): Remove variable.
56060         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56061         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56062         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56063         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56064         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56065         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56066         * elf/Makefile (sln-modules): New variable.
56067         (extra-objs): Add $(sln-modules:=.o).
56068         (ldconfig-modules): Add static-stubs.
56069         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56070         * elf/static-stubs.c: New file.
56072         [BZ #14283]
56073         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56074         by 7 not 8 to examine high bit of fractional part.  Use volatile
56075         variables when splitting into final array of floats if
56076         __FLT_EVAL_METHOD__ != 0.
56077         * math/libm-test.inc (cos_test): Add another test.
56078         (sin_test): Likewise.
56079         * sysdeps/i386/fpu/libm-test-ulps: Update.
56081         [BZ #14273]
56082         * math/libm-test.inc (cosh_test): Add more tests.
56084         * version.h (RELEASE): Set to "development".
56085         (VERSION): Set to "2.16.90".
56087 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56089         * NEWS: Update copyright. Remove last-updated date.
56090         Mention math library bug fixes and timezone data changes.
56091         * README: Mention GNU/Hurd, x32, and HPPA support status.
56093 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56095         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56097 2012-06-27  Andreas Jaeger  <aj@suse.de>
56099         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56101 2012-06-25  Andreas Jaeger  <aj@suse.de>
56103         * sysdeps/s390/fpu/libm-test-ulps: Update.
56105 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56106             Thomas Schwinge  <thomas@codesourcery.com>
56108         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56109         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56111         fanotify_mark.
56113 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56115         * sysdeps/mach/start.c: Remove file.
56116         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56117         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56118         * sysdeps/sh/init-first.c: Likewise.
56120         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56121         registers for frame unwinding purposes, add CFI directives.
56122         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56123         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56124         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56125         Likewise.
56127         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56128         __fortify_fail returning.
56129         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56131         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56132         sysdeps/sh/____longjmp_chk.S.
56133         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56134         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56135         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56136         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56138         * sysdeps/sh/abort-instr.h: New file.
56139         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56140         process in case exit returns.
56142         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56143         initialize the GOT register before use.
56145         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56146         calculation of ARGC > 4.
56148         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56149         meaningful names to some local labels.
56151 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56152             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56154         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56155         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56156         (__arch_compare_and_exchange_val_16_acq): Likewise.
56157         (__arch_compare_and_exchange_val_32_acq): Likewise.
56158         (atomic_exchange_and_add): Fix gUSA sequence.
56159         (atomic_add): Likewise.
56160         (atomic_add_negative): Likewise.
56161         (atomic_add_zero): Likewise.
56162         (atomic_bit_test_set): Likewise.
56164 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56166         [BZ #13579]
56167         * include/link.h (struct link_map): Add l_free_initfini.
56168         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56169         l_initfini.
56170         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56171         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56172         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56173         set.
56175 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56177         * configure.in: Use AC_LANG_SOURCE.
56178         * configure: Regenerate.
56180 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56182         * configure.in (libc_cv_localstatedir): New substituted variable.
56183         * configure: Regenerated.
56184         * config.make.in (localstatedir): New variable, substituted from
56185         libc_cv_localstatedir.
56186         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56187         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56188         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56189         * sysdeps/gnu/configure: Regenerated.
56191 2012-06-21  Jeff Law  <law@redhat.com>
56193         [BZ #14277]
56194         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56195         free.  Simplify list management for _LIBC case.
56197 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56199         [BZ #14273]
56200         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56201         Clear sign bit of 64-bit integer value before comparing against
56202         overflow value.
56204         * sysdeps/mach/configure: Regenerated.
56206 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56208         [BZ #14278]
56209         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56211 2012-06-21  Jeff Law  <law@redhat.com>
56213         [BZ #13882]
56214         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56215         uint16_t for elements in the "seen" array to avoid char overflows.
56216         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56217         * elf/dl-open.c (dl_open_worker): Likewise.
56219 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56221         * scripts/list-sources.sh: Scan PORTS for translations.
56222         * po/libc.pot: Regenerated.
56224 2012-06-21  Andreas Jaeger  <aj@suse.de>
56226         [BZ #12194]
56227         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56228         warning.
56229         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56230         * bits/byteswap-16.h (__bswap_16): Likewise.
56231         * bits/byteswap.h (__bswap_constant_16): Likewise.
56233 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56235         [BZ #14117]
56236         * sysdeps/i386/fpu_control.h: Removed.
56237         * sysdeps/x86_64/fpu_control.h: Moved to ...
56238         * sysdeps/x86/fpu_control.h: Here.
56240         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56241         (_FPU_SETCW): Likewise.
56243 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56245         [BZ #14117]
56246         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56247         * sysdeps/x86/fpu/bits/mathinline.h: This.
56248         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56250         [BZ #14050]
56251         [BZ #14117]
56252         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56253         functions if __x86_64__ is defined.
56255 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56257         * string/endian.h: Add !__ASSEMBLER__ condition for including
56258         conversion interfaces.
56260 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56262         [BZ #14241]
56263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56264         of ABS(x) in calculating zero to negative powers other than odd
56265         integers.
56266         * math/libm-test.inc (pow_test): Add more tests.
56268 2012-06-15  Andreas Jaeger  <aj@suse.de>
56270         * manual/contrib.texi (Contributors): Update entry of Liubov
56271         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56272         Machado Filho.
56274 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56276         * string/string.h: Add __wur to GNU version of strerror_r.
56278 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56280         [BZ #14229]
56281         * string/Makefile (tests): Add tst-strtok_r.
56282         * string/tst-strtok_r.c: New file.
56283         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56284         RAX_LP/RDX_LP on SAVE_PTR.
56286 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56288         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56290 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56292         * libm_test.inc (csqrt_test): Allow more spurious underflow
56293         exceptions.
56294         (j0_test): Likewise.
56295         (j1_test): Likewise.
56296         (y0_test): Likewise.
56297         (y1_test): Likewise.
56299 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56301         * po/Makefile (libc.pot): Use UTF-8 charset.
56303 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56305         [BZ #14210]
56306         Suppress sign-conversion warning from FD_SET.
56307         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56308         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56309         not unsigned long int.
56310         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56312 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56314         [BZ #14050]
56315         [BZ #14117]
56316         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56317         __extern_always_inline instead of __extern_inline.
56318         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56319         (__signbit): Likewise.
56320         (__signbitl): Support C++ namespace.
56321         (lrintf): New inline function.
56322         (lrint): Likewise.
56323         (llrintf): Likewise.
56324         (llrint): Likewise.
56325         (fmaxf): Likewise.
56326         (fmax): Likewise.
56327         (fminf): Likewise.
56328         (fmin): Likewise.
56329         (rint): Likewise.
56330         (rintf): Likewise.
56331         (ceil): Likewise.
56332         (ceilf): Likewise.
56333         (floor): Likewise.
56334         (floorf): Likewise.
56335         (nearbyint): Likewise.
56336         (nearbyintf): Likewise.
56338 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56340         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56341         non-default versions.
56343 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56345         [BZ #14218]
56346         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56348 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56350         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56351         (FE_UPWARD, FE_DOWNWARD): Don't define.
56352         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56353         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56355         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56356         reading it.
56357         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56358         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56360 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56362         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56363         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56364         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56365         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56367 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56369         [BZ #14117]
56370         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56371         * sysdeps/i386/fpu/Implies: New file.
56372         * sysdeps/x86_64/fpu/Implies: Likewise.
56373         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56374         * sysdeps/x86/fpu/bits/fenv.h: This.
56376         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56377         __SSE_MATH__.
56379 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56381         [BZ #14134]
56382         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56383         character 0xffff that matches the last element of the
56384         conversion table.
56386 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56389         fmodl commit.
56391 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56393         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56394         values higher than 25.6283.
56396 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56398         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56399         subnormal exponent extraction and add some __builtin_expect.
56400         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56401         Fix for subnormal mantissa calculation.
56403 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56405         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56406         cpu2 is -1 and errno is not ENOSYS.
56408 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56410         [BZ #14117]
56411         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56412         * sysdeps/x86/bits/string.h: This.
56413         * sysdeps/x86_64/bits/string.h: Removed.
56415         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56416         if not compiling for x86-64, but compiling for >= i486.
56418         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56419         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56421         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56422         New macro from Linux kernel 3.4.0.
56423         (FP_XSTATE_MAGIC2): Likewise.
56424         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56425         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56426         (struct _fpx_sw_bytes): New struct.
56427         (struct _xsave_hdr): Likewise.
56428         (struct _ymmh_state): Likewise.
56429         (struct _xstate): Likewise.
56431         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56432         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56433         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56434         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56435         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56436         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56438         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56439         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56440         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56441         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56442         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56443         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56445 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56447         [BZ #13743]
56448         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56449         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56450         (sysdep_headers): Include sys/platform/ppc.h.
56451         * sysdeps/powerpc/test-gettimebase.c: Test for
56452         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56453         * manual/Makefile (appendices): Include platform.texi.
56454         * manual/contrib.texi (Contributors): Update @node pointers.
56455         * manual/maint.texi (Maintenance): Likewise.
56456         (Platform): New node.
56457         * manual/platform.texi: New file.  Document the new features.
56459 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56460             Jakub Jelinek  <jakub@redhat.com>
56462         [BZ #14188]
56463         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56464         where __builtin_expect is unavailable.
56466 2012-06-03  David S. Miller  <davem@davemloft.net>
56468         * stdlib/longlong.h: Updated from GCC.
56470 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56472         [BZ #14042]
56473         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56474         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56475         __mcount_internal.
56476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56477         (GLIBC_2.16): Likewise.
56479 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56481         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56483 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56486         (default-abi): New variable.
56487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56488         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56489         variable.
56490         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56491         Likewise.
56492         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56493         Likewise.
56494         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56495         Likewise.
56497         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56498         definition.  Document in comment.
56500 2012-06-01  David S. Miller  <davem@davemloft.net>
56502         * stdlib/longlong.h: Updated from GCC.
56504 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56506         [BZ #14117]
56507         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56508         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56509         sys/debugreg.h sys/io.h here.
56510         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56511         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56512         sys/io.h.
56513         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56514         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56515         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56516         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56517         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56518         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56520         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56521         Define only if __x86_64__ is defined.
56523 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56525         [BZ #14048]
56526         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56527         Use int64_t for variable i.
56528         * math/libm-test.inc (fmod_test): Add more tests.
56530         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56531         z computation is not scheduled after fetestexcept.
56532         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56533         Use math_force_eval instead of asm to ensure calculation scheduled
56534         before exception test.
56535         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56536         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56538 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56541         computation is not scheduled after fetestexcept.
56543 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56545         [BZ #14117]
56546         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56547         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56549 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56551         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56552         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56554 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56556         [BZ #14117]
56557         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56558         <bits/wordsize.h>.
56559         (__WCHAR_MIN): Support __WORDSIZE == 64.
56560         (__WCHAR_MAX): Likewise.
56562         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56565         [BZ #14183]
56566         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56567         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56569         [BZ #14117]
56570         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56571         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56573         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56574         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56576         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56577         Defined to 1 if __x86_64__ isn't defined.
56578         (_STAT_VER_LINUX_OLD): New.
56579         (st_atime): Remove duplicate.
56580         (st_mtime): Likewise.
56581         (st_ctime): Likewise.
56583 2012-05-31  David S. Miller  <davem@davemloft.net>
56585         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56586         entries.
56588 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56590         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56591         gen-libm-test.pl.
56593         [BZ #14132]
56594         * elf/dl-reloc.c: Include <_itoa.h>.
56595         (_dl_reloc_bad_type): Remove use of INTUSE.
56596         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56597         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56598         * stdio-common/psiginfo.c (psiginfo): Likewise.
56599         * stdio-common/psignal.c (psignal): Likewise.
56600         * string/strsignal.c (strsignal): Likewise.
56601         * include/signal.h (_sys_siglist): Declare hidden proto.
56602         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56603         INTVARDEF with libc_hidden_data_def.
56604         * stdio-common/itoa-udigits.c: Likewise.
56605         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56606         (_itoa_lower_digits_internal): Remove declaration.
56607         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56608         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56609         (_sys_sigabbrev_internal): Remove aliases.
56610         (_sys_siglist): Define hidden alias.
56612 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56615         bits/sysctl.h.
56617 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56619         [BZ #14117]
56620         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56621         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56623         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56624         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56625         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56626         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56627         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56628         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56630         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56631         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56632         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56634         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56635         with __addr.
56636         (insw): Likewise.
56637         (insl): Likewise.
56638         (outsb): Likewise.
56639         (outsw): Likewise.
56640         (outsl): Likewise.
56642         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56643         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56644         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56646         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56647         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56648         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56649         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56650         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56651         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56653         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56654         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56656         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56657         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56659         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56660         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56661         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56663         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56664         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56665         to ...
56666         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56668         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56669         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56670         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56672         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56673         for x86-64.
56674         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56676 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56678         * math/math.h (M_El): Use two more decimal places.
56679         (M_LOG2El): Likewise.
56680         (M_LOG10El): Likewise.
56681         (M_LN2l): Likewise.
56682         (M_LN10l): Likewise.
56683         (M_PIl): Likewise.
56684         (M_PI_2l): Likewise.
56685         (M_PI_4l): Likewise.
56686         (M_1_PIl): Likewise.
56687         (M_2_PIl): Likewise.
56688         (M_2_SQRTPIl): Likewise.
56689         (M_SQRT2l): Likewise.
56690         (M_SQRT1_2l): Likewise.
56692 2012-05-31  David S. Miller  <davem@davemloft.net>
56694         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56695         values between float registers.
56696         * sysdeps/sparc/sparc64/memset.S: Likewise.
56697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56699 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56701         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56702         -D_FORTIFY_SOURCE=1.
56703         (CPPFLAGS-tst-longjmp_chk.c): Define.
56704         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56705         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56706         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56707         CFLAGS-tst-wchar-h.c.
56709 2012-05-31  Marek Polacek  <polacek@redhat.com>
56711         [BZ #14132]
56712         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56713         __endmntent_internal): Remove declaration.
56714         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56715         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56716         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56718 2012-05-30  David S. Miller  <davem@davemloft.net>
56720         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56721         (___Q_simulate_exceptions): Use real FP ops rather than writing
56722         into the %fsr.
56723         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56724         Likewise.
56726 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56728         [BZ #14117]
56729         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56730         * sysdeps/x86/bits/xtitypes.h: This.
56732         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56733         * sysdeps/x86/bits/wordsize.h: This.
56735         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56736         * sysdeps/x86/bits/huge_vall.h: This.
56738         * sysdeps/i386/bits/select.h: Removed.
56739         * sysdeps/x86_64/bits/select.h: Renamed to ...
56740         * sysdeps/x86/bits/select.h: This.
56742         * sysdeps/i386/bits/setjmp.h: Removed.
56743         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56744         * sysdeps/x86/bits/setjmp.h: This.
56746         * sysdeps/i386/bits/mathdef.h: Removed.
56747         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56748         * sysdeps/x86/bits/mathdef.h: This.
56750 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56752         [BZ #14132]
56753         * include/sys/socket.h (__connect_internal)
56754         (__libc_sa_len_internal): Remove declaration.
56755         (__connect, __libc_sa_len): Declare hidden_proto.
56756         (SA_LEN): Remove use of INTUSE.
56757         * socket/connect.c: Add libc_hidden_def.
56758         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56759         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56760         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56761         alias.
56762         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56763         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56764         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56765         of adding _internal alias.
56767 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56769         [BZ #14117]
56770         * sysdeps/i386/bits/link.h: Removed.
56771         * sysdeps/i386/bits/linkmap.h: Likewise.
56772         * sysdeps/x86_64/bits/link.h: Renamed to ...
56773         * sysdeps/x86/bits/link.h: This.
56774         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56775         * sysdeps/x86/bits/linkmap.h: This.
56777         * sysdeps/i386/bits/endian.h: Removed.
56778         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56779         * sysdeps/x86/bits/endian.h: This.
56781         * sysdeps/i386/bits/byteswap.h: Removed.
56782         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56783         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56784         * sysdeps/x86/bits/byteswap.h: This.
56785         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56786         * sysdeps/x86/bits/byteswap-16.h: This.
56787         * sysdeps/i386/Implies: Add x86.
56788         * sysdeps/x86_64/Implies: Likewise.
56790 2012-05-30  David S. Miller  <davem@davemloft.net>
56792         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56793         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56794         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56795         (FP_TRAPPING_EXCEPTIONS): Define.
56796         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56797         (FP_TRAPPING_EXCEPTIONS): Define.
56798         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56799         subnormals only when inexact has been signalled or underflow
56800         exceptions are enabled.
56801         (_FP_PACK_CANONICAL): Likewise.
56803 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56805         [BZ #14183]
56806         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56807         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56809 2012-05-30  Richard Henderson  <rth@twiddle.net>
56811         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56812         with #ifndef NOT_IN_libc.
56814         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56815         marked to avoid plt entry.
56817 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56819         [BZ #14112]
56820         * Makeconfig (default-abi): New macro.
56821         (abi-includes): Likewise.
56822         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56823         $(abi-$(default-abi)-lib-soname) for soname if defined.
56824         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56825         abi-variants.
56826         * Makefile (installed-stubs): Likewise.
56827         * include/stubs-biarch.h: Removed.
56828         * scripts/lib-names.awk: Only handle one library at a time.
56829         * scripts/soversions.awk: Remove WORDSIZE support.
56830         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56831         entries.
56832         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56833         Removed.
56834         (syscall-list-default-condition): Likewise.
56835         (syscall-list-default-condition): Likewise.
56836         (syscall-list-includes): Likewise.
56837         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56838         syscall-list-* with abi-*.  Handle undefined abi-variants.
56839         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56840         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56841         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56842         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56843         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56844         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56845         Removed.
56846         (syscall-list-32-options): Likewise.
56847         (syscall-list-32-condition): Likewise.
56848         (syscall-list-64-options): Likewise.
56849         (syscall-list-64-condition): Likewise.
56850         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56851         macro.
56852         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56853         Renamed to ...
56854         (abi-*): This.
56855         (abi-64-ld-soname): New macro.
56856         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56857         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56858         Renamed to ...
56859         (abi-*): This.
56860         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56861         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56863 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56865         * sysdeps/unix/sysv/linux/kernel-features.h
56866         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56867         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56868         include <kernel-features.h>.
56869         [!__NR_ftruncate64]: Remove conditional code.
56870         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56871         [__NR_ftruncate64]: Make code unconditional.
56872         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56873         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56874         include <kernel-features.h>.
56875         [!__NR_ftruncate64]: Remove conditional code.
56876         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56877         [__NR_ftruncate64]: Make code unconditional.
56878         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56880         include <kernel-features.h>.
56881         [!__NR_ftruncate64]: Remove conditional code.
56882         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56883         [__NR_ftruncate64]: Make code unconditional.
56884         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56886         include <kernel-features.h>.
56887         [!__NR_ftruncate64]: Remove conditional code.
56888         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56889         [__NR_ftruncate64]: Make code unconditional.
56890         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56892         * configure.in (libc_cv_fpie): Weaken to a compile test using
56893         LIBC_TRY_CC_OPTION.
56894         * configure: Regenerated.
56896 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56902         Refreshed.
56903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56909         Refreshed.
56911 2012-05-27  David S. Miller  <davem@davemloft.net>
56913         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56914         (___Q_zero): New.
56915         (__Q_simulate_exceptions): Return void.  Change to simulate
56916         exceptions by writing into the %fsr.
56917         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56918         (__Qp_handle_exceptions): Likewise.
56919         (numbers): Delete.
56920         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56921         __Qp_handle_exceptions.
56922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56923         __Qp_handle_exceptions.
56924         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56925         as unused and give dummy FP_RND_NEAREST initializer.
56926         (FP_INHIBIT_RESULTS): Define.
56927         (___Q_simulate_exceptions): Update declaration.
56928         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56929         formatting.
56930         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56931         as unused and give dummy FP_RND_NEAREST initializer.
56932         (__Qp_handle_exceptions): Update declaration.
56933         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56934         formatting.
56936 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56938         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56939         the temporary FPU control word.
56940         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56941         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56942         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56943         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56944         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56945         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56946         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56947         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56948         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56949         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56950         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56952 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56954         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56955         fields.
56957 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56959         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56960         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56961         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56962         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56963         Likewise.
56964         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56965         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56966         Likewise.
56968 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56970         * po/h.po: Update from translation team.
56972 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56974         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56976         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56977         handling of denormals.
56978         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56979         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56980         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56981         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56984         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56985         Likewise.
56987 2012-05-26  Marek Polacek  <polacek@redhat.com>
56989         [BZ #14152]
56990         * math/libm-test.inc (fma_test): Don't always expect underflow
56991         exception.
56993 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56995         [BZ #12416]
56996         * elf/tst-execstack.c: Include stackinfo.h.
56997         (do_test): Adjust test case to ensure that pthread_getattr_np
56998         behaviour remains the same after marking stack executable.
57000 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57002         * sysdeps/unix/sysv/linux/kernel-features.h
57003         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57004         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57005         kernel-features.h.
57006         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57007         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57008         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57009         kernel-features.h.
57010         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57011         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57013 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57015         * configure.in: Define the default includes to being none.
57016         * configure: Regenerated.
57018 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57020         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57021         * sysdeps/x86_64/setjmp.S: Likewise.
57022         * sysdeps/i386/bsd-setjmp.S: Likewise.
57023         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57024         * sysdeps/i386/setjmp.S: Likewise.
57025         * sysdeps/i386/__longjmp.S: Likewise.
57026         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57027         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57029         * include/stap-probe.h: New file.
57030         * configure.in: Handle --enable-systemtap.
57031         * configure: Regenerated.
57032         * config.h.in (USE_STAP_PROBE): New #undef.
57033         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57034         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57035         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57037 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57039         [BZ #13717]
57040         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57041         to 2.4.0 where earlier.
57042         * sysdeps/unix/sysv/linux/configure: Regenerated.
57043         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57044         <kernel-features.h>.
57045         [__ASSUME_32BITUIDS]: Make code unconditional.
57046         [!__ASSUME_32BITUIDS]: Remove conditional code.
57047         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57048         <kernel-features.h>.
57049         [__ASSUME_32BITUIDS]: Make code unconditional.
57050         [!__ASSUME_32BITUIDS]: Remove conditional code.
57051         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57052         [__ASSUME_32BITUIDS]: Make code unconditional.
57053         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57054         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57055         <kernel-features.h>.
57056         [__ASSUME_32BITUIDS]: Make code unconditional.
57057         [!__ASSUME_32BITUIDS]: Remove conditional code.
57058         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57059         <kernel-features.h>.
57060         [__ASSUME_32BITUIDS]: Make code unconditional.
57061         [!__ASSUME_32BITUIDS]: Remove conditional code.
57062         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57063         <kernel-features.h>.
57064         [__ASSUME_32BITUIDS]: Make code unconditional.
57065         [!__ASSUME_32BITUIDS]: Remove conditional code.
57066         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57067         <kernel-features.h>.
57068         [__ASSUME_32BITUIDS]: Make code unconditional.
57069         [!__ASSUME_32BITUIDS]: Remove conditional code.
57070         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57071         <kernel-features.h>.
57072         [__ASSUME_32BITUIDS]: Make code unconditional.
57073         [!__ASSUME_32BITUIDS]: Remove conditional code.
57074         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57075         <kernel-features.h>.
57076         [__ASSUME_32BITUIDS]: Make code unconditional.
57077         [!__ASSUME_32BITUIDS]: Remove conditional code.
57078         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57079         <kernel-features.h>.
57080         [__ASSUME_32BITUIDS]: Make code unconditional.
57081         [!__ASSUME_32BITUIDS]: Remove conditional code.
57082         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57083         <kernel-features.h>.
57084         [__ASSUME_32BITUIDS]: Make code unconditional.
57085         [!__ASSUME_32BITUIDS]: Remove conditional code.
57086         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57087         <kernel-features.h>.
57088         [__ASSUME_32BITUIDS]: Make code unconditional.
57089         [!__ASSUME_32BITUIDS]: Remove conditional code.
57090         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57091         <kernel-features.h>.
57092         [__ASSUME_32BITUIDS]: Make code unconditional.
57093         [!__ASSUME_32BITUIDS]: Remove conditional code.
57094         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57095         <kernel-features.h>.
57096         [__NR_setresgid] (__setresgid): Do not declare.
57097         [__ASSUME_32BITUIDS]: Make code unconditional.
57098         [!__ASSUME_32BITUIDS]: Remove conditional code.
57099         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57100         <kernel-features.h>.
57101         [__NR_setresuid] (__setresuid): Do not declare.
57102         [__ASSUME_32BITUIDS]: Make code unconditional.
57103         [!__ASSUME_32BITUIDS]: Remove conditional code.
57104         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57105         <kernel-features.h>.
57106         [__ASSUME_32BITUIDS]: Make code unconditional.
57107         [!__ASSUME_32BITUIDS]: Remove conditional code.
57108         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57109         <kernel-features.h>.
57110         [__ASSUME_32BITUIDS]: Make code unconditional.
57111         [!__ASSUME_32BITUIDS]: Remove conditional code.
57112         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57113         <kernel-features.h>.
57114         [__ASSUME_32BITUIDS]: Make code unconditional.
57115         [!__ASSUME_32BITUIDS]: Remove conditional code.
57116         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57117         <kernel-features.h>.
57118         [__ASSUME_32BITUIDS]: Make code unconditional.
57119         [!__ASSUME_32BITUIDS]: Remove conditional code.
57120         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57121         <kernel-features.h>.
57122         [__ASSUME_32BITUIDS]: Make code unconditional.
57123         [!__ASSUME_32BITUIDS]: Remove conditional code.
57124         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57125         <kernel-features.h>.
57126         [__ASSUME_32BITUIDS]: Make code unconditional.
57127         [!__ASSUME_32BITUIDS]: Remove conditional code.
57128         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57129         <kernel-features.h>.
57130         [__ASSUME_32BITUIDS]: Make code unconditional.
57131         [!__ASSUME_32BITUIDS]: Remove conditional code.
57132         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57133         <kernel-features.h>.
57134         [__ASSUME_32BITUIDS]: Make code unconditional.
57135         [!__ASSUME_32BITUIDS]: Remove conditional code.
57136         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57137         <kernel-features.h>.
57138         [__ASSUME_32BITUIDS]: Make code unconditional.
57139         [!__ASSUME_32BITUIDS]: Remove conditional code.
57140         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57141         <kernel-features.h>.
57142         [__ASSUME_32BITUIDS]: Make code unconditional.
57143         [!__ASSUME_32BITUIDS]: Remove conditional code.
57144         * sysdeps/unix/sysv/linux/kernel-features.h
57145         (__ASSUME_SETRESUID_SYSCALL): Remove.
57146         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57147         (__ASSUME_32BITUIDS): Likewise.
57148         (__ASSUME_LDT_WORKS): Likewise.
57149         (__ASSUME_O_DIRECTORY): Likewise.
57150         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57151         architecture but not kernel version.
57152         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57153         (__ASSUME_MMAP2_SYSCALL): Likewise.
57154         (__ASSUME_STAT64_SYSCALL): Likewise.
57155         (__ASSUME_IPC64): Likewise.
57156         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57157         <kernel-features.h>.
57158         [__ASSUME_32BITUIDS]: Make code unconditional.
57159         [!__ASSUME_32BITUIDS]: Remove conditional code.
57160         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57161         <kernel-features.h>.
57162         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57163         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57164         132096]: Remove conditional code.
57165         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57166         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57167         <kernel-features.h>.
57168         [__ASSUME_32BITUIDS]: Make code unconditional.
57169         [!__ASSUME_32BITUIDS]: Remove conditional code.
57170         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57171         <kernel-features.h>.
57172         [__ASSUME_32BITUIDS]: Make code unconditional.
57173         [!__ASSUME_32BITUIDS]: Remove conditional code.
57174         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57175         <kernel-features.h>.
57176         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57177         unconditional.
57178         (__setresgid): Do not declare.
57179         [__ASSUME_32BITUIDS]: Make code unconditional.
57180         [!__ASSUME_32BITUIDS]: Remove conditional code.
57181         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57182         <kernel-features.h>.
57183         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57184         unconditional.
57185         (__setresuid): Do not declare.
57186         [__ASSUME_32BITUIDS]: Make code unconditional.
57187         [!__ASSUME_32BITUIDS]: Remove conditional code.
57188         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57189         <kernel-features.h>.
57190         [__ASSUME_32BITUIDS]: Make code unconditional.
57191         [!__ASSUME_32BITUIDS]: Remove conditional code.
57192         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57193         <kernel-features.h>.
57194         [__ASSUME_32BITUIDS]: Make code unconditional.
57195         [!__ASSUME_32BITUIDS]: Remove conditional code.
57197 2012-05-25  Richard Henderson  <rth@twiddle.net>
57199         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57200         dl_hwcap to ifunc resolver.
57201         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57202         elf_ifunc_invoke.
57203         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57204         dl_hwcap to ifunc resolver.
57205         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57207 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57209         [BZ #14153]
57210         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57211         for |x| <= 2**-26, not 2**-57.
57212         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57213         exception.
57215 2012-05-24  Jeff Law  <law@redhat.com>
57217         * stdio-common/Makefile (tests): Add bug25.
57218         * stdio-common/bug25.c: New test.
57220 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57222         [BZ #13576]
57223         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57224         multiple of MALLOC_ALIGNMENT in size.
57225         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57227 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57229         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57230         Require >= 256.
57231         (FILENAME_MAX): Use macro-int-constant.
57232         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57233         (_IOFBF): Use macro-int-constant.
57234         (_IOLBF): Likewise.
57235         (_IONBF): Likewise.
57236         (SEEK_CUR): Likewise.
57237         (SEEK_END): Likewise.
57238         (SEEK_SET): Likewise.
57239         (TMP_MAX): Likewise.
57240         (EOF): Use macro-int-constant.  Require < 0.
57241         (NULL): Use macro-constant.  Require == 0.
57242         (stdin): Require type to be FILE *.
57243         (stdout): Likewise.
57244         (stderr): Likewise.
57245         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57246         macro-int-constant.
57247         (EXIT_SUCCESS): Likewise.
57248         (NULL): Use macro-constant.  Require == 0.
57249         (RAND_MAX): Use macro-int-constant.
57250         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57251         [C99-based standards] (strtof): Require function.
57252         [C99-based standards] (strtold): Likewise.
57253         [C99-based standards] (strtoll): Likewise.
57254         [C99-based standards] (strtoull): Likewise.
57255         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57256         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57257         [ISO || ISO99 || ISO11] (math.h): Likewise.
57258         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57259         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57260         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57262 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57264         [BZ #14132]
57265         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57266         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57267         * intl/dgettext.c (DCGETTEXT): Likewise.
57268         * intl/gettext.c (DCGETTEXT): Likewise.
57269         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57270         * posix/regex_internal.h (gettext): Likewise.
57271         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57272         Remove declaration.
57273         * include/argz.h (__argz_count_internal)
57274         (__argz_stringify_internal): Remove declaration.
57275         (__argz_count, __argz_stringify): Declare hidden proto.
57276         * intl/dcgettext.c: Remove use of INTDEF.
57277         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57278         * string/argz-stringify.c: Likewise.
57279         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57280         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57281         Declare hidden proto.
57282         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57283         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57284         Declare hidden proto.
57285         * include/stdio.h (__asprintf_internal): Don't declare.
57286         (__asprintf): Don't define as macro.  Declare hidden proto.
57287         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57288         (__fsetlocking): Declare hidden proto.
57289         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57290         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57291         hidden proto.
57292         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57293         (_IO_setlinebuf): Remove use of INTUSE.
57294         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57295         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57296         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57297         Remove declaration.
57298         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57299         (_IO_do_flush): Remove use of INTUSE.
57300         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57301         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57302         (_IO_adjust_column, _IO_least_wmarker)
57303         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57304         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57305         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57306         (_IO_default_doallocate, _IO_wdefault_doallocate)
57307         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57308         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57309         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57310         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57311         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57312         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57313         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57314         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57315         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57316         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57317         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57318         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57319         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57320         proto.
57321         (_IO_flush_all_internal, _IO_adjust_column_internal)
57322         (_IO_default_uflow_internal, _IO_default_finish_internal)
57323         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57324         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57325         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57326         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57327         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57328         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57329         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57330         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57331         (_IO_file_close_internal, _IO_file_close_it_internal)
57332         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57333         (_IO_file_init_internal, _IO_file_attach_internal)
57334         (_IO_file_fopen_internal, _IO_file_read_internal)
57335         (_IO_file_sync_internal, _IO_file_seek_internal)
57336         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57337         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57338         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57339         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57340         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57341         (_IO_list_all_internal, _IO_link_in_internal)
57342         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57343         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57344         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57345         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57346         (_IO_do_write_internal, _IO_padn_internal)
57347         (_IO_getline_info_internal, _IO_getline_internal)
57348         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57349         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57350         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57351         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57352         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57353         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57354         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57355         with libc_hidden_ver, remove use of INTUSE.
57356         * libio/genops.c: Likewise.
57357         * libio/freopen.c: Likewise.
57358         * libio/freopen64.c: Likewise.
57359         * libio/iofclose.c: Likewise.
57360         * libio/iofdopen.c: Likewise.
57361         * libio/iofflush.c: Likewise.
57362         * libio/iofflush_u.c: Likewise.
57363         * libio/iofgets.c: Likewise.
57364         * libio/iofgets_u.c: Likewise.
57365         * libio/iofopen.c: Likewise.
57366         * libio/iofopncook.c: Likewise.
57367         * libio/iofread.c: Likewise.
57368         * libio/iofread_u.c: Likewise.
57369         * libio/ioftell.c: Likewise.
57370         * libio/iofwrite.c: Likewise.
57371         * libio/iogetline.c: Likewise.
57372         * libio/iogets.c: Likewise.
57373         * libio/iogetwline.c: Likewise.
57374         * libio/iopadn.c: Likewise.
57375         * libio/iopopen.c: Likewise.
57376         * libio/ioseekoff.c: Likewise.
57377         * libio/ioseekpos.c: Likewise.
57378         * libio/iosetbuffer.c: Likewise.
57379         * libio/iosetvbuf.c: Likewise.
57380         * libio/ioungetc.c: Likewise.
57381         * libio/ioungetwc.c: Likewise.
57382         * libio/iovdprintf.c: Likewise.
57383         * libio/iovsprintf.c: Likewise.
57384         * libio/iovsscanf.c: Likewise.
57385         * libio/memstream.c: Likewise.
57386         * libio/obprintf.c: Likewise.
57387         * libio/oldfileops.c: Likewise.
57388         * libio/oldiofclose.c: Likewise.
57389         * libio/oldiofdopen.c: Likewise.
57390         * libio/oldiofopen.c: Likewise.
57391         * libio/oldiopopen.c: Likewise.
57392         * libio/oldstdfiles.c: Likewise.
57393         * libio/putc.c: Likewise.
57394         * libio/setbuf.c: Likewise.
57395         * libio/setlinebuf.c: Likewise.
57396         * libio/stdfiles.c: Likewise.
57397         * libio/strops.c: Likewise.
57398         * libio/vasprintf.c: Likewise.
57399         * libio/vscanf.c: Likewise.
57400         * libio/vsnprintf.c: Likewise.
57401         * libio/vswprintf.c: Likewise.
57402         * libio/wfiledoalloc.c: Likewise.
57403         * libio/wfileops.c: Likewise.
57404         * libio/wgenops.c: Likewise.
57405         * libio/wmemstream.c: Likewise.
57406         * libio/wstrops.c: Likewise.
57407         * libio/__fpurge.c: Likewise.
57408         * libio/__fsetlocking.c: Likewise.
57409         * assert/assert.c: Likewise.
57410         * debug/fgets_chk.c: Likewise.
57411         * debug/fgets_u_chk.c: Likewise.
57412         * debug/fread_chk.c: Likewise.
57413         * debug/fread_u_chk.c: Likewise.
57414         * debug/gets_chk.c: Likewise.
57415         * debug/obprintf_chk.c: Likewise.
57416         * debug/vasprintf_chk.c: Likewise.
57417         * debug/vdprintf_chk.c: Likewise.
57418         * debug/vsnprintf_chk.c: Likewise.
57419         * debug/vsprintf_chk.c: Likewise.
57420         * malloc/mtrace.c: Likewise.
57421         * misc/error.c: Likewise.
57422         * misc/syslog.c: Likewise.
57423         * stdio-common/asprintf.c: Likewise.
57424         * stdio-common/fxprintf.c: Likewise.
57425         * stdio-common/getw.c: Likewise.
57426         * stdio-common/isoc99_fscanf.c: Likewise.
57427         * stdio-common/isoc99_scanf.c: Likewise.
57428         * stdio-common/isoc99_vfscanf.c: Likewise.
57429         * stdio-common/isoc99_vscanf.c: Likewise.
57430         * stdio-common/isoc99_vsscanf.c: Likewise.
57431         * stdio-common/printf-prs.c: Likewise.
57432         * stdio-common/printf_fp.c: Likewise.
57433         * stdio-common/printf_fphex.c: Likewise.
57434         * stdio-common/printf_size.c: Likewise.
57435         * stdio-common/putw.c: Likewise.
57436         * stdio-common/scanf.c: Likewise.
57437         * stdio-common/sprintf.c: Likewise.
57438         * stdio-common/tmpfile.c: Likewise.
57439         * stdio-common/vfprintf.c: Likewise.
57440         * stdio-common/vfscanf.c: Likewise.
57441         * stdlib/strfmon_l.c: Likewise.
57442         * sunrpc/openchild.c: Likewise.
57443         * sunrpc/xdr_stdio.c: Likewise.
57444         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57445         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57447 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57449         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57451         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57452         in the third column, to generate for the shared library an IFUNC
57453         that uses _dl_vdso_vsym.
57454         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57455         * Makeconfig (object-suffixes-noshared): New variable.
57457         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57458         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57459         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57460         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57462         [BZ #14132]
57463         * include/sys/time.h (__gettimeofday): Remove macro.
57464         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57465         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57466         Remove INTDEF.
57467         (__gettimeofday): Add libc_hidden_def.
57468         (gettimeofday): Add libc_hidden_weak.
57469         * sysdeps/mach/gettimeofday.c: Likewise.
57470         * sysdeps/posix/gettimeofday.c: Likewise.
57471         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57472         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57473         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57474         (__gettimeofday_internal): Remove strong_alias.
57475         (__gettimeofday): Add libc_hidden_def.
57476         (gettimeofday): Add libc_hidden_weak.
57477         * sysdeps/unix/syscalls.list (gettimeofday):
57478         Remove __gettimeofday_internal alias.
57480 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57481             H.J. Lu  <hongjiu.lu@intel.com>
57483         [BZ #12495]
57484         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57485         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57486         (largebin_index_32_big): New.
57487         (largebin_index): Use it for 16-byte alignment.
57488         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57489         correction with front_misalign.
57491 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57495         Likewise.
57496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57497         Likewise.
57498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57499         Likewise.
57500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57501         Likewise.
57502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57503         Likewise.
57504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57505         Likewise.
57506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57507         Likewise.
57508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57509         Likewise.
57510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57511         Likewise.
57512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57513         Likewise.
57514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57515         Likewise.
57516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57517         Likewise.
57519         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57520         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57522 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57524         [BZ #10846]
57525         [BZ #14036]
57526         * math/libm-test.inc (exp_test): Add test from bug 14036.
57527         (pow_test): Add test from bug 10846.
57529         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57530         and other flags.
57531         (special_function): Do not include flags in test name.
57532         (parse_args): Likewise.
57533         * sysdeps/i386/fpu/libm-test-ulps: Update.
57534         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57535         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57536         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57539         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57540         exceptions.
57541         * math/libm-test.inc ("Philosophy"): Update comment about
57542         exception testing.
57543         (UNDERFLOW_EXCEPTION): New macro.
57544         (UNDERFLOW_EXCEPTION_OK): Likewise.
57545         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57546         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57547         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57548         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57549         (INVALID_EXCEPTION_OK): Update value.
57550         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57551         (OVERFLOW_EXCEPTION_OK): Likewise.
57552         (IGNORE_ZERO_INF_SIGN): Likewise.
57553         (test_exceptions): Handle underflow exceptions.
57554         (acos_test): Update for underflow exception expectations.
57555         (cexp_test): Likewise.
57556         (clog_test): Likewise.
57557         (clog10_test): Likewise.
57558         (csqrt_test): Likewise.
57559         (ctan_test): Likewise.
57560         (ctanh_test): Likewise.
57561         (exp_test): Likewise.
57562         (exp10_test): Likewise.
57563         (exp2_test): Likewise.
57564         (expm1_test): Likewise.
57565         (fma_test): Likewise.
57566         (j0_test): Likewise.
57567         (jn_test): Likewise.
57568         (nexttoward_test): Likewise.
57569         (pow_test): Likewise.
57570         (scalbn_test): Likewise.
57571         (scalbln_test): Likewise.
57572         (tan_test): Likewise.
57573         (y1_test): Likewise.
57574         * sysdeps/i386/fpu/libm-test-ulps: Update.
57575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57577 2012-05-23  David S. Miller  <davem@davemloft.net>
57579         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57580         (__libc_sigaction): Remove unused local variables.
57582 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57584         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57586 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57588         mktime: avoid signed integer overflow
57589         * time/mktime.c (__mktime_internal): Do not mishandle the case
57590         where diff == INT_MIN.
57592         mktime: simplify computation of average
57593         * time/mktime.c (ranged_convert): Use new time_t_avg function
57594         instead of rolling our own (probably-slower) code.
57596         mktime: do not assume signed right shift propagates sign bit
57597         * time/mktime.c (isdst_differ): New static function.
57598         (__mktime_internal): No need to normalize tm_isdst now.
57599         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57600         tm_isdst values.
57602         mktime: merge another wrapv change from gnulib
57603         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57604         from some compilers.
57606         mktime: remove incorrect attempt at unusual arithmetics
57607         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57608         The code didn't really work on such machines anyway.
57609         (TYPE_MINIMUM): Assume two's complement.
57610         (twos_complement_arithmetic): Verify that long_int and time_t
57611         are two's complement (or unsigned, in the latter case).
57613         mktime: check signed shifts on long_int and time_t, too
57614         * time/mktime.c (SHR): Check that shifts work as desired
57615         on the types long_int and time_t too, as SHR is used on
57616         such types.
57618         mktime: do not assume 'long' is wide enough
57619         * time/mktime.c (verify): Move decl up.
57620         (long_int): New type.
57621         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57622         to remove assumption in the code that 'long' is wide enough to
57623         store year values.  This assumption is not true on x32 and on
57624         some non-glibc platforms.
57626         mktime: merge wrapv change from gnulib
57627         * time/mktime.c (WRAPV): New macro.
57628         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57629         (guess_time_tm, __mktime_internal): Do not assume that signed
57630         integer overflow wraps around; modern compilers generate code
57631         where this assumption is no longer valid.
57633 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57635         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57636         Replace "jmp L(pseudo_end)" with "ret".
57637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57638         Likewise.
57640 2012-05-23  Andreas Jaeger  <aj@suse.de>
57642         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57643         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57645 2012-05-23  Andreas Jaeger  <aj@suse.de>
57646             Maximilian Attems  <max@stro.at>
57648         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57649         New macros.
57651 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57653         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57654         code so that pseudo_end is just ret and the stack pointer is
57655         correct also for static library in error case.
57657 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57659         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57660         move to syscalls.list.
57661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57666         * manual/install.texi (Running make install): Do not mention Linux
57667         kernel version for which pt_chown is not needed.
57668         (Linux): Do not mention problems with nscd with 2.0 kernels.
57669         * INSTALL: Regenerated.
57671 2012-05-23  Andreas Jaeger  <aj@suse.de>
57673         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57674         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57675         macro.
57676         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57677         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57678         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57679         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57680         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57681         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57682         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57683         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57684         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57685         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57686         * sysdeps/unix/sysv/linux/bits/in.h
57687         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57689 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57691         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57692         (PREPARE_VERSION): Just use assert instead, it will be elided
57693         under [NDEBUG] anyway.
57695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57697         * sysdeps/unix/sysv/linux/Makefile: Include
57698         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57699         (sysdep_routines): Remove sysctl.
57700         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57701         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57702         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57703         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57704         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57706 2012-05-22  Andreas Jaeger  <aj@suse.de>
57708         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57709         that pseudo_end is just ret and the stack pointer is correct also
57710         for static library in error case.
57712 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57714         [BZ #14122]
57715         * nss/nsswitch.c (defconfig_entries): New variable.
57716         (__nss_database_lookup): Don't leak defconfig entries.
57717         (nss_parse_service_list): Don't leak on error paths.
57718         (free_database_entries): New function.
57719         (free_defconfig): New function.
57720         (free_mem): Move common code to free_database_entries.
57722 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57724         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57725         Add arch_prctl.
57726         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57728         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57729         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57731         New macro.
57732         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57733         (INTERNAL_SYSCALL_TYPES): Likewise.
57734         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57735         (LOAD_REGS_TYPES_[1-6]): Likewise.
57736         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57737         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57739 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57742         copysignl for GLIBC_2_0.
57743         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57744         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57746         logbl for GLIBC_2_0.
57747         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57748         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57750 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57752         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57753         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57755         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57756         Use "neg %eax".
57758         * time/mktime.c: Update copyright years.
57760 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57762         mktime: merge comment-quoting-style change from gnulib
57763         * time/mktime.c: Quote 'like this' in comments.
57764         The GNU coding standards suggest that we no longer quote `like this',
57765         as "`" and "'" are typically rendered asymmetrically nowadays.
57766         The typical gnulib style is to quote 'like this' when quoting
57767         code, and "like this" when quoting English.
57769         * time/mktime.c (compile-command): Add "-I.".
57771         mktime: merge mktime-internal.h change from gnulib
57772         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57774         mktime: merge time_r change from gnulib
57775         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57777         mktime: merge DEBUG change from gnulib
57778         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57779         case system <time.h> has a #define.
57781         mktime: merge <sys/types.h> change from gnulib
57782         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57783         since <time.t> is now guaranteed to define time_t.
57785         mktime: merge HAVE_CONFIG_H change from gnulib
57786         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57788 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57791         Use "neg %eax".
57793         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57794         __rlim_t cast.
57795         (struct rusage): Use anonymous union to pad each field to
57796         __syscall_slong_t.
57798 2012-05-21  David S. Miller  <davem@davemloft.net>
57800         * Makefules (o-iterator): Remove .s cases.
57801         (compile-command.s): Delete.
57802         (COMPILE.s): Delete.
57803         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57805 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57807         * configure.in (libc_cv_predef_stack_protector): Only consider
57808         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57809         * configure: Regenerated.
57811 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57814         New macro.  Use R*LP on int and pointer.
57815         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57816         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57817         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57818         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57820         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57821         [__WORDSIZE_TIME64_COMPAT32] instead of
57822         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57823         (struct utmp): Likewise.
57824         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57825         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57826         Renamed to ...
57827         (__WORDSIZE_TIME64_COMPAT32): This.
57828         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57829         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57830         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57831         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57832         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57833         (__WORDSIZE_TIME64_COMPAT32): New macro.
57835 2012-05-21  Andreas Jaeger  <aj@suse.de>
57837         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57838         only if [SHARED]. Add prototype for __wcschr_ia32.
57840 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57842         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57843         of %rbp unmolested in the jmp_buf while mangling the low bits.
57844         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57845         unmolested high bits of %rbp while demangling the low bits.
57846         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57848 2012-05-21  Andreas Jaeger  <aj@suse.de>
57850         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57851         * sunrpc/svc_simple.c: Use it for registerrpc.
57852         * sunrpc/xcrypt.c: Use it for passwd2des.
57854         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57856 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57858         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57859         Don't define if [__SYSCALL_WORDSIZE != 32].
57860         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57861         New macro.
57863 2012-05-21  Bruno Haible  <bruno@clisp.org>
57864             Andreas Jaeger  <aj@suse.de>
57866         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57867         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57868         inptr and inend for must_buffer_ch.
57869         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57870         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57871         * stdio-common/Makefile (tests): Remove bug15.
57872         (bug15-ENV): Remove macro.
57873         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57874         anymore.
57876 2012-05-19  Andreas Jaeger  <aj@suse.de>
57877             Roland McGrath  <roland@hack.frob.com>
57879         * manual/contrib.texi: Completely rewritten. It contains now an
57880         alphabetical list of contributors and their contributions.
57882 2012-05-21  Richard Henderson  <rth@twiddle.net>
57884         * misc/getauxval.c (__getauxval): Use unsigned long int.
57885         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57886         (getauxval): Use unsigned long int.
57888 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57890         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57892 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57894         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57895         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57896         __alignof__ (long double).
57898 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57902 2012-05-20  Richard Henderson  <rth@twiddle.net>
57904         * misc/getauxval.c: New file.
57905         * misc/sys/auxv.h: New file.
57906         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57907         (routines): Add getauxval.
57908         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57909         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57910         * elf/dl-sysdep.c (_dl_auxv): Remove.
57911         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57912         * elf/dl-support.c (_dl_auxv): New variable.
57913         (_dl_aux_init): Initialize it.
57914         * manual/startup.texi (Auxiliary Vector): New node.
57915         * sysdeps/generic/bits/hwcap.h: New file.
57916         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57917         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57918         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57919         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57920         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57921         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57923         Update.
57924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57927         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57933 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57937 2012-05-19  David S. Miller  <davem@davemloft.net>
57939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57941 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57943         [BZ #14123]
57944         * math/s_ccosh.c: Include <float.h>
57945         (__ccosh): Avoid internal overflow calculating sinh and cosh
57946         values before multiplying by sin and cos values.
57947         * math/s_ccoshf.c: Likewise.
57948         * math/s_ccoshl.c: Likewise.
57949         * math/s_csin.c: Likewise.
57950         * math/s_csinf.c: Likewise.
57951         * math/s_csinl.c: Likewise.
57952         * math/s_csinh.c: Likewise.
57953         * math/s_csinhf.c: Likewise.
57954         * math/s_csinhl.c: Likewise.
57955         * math/libm-test.inc (ccos_test): Add more tests.
57956         (ccosh_test): Likewise.
57957         (csin_test): Likewise.
57958         (csinh_test): Likewise.
57959         * sysdeps/i386/fpu/libm-test-ulps: Update.
57960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57962 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57964         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57965         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57967         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57969 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57971         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57972         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57973         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57974         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57975         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57976         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57977         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57978         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57979         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57980         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57981         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57982         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57983         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57984         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57985         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57986         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57987         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57988         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57989         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57990         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57991         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57992         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57993         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57994         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57995         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57996         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57997         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57998         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57999         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58000         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58001         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58003 2012-05-18  Andreas Jaeger  <aj@suse.de>
58005         * csu/.gitignore: Delete.
58007 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58009         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58010         (timex): Use __syscall_slong_t.
58012 2012-05-18  Andreas Jaeger  <aj@suse.de>
58013             Carlos O'Donell  <carlos_odonell@mentor.com>
58015         * manual/install.texi (Configuring and compiling): Update
58016         description about files modified in the source directory.
58017         * INSTALL: Regenerated.
58019 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58021         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58022         value.  Use "or" to set return value to -1.
58023         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58024         negate return value.
58026 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58028         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58029         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58030         failure if the compiler has Graphite support disabled.
58031         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58032         Likewise.
58033         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58034         (CFLAGS-memmove.c): Likewise.
58035         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58036         Likewise.
58038 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58040         * sysdeps/x86_64/x32/_itoa.h: New file.
58042         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58043         getdents system call only if kernel and user dirents have the
58044         same d_ino and d_off.
58046         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58047         LLONG_MAX != LONG_MAX.
58048         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58049         (_fitoa_word): Likewise.
58051         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58052         years.
58053         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58054         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58055         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58057         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58058         include <bits/wordsize.h>.  Check __x86_64__ instead of
58059         __WORDSIZE.
58060         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58061         if __x86_64__ is defined.  Use anonymous union on fpstate.
58063         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58064         anonymous union.
58066 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58068         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58069         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58070         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58071         Refer to _rtld_local_ro instead of _rtld_global_ro.
58072         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58073         Likewise.
58074         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58075         Likewise.
58076         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58077         Likewise.
58078         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58079         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58080         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58082         [BZ #10882]
58083         * sysdeps/powerpc/powerpc32/dl-machine.c
58084         (__elf_machine_runtime_setup) [PROF]: Don't reference
58085         _dl_prof_resolve.
58087 2012-05-18  Andreas Jaeger  <aj@suse.de>
58089         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58090         function only available for GCCs before 3.4 since GCC 3.4
58091         introduced a builtin.
58092         (lrint): Likewise.
58093         (llrintf): Likewise.
58094         (llrint): Likewise.
58095         (fmaxf): Likewise.
58096         (fmax): Likewise.
58097         (fminf): Likewise.
58098         (fmin): Likewise.
58099         (rint): Likewise.
58100         (rintf): Likewise.
58101         (nearbyint): Likewise.
58102         (nearbyintf): Likewise.
58103         (ceil): Likewise.
58104         (ceilf): Likewise.
58105         (floor): Likewise.
58106         (floorf): Likewise.
58108 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58110         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58111         on both fields and cast pointer to __syscall_ulong_t.
58113         * bits/types.h (__fsword_t): New type.
58114         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58115         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58116         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58117         (__FSWORD_T_TYPE): Likewise.
58118         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58119         (__FSWORD_T_TYPE): Likewise.
58120         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58121         (__FSWORD_T_TYPE): Likewise.
58122         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58123         (__FSWORD_T_TYPE): Likewise.
58124         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58125         __SWORD_TYPE with __fsword_t.
58126         (statfs64): Likewise.
58128 2012-05-17  David S. Miller  <davem@davemloft.net>
58130         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58132 2012-05-17  Andreas Jaeger  <aj@suse.de>
58134         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58135         warning.
58137 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58139         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58141 2012-05-17  Andreas Jaeger  <aj@suse.de>
58143         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58144         when it is used.
58146 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58148         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58150 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58152         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58153         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58155 2012-05-17  Andreas Jaeger  <aj@suse.de>
58156             Carlos O'Donell  <carlos_odonell@mentor.com>
58158         [BZ #14059]
58159         * sysdeps/x86_64/multiarch/init-arch.h
58160         (bit_YMM_Usable): Rename to...
58161         (bit_AVX_Usable): ... this.
58162         (bit_FMA4_Usable): New macro.
58163         (bit_XMM_state): New macro.
58164         (bit_YMM_state): New macro.
58165         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58166         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58167         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58168         (CPUID_OSXSAVE): New macro.
58169         (CPUID_AVX): New macro.
58170         (CPUID_FMA4): New macro.
58171         (index_YMM_Usable): Rename to...
58172         (index_AVX_Usable): ... this.
58173         (HAS_AVX): Use HAS_ARCH_FEATURE.
58174         (HAS_FMA4): Likewise.
58175         (HAS_YMM_USABLE): Remove.
58176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58177         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58178         are present.
58179         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58180         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58181         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58182         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58183         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58185 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58187         * math/libm-test.c: Support platforms without multiple rounding modes.
58188         * math/bug-nextafter.c: Support platforms without FP exceptions.
58189         * math/bug-nexttoward.c: Likewise.
58190         * math/test-fenv.c: Likewise.
58191         * math/test-misc.c: Likewise.
58192         * stdlib/bug-getcontext.c: Likewise.
58194 2012-05-17  Andreas Jaeger  <aj@suse.de>
58196         * manual/examples/search.c (critter_cmp): Change signature to
58197         avoid warnings.
58198         * manual/string.texi (Collation Functions): Likewise.
58200 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58202         * bits/types.h: Fold copyright years.
58203         * bits/typesizes.h: Likewise.
58204         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58206         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58207         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58208         * time/time.h: Likewise.
58210 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58212         [BZ #208]
58213         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58214         in instead of returning them.  Return void.
58215         (__libc_mallinfo): Accumulate over all arenas.
58216         (__malloc_stats): Adjust for change in int_mallinfo interface.
58218 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58220         [BZ #10375]
58221         * configure.in (NM): Add AC_CHECK_TOOL for it.
58222         (libc_extra_cflags): New substituted variable.
58223         Check for -fstack-protector being used implicitly.
58224         * configure: Regenerated.
58225         * config.make.in (config-extra-cflags): New variable,
58226         gets @libc_extra_cflags@.
58227         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58229         [BZ #10375]
58230         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58231         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58232         * configure: Regenerated.
58233         * config.make.in (CPPUNDEFS): New substituted variable.
58234         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58235         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58236         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58238 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58240         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58241         (mq_attr): Use __syscall_slong_t.
58243 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58245         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58246         Check __x86_64__ instead of __WORDSIZE.
58247         (_STAT_VER_LINUX): Likewise.
58248         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58249         __syscall_ulong_t and __syscall_slong_t.
58250         (stat64): Likewise.
58252 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58254         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58256 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58258         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58260 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58262         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58263         __syscall_ulong_t.
58265         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58266         include <bits/wordsize.h>.  Check __x86_64__ instead of
58267         __WORDSIZE.
58268         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58269         defined.
58270         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58272         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58273         include <bits/wordsize.h>.  Check __x86_64__ instead of
58274         __WORDSIZE.
58275         (user_regs_struct): Use "__extension__ unsigned long long"
58276         instead of "unsigned long" if __x86_64__ is defined.
58277         (user): Likewise.  Pad after pointer field if __ILP32__ is
58278         defined.
58280 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58282         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58283         versions 5 to 9.
58284         * configure: Regenerated.
58285         * manual/install.texi (texinfo): Increase version requirement to
58286         4.5 or later.
58287         * INSTALL: Regenerated.
58289         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58291 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58293         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58295         * sysdeps/x86_64/x32/ffs.c: New file.
58297         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58298         __syscall_ulong_t.
58299         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58300         defined.  Use __syscall_ulong_t.
58301         (shminfo): Use __syscall_ulong_t.
58302         (shm_info): Likewise.
58304         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58305         __syscall_ulong_t.
58307         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58308         <bits/wordsize.h>.
58309         (msgqnum_t): Use __syscall_ulong_t.
58310         (msglen_t): Likewise.
58311         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58312         __syscall_ulong_t.
58314         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58315         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58317         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58319         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58320         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58322         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58323         __syscall_slong_t.
58325         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58326         include <bits/wordsize.h>.  Check __x86_64__ instead of
58327         __WORDSIZE.
58329         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58330         "unsigned long long int" if __x86_64__ is defined.
58331         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58333         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58334         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58335         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58337         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58338         <stdint.h>.
58339         (GET_PC): Cast to uintptr_t first.
58340         (GET_FRAME): Likewise.
58341         (GET_STACK): Likewise.
58343         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58344         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58345         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58346         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58347         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58348         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58349         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58350         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58351         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58352         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58353         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58354         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58355         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58356         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58357         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58358         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58359         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58360         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58361         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58362         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58363         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58364         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58365         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58366         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58367         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58368         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58369         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58370         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58371         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58373 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58375         * Makerules (+depfiles): Also collect depfiles from .oS in
58376         $(extra-objs).
58377         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58378         .oS, $(libnldbl-routines)).
58380         * Makerules (native-compile-mkdep-flags): Define.
58381         * sunrpc/Makefile (extra-objs): Add $(addprefix
58382         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58383         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58384         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58385         calling $(make-target-directory).
58387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58389         * bits/types.h (__snseconds_t): Removed.
58390         * time/time.h (struct timespec): Replace __snseconds_t with
58391         __syscall_slong_t.
58392         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58393         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58394         Likewise.
58395         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58396         (__SNSECONDS_T_TYPE): Likewise.
58397         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58398         (__SNSECONDS_T_TYPE): Likewise.
58399         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58400         (__SNSECONDS_T_TYPE): Likewise.
58402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58404         * sysdeps/mach/hurd/bits/typesizes.h
58405         (__SYSCALL_SLONG_TYPE): New macro.
58406         (__SYSCALL_ULONG_TYPE): Likewise.
58408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58410         * bits/types.h (__syscall_slong_t): New type.
58411         (__syscall_ulong_t): Likewise.
58413         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58414         (__SYSCALL_ULONG_TYPE): Likewise.
58415         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58416         (__SYSCALL_SLONG_TYPE): Likewise.
58417         (__SYSCALL_ULONG_TYPE): Likewise.
58418         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58419         (__SYSCALL_SLONG_TYPE): Likewise.
58420         (__SYSCALL_ULONG_TYPE): Likewise.
58421         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58422         (__SYSCALL_SLONG_TYPE): Likewise.
58423         (__SYSCALL_ULONG_TYPE): Likewise.
58425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58427         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58428         Add sigaltstack-offsets.sym.
58429         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58430         <sigaltstack-offsets.h>.
58431         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58432         longjmp_msg pointer.
58433         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58434         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58435         signal stack.
58436         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58438 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58440         * elf/stackguard-macros.h: Remove file.
58441         * sysdeps/generic/stackguard-macros.h: New file.
58442         * sysdeps/i386/stackguard-macros.h: Likewise.
58443         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58444         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58445         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58446         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58447         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58448         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58449         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58450         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58451         <elf/stackguard-macros.h>.
58453         [BZ #14109]
58454         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58455         __aligned__ in attribute.
58456         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58457         (gregset_t): Likewise.
58459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58461         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58462         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58463         * sysdeps/x86_64/x32/Implies-after: New file.
58465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58467         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58468         and access return value for _dl_profile_fixup.  Use R10_LP to
58469         load frame size.
58471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58473         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58477         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58478         * sysdeps/x86_64/x32/sysdep.h: New file.
58480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58482         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58483         * sysdeps/x86_64/setjmp.S: Likewise.
58485 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58487         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58488         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58489         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58490         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58491         remove unused global constant.
58493 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58495         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58496         include of <not-cancel.h>.
58498 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58500         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58502 2012-05-15  Jeff Law  <law@redhat.com>
58503             Andreas Jaeger  <aj@suse.de>
58505         [BZ #13594]
58506         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58507         out from...
58508         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58509         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58510         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58511         code changing __hst_map_handle.map.
58513 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58515         * configure.in (sysnames): Look for Implies-before and Implies-after
58516         files.
58517         * configure: Regenerated.
58519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58521         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58522         8-byte data alignment with LP_SIZE alignment.
58524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58526         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58527         into R10_LP.
58529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58531         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58535         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58536         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58537         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58538         Likewise.
58539         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58543         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58544         (stackinfo_sub_sp): Likewise.
58546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58548         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58549         RAX_LP.
58551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58553         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58554         into R*_LP.
58556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58558         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58559         sizes into R*_LP.
58561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58563         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58567         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58568         into R11_LP and load __x86_64_shared_cache_size_half into
58569         R8_LP.
58571 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58573         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58574         R8_LP.
58576 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58578         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58579         logb for POWER7.
58580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58581         logbf for POWER7.
58582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58583         logbl for POWER7.
58584         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58585         powerpc32/power7/fpu/s_logb.c via #include.
58586         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58587         powerpc32/power7/fpu/s_logbf.c via #include.
58588         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58589         powerpc32/power7/fpu/s_logbl.c via #include.
58591 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58593         * README.libm: Remove file.
58595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58597         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58598         count for x32.  Use R*_LP and omit operand-size suffix.
58600 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58602         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58603         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58604         * sysdeps/x86_64/x32/shlib-versions: New file.
58606 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58608         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58609         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58610         Use _dl_fatal_printf instead.
58612 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58614         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58615         set if not set by the user.  Do not allow for being unset.
58616         * sysdeps/unix/sysv/linux/configure: Regenerated.
58618 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58620         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58621         the `q' suffix from lea and replace .quad with ASM_ADDR.
58623 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58626         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58627         instead of $17.
58628         (PTR_DEMANGLE): Likewise.
58630 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58632         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58633         (LP_OP): Likewise.
58634         (ASM_ADDR): Likewise.
58635         (RAX_LP): Likewise.
58636         (RBP_LP): Likewise.
58637         (RBX_LP): Likewise.
58638         (RCX_LP): Likewise.
58639         (RDI_LP): Likewise.
58640         (RSI_LP): Likewise.
58641         (RSP_LP): Likewise.
58642         (R8_LP): Likewise.
58643         (R9_LP): Likewise.
58644         (R10_LP): Likewise.
58645         (R10_LP): Likewise.
58646         (R11_LP): Likewise.
58647         (R12_LP): Likewise.
58648         (R13_LP): Likewise.
58649         (R14_LP): Likewise.
58650         (R15_LP): Likewise.
58652 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58654         * sysdeps/x86_64/x32/dl-machine.h: New file.
58656 2012-05-14  Andreas Jaeger  <aj@suse.de>
58658         * manual/Makefile (subdir): Remove export of subdir.
58659         (all): Remove target.
58660         (.PHONY): Remove all from list.
58661         (mkinstalldirs): Remove.
58662         (.PHONY): Remove installdirs from list.
58663         ($(inst_infodir)/libc.info): Use make-target-directory.
58664         (installdirs): Remove.
58665         (subdir_%): Remove.
58666         (glibc-targets): Remove.
58667         (lib): Remove.
58668         (stubs): Remove.
58669         ($(objpfx)stubs ../po/manual.pot): Remove.
58670         ($(objpfx)stamp%): Remove.
58671         (make-target-directory): Remove.
58672         (subdir_install): Remove.
58673         (routines): Remove.
58674         (aux): Remove.
58675         (sources): Remove.
58676         (objects): Remove.
58677         (headers): Remove.
58679         [BZ #13750]
58680         * manual/.gitignore: Remove, it's not needed anymore.
58681         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58682         all files in it.
58683         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58684         directory.
58685         (texis): Renamed to $(objpfx)texis.
58686         (texis-path): New, contains path to generated files.
58687         (chapters.%): Use texis-path for complete path, add extra argument
58688         libc-texinfo.sh.
58689         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58690         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58691         (summary,texi, stamp-summary): Use complete path of
58692         files. Generate files in build dir.
58693         (dir-add.texi): Build in build dir.
58694         (libm-err.texi,stamp-libm-err): Likewise.
58695         (version.texi, stamp-version): Likewise.
58696         (.%c.texi): Likewise.
58697         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58698         (mostlyclean): Remove target.
58699         (realclean): Remove target.
58700         (generated): Add new variable with contents from mostlyclean and
58701         realclean, remove entries duplicated in common-mostlyclean, add
58702         stamp-libm-err and stamp-version.
58703         (generated-dirs): Add libc directory.
58704         ($(inst_infodir)/libc.info): Install files from build dir.
58706         * manual/install.texi (Configuring and compiling): Adjust since
58707         the info files are not part of the tar ball anymore.
58709 2012-05-14  Andreas Jaeger  <aj@suse.de>
58711         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58712         variable.
58714 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58716         [BZ #13717]
58717         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58718         to 2.2.0 where earlier.
58719         * sysdeps/unix/sysv/linux/configure: Regenerated.
58720         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58721         Remove conditional code.
58722         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58723         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58724         Remove conditional code.
58725         [!__NR_lchown]: Likewise.
58726         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58727         [__NR_lchown]: Likewise.
58728         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58729         comment referencing __ASSUME_LCHOWN_SYSCALL.
58730         * sysdeps/unix/sysv/linux/i386/sigaction.c
58731         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58732         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58733         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58734         Remove conditional code.
58735         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58736         (__protocol_available): Remove #if 0 code.
58737         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58738         conditional code.
58739         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58740         * sysdeps/unix/sysv/linux/kernel-features.h
58741         (__ASSUME_GETCWD_SYSCALL): Don't define.
58742         (__ASSUME_REALTIME_SIGNALS): Likewise.
58743         (__ASSUME_PREAD_SYSCALL): Likewise.
58744         (__ASSUME_PWRITE_SYSCALL): Likewise.
58745         (__ASSUME_POLL_SYSCALL): Likewise.
58746         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58747         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58748         non-SPARC.
58749         (__ASSUME_SIOCGIFNAME): Don't define.
58750         (__ASSUME_MSG_NOSIGNAL): Likewise.
58751         (__ASSUME_SENDFILE): Define unconditionally.
58752         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58753         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58754         conditional code.
58755         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58756         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58757         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58758         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58759         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58760         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58761         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58763         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58764         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58766         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58767         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58769         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58770         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58772         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58773         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58775         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58776         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58778         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58779         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58781         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58782         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58784         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58785         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58786         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58787         Remove conditional code.
58788         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58789         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58790         Remove conditional code.
58791         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58792         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58793         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58794         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58795         Remove conditional code.
58796         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58797         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58798         Remove conditional code.
58799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58800         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58801         Remove conditional code.
58802         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58803         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58804         Remove conditional code.
58805         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58806         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58807         Remove conditional code.
58808         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58809         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58810         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58811         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58812         * sysdeps/unix/sysv/linux/sigaction.c
58813         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58814         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58815         * sysdeps/unix/sysv/linux/sigpending.c
58816         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58817         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58818         * sysdeps/unix/sysv/linux/sigprocmask.c
58819         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58820         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58821         * sysdeps/unix/sysv/linux/sigsuspend.c
58822         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58823         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58824         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58825         (__libc_missing_rt_sigs): Remove.
58826         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58827         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58828         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58829         Remove conditional code.
58830         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58831         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58832         return 1.
58833         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58834         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58835         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58836         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58838 2012-05-14  Andreas Jaeger  <aj@suse.de>
58840         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58841         it's not used in glibc.
58842         (__coshm1): Likewise.
58843         (__acosh1p): Likewise.
58844         (__sgn): Likewise.
58846         * manual/string.texi (Copying and Concatenation): Add missing
58847         variable in concat example.
58848         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58850 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58852         [BZ #14103]
58853         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58854         __builtin_clzl with __builtin_clzll.
58856 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58858         [BZ #14104]
58859         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58860         libc_freeres_ptr.
58862 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58864         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58865         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58866         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58867         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58869 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58871         * NEWS: Update ia64 info.
58873 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58875         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58876         used as bcopy.
58878 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58880         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58881         * sysdeps/unix/syscalls.list (dup3): Likewise.
58882         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58883         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58885 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58887         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58888         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58890 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58892         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58893         thread pointer.
58894         (TLS_IE): Use mov/add instead of movq/addq to load thread
58895         pointer.
58896         (TLS_GD_PREFIX): New.
58897         (TLS_GD): Use it.
58899 2012-05-11  David S. Miller  <davem@davemloft.net>
58901         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58902         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58903         (_FPU_SETCW): Likewise.
58905 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58907         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58908         is 32-byte aligned.
58910 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58912         [BZ #11837]
58913         * iconvdata/gb18030.c: Update tables.
58914         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58915         characters specially.
58916         (BODY for TO_LOOP): Add encoding of missing ranges.
58918 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58920         [BZ #13673]
58921         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58922         * sysdeps/mach/hurd/dup3.c: Likewise.
58923         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58924         * sysdeps/powerpc/memmove.c:: Likewise.
58926 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58928         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58929         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58931 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58933         * elf/elf.h (R_X86_64_RELATIVE64): New.
58934         (R_X86_64_NUM): Updated.
58935         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58936         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58937         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58938         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58939         tst-quad1pie tst-quad2pie
58940         (modules-names): Add tst-quadmod1 tst-quadmod2.
58941         ($(objpfx)tst-quad1): New dependency.
58942         ($(objpfx)tst-quad2): Likewise.
58943         ($(objpfx)tst-quad1pie): Likewise.
58944         ($(objpfx)tst-quad2pie): Likewise.
58945         * sysdeps/x86_64/tst-quad1.c: New file.
58946         * sysdeps/x86_64/tst-quad1pie.c: New file.
58947         * sysdeps/x86_64/tst-quad2.c: Likewise.
58948         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58949         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58950         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58951         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58952         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58956         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58957         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58958         * streams/stropts.h (t_scalar_t): Define type.
58960         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58961         (_PATH_PRESERVE): Set to "/var/lib".
58962         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58964         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58965         instead of int.
58967         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58968         if __dir_mkfile succeeded.
58970         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58971         checking for _hurd_dtablesize.  Unlock it right after having
58972         finished _hurd_dtable allocation.
58974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58976         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58977         * sysdeps/mach/hurd/configure: Regenerated.
58978         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58979         special-casing to...
58980         * sysdeps/gnu/configure.in: ... this new file.
58981         * sysdeps/unix/sysv/linux/configure: Regenerated.
58982         * sysdeps/gnu/configure: New generated file.
58984         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58985         for Linux: use nsec instead of usec, as well as:
58986         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58987         members of type struct timespec.
58988         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58989         New macros.
58990         (struct stat64): Likewise.
58991         (_STATBUF_ST_NSEC): New macro.
58992         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58994         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58995         __strtoul_internal rather than strtoul.
58997 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58999         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59000         and reject them.
59002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59004         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59005         which preserves existing values.
59006         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59008 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59010         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59011         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59012         greater than FD_SETSIZE.
59014 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59016         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59017         allocated, call __vm_protect to finish enabling the existing space, and
59018         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59019         allocate the remainder.
59021 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59023         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59024         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59028         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59029         sysdeps/mach/hurd/readlink.c.
59031         * posix/tst-sysconf.c (posix_options): Only use
59032         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59033         _POSIX_SYNCHRONIZED_IO when they are defined
59034         * sysdeps/mach/hurd/bits/posix_opt.h:
59035         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59036         (_XOPEN_REALTIME): Undefine macro.
59037         (_XOPEN_REALTIME_THREADS): Undefine macro.
59038         (_XOPEN_SHM): Undefine macro.
59039         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59040         macro to -1.
59041         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59042         macro to -1.
59043         (_POSIX_ASYNC_IO): Undefine macro.
59044         (_POSIX_PRIORITIZED_IO): Undefine macro.
59045         (_POSIX_SPIN_LOCKS): Define macro to -1.
59047         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59048         SA_NODEFER, SA_RESETHAND.
59049         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59050         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59051         F_DUPFD_CLOEXEC.
59053 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59055         * elf/Makefile (pldd-modules): Define unconditionally.
59057 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59059         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59063         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59064         Return ENOENT when name is empty.
59065         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59069         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59071         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59075         Fix mlock in all cases except non-readable pages.
59076         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59077         instead of VM_PROT_ALL as parameter to __vm_wire function.
59079         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59080         (__mkdir): When path is `/', just fail with EEXIST.
59081         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59085         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59086         <sys/uio.h> (for writev).
59087         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59088         and <sys/param.h> (for MIN).
59090 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59092         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59093         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59094         if interrupted.
59096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59098         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59099         Depend on against $(link-rpcuserlibs).
59101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59103         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59104         (__libc_stack_end): Do not use attribute_relro.
59105         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59106         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59107         to libthread-provided value.
59108         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59109         attribute_relro.
59111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59113         [BZ #3748]
59114         * bits/libc-lock.h (__libc_once_get): New macro.
59115         * sysdeps/mach/bits/libc-lock.h: Likewise.
59116         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59117         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59118         instead of using implementation details.
59120         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59121         * libio/freopen.c: Likewise.
59122         * libio/freopen64.c: Likewise.
59123         * misc/syslog.c: Likewise.
59124         * nscd/connections.c: Likewise.
59125         * nscd/netgroupcache.c: Likewise.
59126         * sysdeps/posix/getcwd.c: Likewise.
59128 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59130         * math/w_ilogbf.c: Add #include <limits.h>.
59132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59134         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59135         path instead of returning without unlocking.
59137         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59138         immediate-write ioctls.
59139         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59141 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59143         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59144         __builtin_frame_address instead of making assumptions about the
59145         location of the return address relative to DATA.  Force early load of
59146         the return address.
59147         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59148         __builtin_frame_address.
59150         dup3 for GNU Hurd.
59151         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59152         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59153         implement dup3 and do some further code clean-ups.
59154         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59155         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59157 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59159         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59161         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59162         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59163         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59164         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59165         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59166         d->port.lock.
59168         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59169         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59170         when handler == SIG_ERR, not when handler != SIG_ERR.
59172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59174         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59175         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59176         definitions.
59178         accept4 for GNU Hurd.
59179         * include/sys/socket.h (__libc_accept4): New prototype.
59180         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59181         to implement __libc_accept4.
59182         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59183         __libc_accept4.
59184         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59186         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59187         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59188         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59189         signal-defines.sym.
59191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59193         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59195 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59197         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59198         assertion on O_CLOEXEC flag.
59199         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59200         * hurd/intern-fd.c: Likewise.
59201         * hurd/port2fd.c: Likewise.
59203 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59205         [BZ #3906]
59206         * bits/in.h (IPV6_PKTINFO): Define new macro.
59207         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59209 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59211         [BZ #13954]
59212         [BZ #13955]
59213         [BZ #13956]
59214         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59215         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59216         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59217         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59218         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59219         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59220         * math/libm-test.inc (logb_test) : Additional logb tests.
59222 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59223             Andreas Jaeger  <aj@suse.de>
59225         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59226         * configure: Regenerated.
59227         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59228         * config.make.in (link-obsolete-rpc): New substituted variable.
59229         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59230         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59231         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59232         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59233         so that libc.a contains the symbols.
59234         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59235         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59236         * sunrpc/auth_none.c: Likewise.
59237         * sunrpc/auth_unix.c: Likewise.
59238         * sunrpc/authdes_prot.c: Likewise.
59239         * sunrpc/authuxprot.c: Likewise.
59240         * sunrpc/clnt_gen.c: Likewise.
59241         * sunrpc/clnt_perr.c: Likewise.
59242         * sunrpc/clnt_raw.c: Likewise.
59243         * sunrpc/clnt_simp.c: Likewise.
59244         * sunrpc/clnt_tcp.c: Likewise.
59245         * sunrpc/clnt_udp.c: Likewise.
59246         * sunrpc/clnt_unix.c: Likewise.
59247         * sunrpc/des_crypt.c: Likewise.
59248         * sunrpc/des_soft.c: Likewise.
59249         * sunrpc/get_myaddr.c: Likewise.
59250         * sunrpc/key_call.c: Likewise.
59251         * sunrpc/key_prot.c: Likewise.
59252         * sunrpc/netname.c: Likewise.
59253         * sunrpc/pm_getmaps.c: Likewise.
59254         * sunrpc/pm_getport.c: Likewise.
59255         * sunrpc/pmap_clnt.c: Likewise.
59256         * sunrpc/pmap_prot.c: Likewise.
59257         * sunrpc/pmap_prot2.c: Likewise.
59258         * sunrpc/pmap_rmt.c: Likewise.
59259         * sunrpc/publickey.c: Likewise.
59260         * sunrpc/rpc_cmsg.c: Likewise.
59261         * sunrpc/rpc_common.c: Likewise.
59262         * sunrpc/rpc_dtable.c: Likewise.
59263         * sunrpc/rpc_prot.c: Likewise.
59264         * sunrpc/rpc_thread.c: Likewise.
59265         * sunrpc/rtime.c: Likewise.
59266         * sunrpc/svc.c: Likewise.
59267         * sunrpc/svc_auth.c: Likewise.
59268         * sunrpc/svc_raw.c: Likewise.
59269         * sunrpc/svc_run.c: Likewise.
59270         * sunrpc/svc_tcp.c: Likewise.
59271         * sunrpc/svc_udp.c: Likewise.
59272         * sunrpc/svc_unix.c: Likewise.
59273         * sunrpc/svcauth_des.c: Likewise.
59274         * sunrpc/xcrypt.c: Likewise.
59275         * sunrpc/xdr.c: Likewise.
59276         * sunrpc/xdr_array.c: Likewise.
59277         * sunrpc/xdr_float.c: Likewise.
59278         * sunrpc/xdr_intXX_t.c: Likewise.
59279         * sunrpc/xdr_mem.c: Likewise.
59280         * sunrpc/xdr_rec.c: Likewise.
59281         * sunrpc/xdr_ref.c: Likewise.
59282         * sunrpc/xdr_sizeof.c: Likewise.
59283         * sunrpc/xdr_stdio.c: Likewise.
59285 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59288         change.  Update copyright years.
59290 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59292         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59294 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59295             Joseph Myers  <joseph@codesourcery.com>
59296             Paul Pluzhnikov  <ppluzhnikov@google.com>
59298         [BZ #14012]
59299         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59300         requiring rpcgen.
59301         [cross-compiling] (extra-libs): Likewise.
59302         [cross-compiling] (extra-libs-others): Likewise.
59303         [cross-compiling] (librpcsvc-routines): Likewise.
59304         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59305         [cross-compiling] (omit-deps): Likewise.
59306         (sunrpc-CPPFLAGS): New variable.
59307         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59308         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59309         (cross-rpcgen-objs): New variable.
59310         (extra-objs): Append $(cross-rpcgen-objs).
59311         ($(cross-rpcgen-objs)): New rule.
59312         ($(objpfx)cross-rpcgen): Likewise.
59313         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59314         comment.
59315         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59316         ($(objpfx)x%.stmp): Likewise.
59317         * sunrpc/proto.h [IS_IN_build] (_): Define.
59318         [IS_IN_build] (_libc_intl_domainname): Likewise.
59320 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59322         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59323         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59324         and R_X86_64_TPOFF64.
59326 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59328         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59329         sysdeps/unix/sysv/syscalls.list.
59330         (stime): Likewise.
59331         (utime): Likewise.
59332         * sysdeps/unix/sysv/syscalls.list: Remove file.
59334 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59336         [BZ #3440]
59337         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59338         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59339         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59340         (__LC_IDENTIFICATION): Make these macros useful in #if
59341         expressions, as required by C99.
59343 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59345         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59346         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59347         after this.
59349 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59351         * stdlib/longlong.h: Updated from GCC.
59353 2012-05-09  Andreas Jaeger  <aj@suse.de>
59355         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59356         default is first entry.
59357         (run_mode): Set type.
59358         (main): Remove informal message about syslog.
59359         (options): Fix typo.
59361         [BZ #14053]
59362         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59363         to asm.
59364         (lrint): Likewise.
59365         (llrintf): Likewise.
59366         (llrint): Likewise.
59367         (rint): Likewise.
59368         (rintf): Likewise.
59369         (nearbyint): Likewise.
59370         (nearbyintf): Likewise.
59372 2012-05-09  Andreas Jaeger  <aj@suse.de>
59373             Pedro Alves  <palves@redhat.com>
59375         * nscd/nscd.c (run_mode): Use enum.
59376         (main): Cleanup coding style issue.
59378 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59379             Andreas Jaeger  <aj@suse.de>
59381         * nscd/nscd.c (go_background): Replaced with...
59382         (run_mode): ... this.
59383         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59384         (options): Add -F --foreground.
59385         (main): Implement it.
59386         (parse_opt): Parse it.
59388 2012-05-09  Andreas Jaeger  <aj@suse.de>
59390         [BZ #14083]
59391         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59392         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59393         -Wconversion warning.
59394         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59395         Likewise.
59397 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59399         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59400         == 0.
59401         (LC_ALL): Use macro-int-constant.
59402         (LC_COLLATE): Likewise.
59403         (LC_CTYPE): Likewise.
59404         (LC_MESSAGES): Likewise.
59405         (LC_MONETARY): Likewise.
59406         (LC_NUMERIC): Likewise.
59407         (LC_TIME): Likewise.
59408         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59409         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59411         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59412         Specify type.
59413         [C99-based standards] (float_t): Expect type.
59414         [C99-based standards] (double_t): Expect type.
59415         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59416         type.
59417         [C99-based standards] (HUGE_VALL): Likewise.
59418         [C99-based standards] (INFINITY): Likewise.
59419         [C99-based standards] (NAN): Likewise.
59420         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59421         [C99-based standards] (FP_NAN): Likewise.
59422         [C99-based standards] (FP_NORMAL): Likewise.
59423         [C99-based standards] (FP_SUBNORMAL): Likewise.
59424         [C99-based standards] (FP_ZERO): Likewise.
59425         [C99-based standards] (FP_FAST_FMA): Use
59426         optional-macro-int-constant.  Specify type.  Require == 1.
59427         [C99-based standards] (FP_FAST_FMAF): Likewise.
59428         [C99-based standards] (FP_FAST_FMAL): Likewise.
59429         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59430         [C99-based standards] (FP_ILOGBNAN): Likewise.
59431         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59432         Specify type.
59433         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59434         [C99-based standards] (math_errhandling): Specify type.
59435         [ISO99 || ISO11] (signgam): Do not allow.
59436         [non-C99-based standards] (copysignf): Do not allow.
59437         [non-C99-based standards] (exp2f): Likewise.
59438         [non-C99-based standards] (log2f): Likewise.
59439         [non-C99-based standards] (modff): Allow.
59440         [non-C99-based standards] (erff): Do not allow.
59441         [non-C99-based standards] (erfcf): Likewise.
59442         [non-C99-based standards] (gammaf): Likewise.
59443         [non-C99-based standards] (hypotf): Likewise.
59444         [non-C99-based standards] (j0f): Likewise.
59445         [non-C99-based standards] (j1f): Likewise.
59446         [non-C99-based standards] (jnf): Likewise.
59447         [non-C99-based standards] (lgammaf): Likewise.
59448         [non-C99-based standards] (tgammaf): Likewise.
59449         [non-C99-based standards] (y0f): Likewise.
59450         [non-C99-based standards] (y1f): Likewise.
59451         [non-C99-based standards] (ynf): Likewise.
59452         [non-C99-based standards] (isnanf): Likewise.
59453         [non-C99-based standards] (acoshf): Likewise.
59454         [non-C99-based standards] (asinhf): Likewise.
59455         [non-C99-based standards] (atanhf): Likewise.
59456         [non-C99-based standards] (cbrtf): Likewise.
59457         [non-C99-based standards] (expm1f): Likewise.
59458         [non-C99-based standards] (ilogbf): Likewise.
59459         [non-C99-based standards] (log1pf): Likewise.
59460         [non-C99-based standards] (logbf): Likewise.
59461         [non-C99-based standards] (nextafterf): Likewise.
59462         [non-C99-based standards] (remainderf): Likewise.
59463         [non-C99-based standards] (rintf): Likewise.
59464         [non-C99-based standards] (scalbf): Likewise.
59465         [non-C99-based standards] (copysignl): Likewise.
59466         [non-C99-based standards] (exp2l): Likewise.
59467         [non-C99-based standards] (log2l): Likewise.
59468         [non-C99-based standards] (modfl): Allow.
59469         [non-C99-based standards] (erfl): Do not allow.
59470         [non-C99-based standards] (erfcl): Likewise.
59471         [non-C99-based standards] (gammal): Likewise.
59472         [non-C99-based standards] (hypotl): Likewise.
59473         [non-C99-based standards] (j0l): Likewise.
59474         [non-C99-based standards] (j1l): Likewise.
59475         [non-C99-based standards] (jnl): Likewise.
59476         [non-C99-based standards] (lgammal): Likewise.
59477         [non-C99-based standards] (tgammal): Likewise.
59478         [non-C99-based standards] (y0l): Likewise.
59479         [non-C99-based standards] (y1l): Likewise.
59480         [non-C99-based standards] (ynl): Likewise.
59481         [non-C99-based standards] (isnanl): Likewise.
59482         [non-C99-based standards] (acoshl): Likewise.
59483         [non-C99-based standards] (asinhl): Likewise.
59484         [non-C99-based standards] (atanhl): Likewise.
59485         [non-C99-based standards] (cbrtl): Likewise.
59486         [non-C99-based standards] (expm1l): Likewise.
59487         [non-C99-based standards] (ilogbl): Likewise.
59488         [non-C99-based standards] (log1pl): Likewise.
59489         [non-C99-based standards] (logbl): Likewise.
59490         [non-C99-based standards] (nextafterl): Likewise.
59491         [non-C99-based standards] (remainderl): Likewise.
59492         [non-C99-based standards] (rintl): Likewise.
59493         [non-C99-based standards] (scalbl): Likewise.
59494         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59495         [non-C99-based standards] (FP_*): Do not allow.
59496         [C99-based standards] (FP_*): Change to
59497         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59498         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59499         allow.
59500         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59501         (SIG_ERR): Likewise.
59502         [X/Open-based standards] (SIG_HOLD): Likewise.
59503         (SIG_IGN): Likewise.
59504         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59505         positive value.
59506         (SIGFPE): Likewise.
59507         (SIGILL): Likewise.
59508         (SIGINT): Likewise.
59509         (SIGSEGV): Likewise.
59510         (SIGTER): Likewise.
59511         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59512         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59513         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59514         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59515         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59516         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59517         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59518         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59519         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59520         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59521         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59522         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59523         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59524         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59525         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59526         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59527         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59528         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59529         [X/Open-based standards] (SIGTRAP): Likewise.
59530         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59531         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59532         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59533         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59534         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59535         allow.
59537 2012-05-08  Ian Wienand  <ianw@vmware.com>
59539         [BZ #14080]
59540         * time/tzset.c (__tzset_parse_tz): Update default rules for
59541         daylight time changes in the Energy Policy Act of 2005.
59543 2012-05-09  Andreas Jaeger  <aj@suse.de>
59545         [BZ #13983]
59546         * elf/ldconfig.c (parse_conf): Change string to make clear that
59547         ldconfig only issued a warning if ld.so.conf does not exist.
59549 2012-05-08  David S. Miller  <davem@davemloft.net>
59551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59552         movxtod instead of popping the value on the stack.
59554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59556 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59558         * config.h.in: Add HAVE_ARM_PCS_VFP.
59560 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59562         [BZ #13979]
59563         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59564         checking but the checks are disabled for any reason.
59566 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59568         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59569         and ELF64_R_TYPE with ELFW(R_TYPE).
59571 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59573         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59574         (ulimit): Likewise.
59576         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59577         (settimeofday): Likewise.
59579 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59581         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59582         a struct th_u2 inside the union, and move tu_block/tu_code into
59583         a new th_u3 union of tu_block/tu_code inside of that.  Move
59584         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59585         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59586         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59587         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59588         (th_stuff): Change to th_u1.tu_stuff.
59589         (th_data): Define.
59590         (th_msg): Change to th_u1.th_u2.tu_data.
59592 2012-05-07  David S. Miller  <davem@davemloft.net>
59594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59596         [BZ #14074]
59597         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59598         (SETUP_PIC_REG): Use it.
59599         (SETUP_PIC_REG_LEAF): Use it.
59601 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59603         [BZ #13885]
59604         [BZ #13923]
59605         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59606         USE_AS_EXPM1L.
59607         (EXPL_FINITE): Likewise.
59608         (FLDLOG): Likewise.
59609         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59610         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59611         e_expl.S.
59612         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59613         USE_AS_EXPM1L.
59614         (EXPL_FINITE): Likewise.
59615         (FLDLOG): Likewise.
59616         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59617         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59618         e_expl.S.
59619         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59620         test of -max_value argument for long double.
59621         * sysdeps/i386/fpu/libm-test-ulps: Update.
59622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59624 2012-05-06  David S. Miller  <davem@davemloft.net>
59626         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59627         quad soft-float symbols whose references which are compiler
59628         generated.
59629         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59631 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59633         [BZ #13884]
59634         [BZ #13914]
59635         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59636         USE_AS_EXP10L.
59637         (EXPL_FINITE): Likewise.
59638         (FLDLOG): Likewise.
59639         (c0): Likewise.
59640         (c1): Likewise.
59641         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59642         Adjust comments for base varying.
59643         (__expl_finite): Change alias to EXPL_FINITE.
59644         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59645         e_expl.S.
59646         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59647         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59648         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59649         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59650         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59651         USE_AS_EXP10L.
59652         (EXPL_FINITE): Likewise.
59653         (FLDLOG): Likewise.
59654         (c0): Likewise.
59655         (c1): Likewise.
59656         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59657         Adjust comments for base varying.
59658         (__expl_finite): Change alias to EXPL_FINITE.
59659         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59660         tests for bugs.
59661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59663         [BZ #14064]
59664         * math/libm-test.inc (check_float_internal): Correct ulp
59665         calculation for subnormal expected results.
59667 2012-05-06  Andreas Jaeger  <aj@suse.de>
59669         * Makeconfig (+math-flags): New, set to -frounding-math.
59670         (+cflags): Add +math-flags so that all of glibc gets compiled with
59671         it.
59673         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59675 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59677         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59678         Disable one test.
59680         [BZ #13787]
59681         [BZ #13922]
59682         [BZ #14036]
59683         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59684         (__ieee754_expl): Allow for and saturate large arguments.
59685         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59686         (u_threshold): Likewise.
59687         (__exp): Call __ieee754_exp before checking for overflow and
59688         underflow.
59689         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59690         (u_threshold): Likewise.
59691         (__expf): Call __ieee754_expf before checking for overflow and
59692         underflow.
59693         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59694         (u_threshold): Likewise.
59695         (__expl): Call __ieee754_expl before checking for overflow and
59696         underflow.
59697         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59698         (__ieee754_expl): Allow for and saturate large arguments.
59699         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59700         missing overflow exception on overflow.
59701         (expm1_test): Do not allow missing overflow exception on overflow.
59703         * sysdeps/i386/fpu/e_expl.c: Move to ...
59704         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59705         rather than using inline asm.
59706         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59707         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59708         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59710         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59711         (nice): Likewise.
59712         (poll): Likewise.
59713         (signal): Likewise.
59714         (time): Likewise.
59715         (times): Likewise.
59717 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59719         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59720         sysdeps/unix/common/syscalls.list.
59721         (fchmod): Likewise.
59722         (fchown): Likewise.
59723         (ftruncate): Likewise.
59724         (getrusage): Likewise.
59725         (gettimeofday): Likewise.
59726         (setpgid): Likewise.
59727         (setregid): Likewise.
59728         (setreuid): Likewise.
59729         (sigaction): Likewise.
59730         (truncate): Likewise.
59731         (vhangup): Likewise.
59732         * sysdeps/unix/common/syscalls.list: Remove file.
59733         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59734         * sysdeps/unix/sysv/linux/Implies: Likewise.
59736 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59738         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59740         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59741         Moved to ...
59742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59743         Here.
59744         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59745         to ...
59746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59747         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59748         to ...
59749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59750         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59751         to ...
59752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59753         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59754         to ...
59755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59756         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59757         to ...
59758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59759         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59760         to ...
59761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59762         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59763         to ...
59764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59765         Here.
59766         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59767         to ...
59768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59769         Here.
59770         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59771         to ...
59772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59773         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59774         Moved to ...
59775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59776         Here.
59777         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59778         to ...
59779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59781 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59783         * sysdeps/unix/common/bits/dirent.h: Remove file.
59784         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59786         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59787         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59788         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59789         * sysdeps/unix/bsd/isatty.c: Likewise.
59790         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59791         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59792         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59794 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59796         [BZ #13563]
59797         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59798         long double comparison inaccuracies.
59799         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59802 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59804         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59805         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59807 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59809         [BZ #14049]
59810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59811         nonzero digits before rounding a hex value.
59812         * stdlib/tst-strtod.c (tests): Add another test.
59814 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59816         * sysdeps/s390/fpu/libm-test-ulps: Update.
59818 2012-05-03  Andreas Jaeger  <aj@suse.de>
59820         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59821         does not get optimized out.
59822         (malloc_opt_barrier): New.
59824 2012-05-03  Andreas Jaeger  <aj@suse.de>
59825             Roland McGrath  <roland@hack.frob.com>
59827         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59828         intermediate file deletion.
59829         (generated): Add .symlist files.
59831 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59833         [BZ #13775]
59834         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59835         Redirect under this condition.
59836         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59837         [__USE_GNU] (__dprintf_chk): Not under this condition.
59838         [__USE_GNU] (__vdprintf_chk): Likewise.
59839         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59840         under this condition.
59841         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59842         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59843         [__USE_XOPEN2K8] (vdprintf): Likewise.
59844         [__USE_GNU] (__dprintf_chk): Not under this condition.
59845         [__USE_GNU] (__vdprintf_chk): Likewise.
59846         [__USE_GNU] (dprintf): Likewise.
59847         [__USE_GNU] (vdprintf): Likewise.
59849 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59851         * elf/Makefile (common-generated): Set this instead of generated for
59852         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59853         $(all-built-dso)-derived lists.
59855 2012-05-03  Andreas Jaeger  <aj@suse.de>
59857         * sysdeps/i386/fpu/libm-test-ulps: Update.
59859         * FAQ: Removed.
59860         * FAQ.in: Likewise.
59861         * scripts/gen-FAQ.pl: Likewise.
59862         * manual/install.texi (Installation): Point to online location of
59863         FAQ.
59864         * Makefile (files-for-dist): Remove FAQ.
59865         (FAQ): Remove.
59867 2012-05-02  Allan McRae  <allan@archlinux.org>
59869         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59870         (LDFLAGS-reldepmod5.so): Likewise.
59871         (LDFLAGS-reldep6mod1.so): Likewise.
59872         (LDFLAGS-reldep6mod4.so): Likewise.
59873         (LDFLAGS-reldep8mod3.so): Likewise.
59874         (LDFLAGS-unload4mod1.so): Likewise.
59875         (LDFLAGS-unload4mod2.so): Likewise.
59876         (LDFLAGS-tst-initorder): Likewise.
59877         (LDFLAGS-tst-initordera2.so): Likewise.
59878         (LDFLAGS-tst-initordera3.so): Likewise.
59879         (LDFLAGS-tst-initordera4.so): Likewise.
59880         (LDFLAGS-tst-initorderb2.so): Likewise.
59881         (LDFLAGS-noload): Likewise.
59882         (LDFLAGS-next): Likewise.
59883         (LDFLAGS-order2mod1.so): Likewise.
59884         (LDFLAGS-order2mod2.so): Likewise.
59885         (LDFLAGS-tst-initorder2): Likewise.
59886         (LDFLAGS-tst-initorder2a.so): Likewise.
59887         (LDFLAGS-tst-initorder2b.so): Likewise.
59888         (LDFLAGS-tst-initorder2c.so): Likewise.
59889         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59891 2012-05-02  David S. Miller  <davem@davemloft.net>
59893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59895 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59897         [BZ #14055]
59898         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59900 2012-05-02  Andreas Jaeger  <aj@suse.de>
59902         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59903         since we manipulate rounding mode.
59904         (CPPFLAGS-test-idouble.c): Likewise.
59905         (CPPFLAGS-test-ifloat.c): Likewise.
59906         (CFLAGS-test-ldouble.c): Likewise.
59907         (CFLAGS-test-double.c): Likewise.
59908         (CFLAGS-test-float.c): Likewise.
59909         (CFLAGS-test-misc.c): Likewise.
59910         (CFLAGS-test-test-fenv.c): Likewise.
59912 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59914         [BZ #2550]
59915         [BZ #2570]
59916         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59917         comparisons to determine direction to adjust input.
59919 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59921         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59922         output to the target.
59924         * scripts/localplt.awk: New file.
59925         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59926         (check-localplt-CFLAGS): Variable removed.
59927         ($(all-built-dso:=.jmprel)): New static pattern rule.
59928         (generated): Add those targets.
59929         (localplt-built-dso): New variable.
59930         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59932         * elf/check-localplt.c: File removed.
59934         * scripts/check-execstack.awk: New file.
59935         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59936         (check-execstack-CFLAGS): Variable removed.
59937         ($(objpfx)check-execstack.h): Target removed.
59938         ($(objpfx)execstack-default): New target.
59939         (generated): Add that instead of check-execstack.h.
59940         ($(all-built-dso:=.phdr)): New static pattern rule.
59941         (generated): Add those targets.
59942         * elf/check-execstack.c: File removed.
59944         * scripts/check-textrel.awk: New file.
59945         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59946         (check-textrel-CFLAGS): Variable removed.
59947         (all-built-dso): Use := to define.o
59948         ($(all-built-dso:=.dyn)): New static pattern rule.
59949         (generated): Add those targets.
59950         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59951         * config.make.in (READELF): New substituted variable.
59952         * elf/check-textrel.c: File removed.
59954 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59956         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59957         allow.
59958         * conform/data/ctype.h-data [C99-based standards] (isblank):
59959         Expect function.
59960         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59961         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59962         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59963         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59964         Specify type.  Require positive value.
59965         (EILSEQ): Likewise.
59966         (ERANGE): Likewise.
59967         [ISO || POSIX] (EILSEQ): Do not expect.
59968         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59969         Specify type.  Require positive value.
59970         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59971         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59972         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59973         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59974         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59975         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59976         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59977         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59978         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59979         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59980         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59981         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59982         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59983         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59984         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59985         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59986         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59987         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59988         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59989         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59990         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59991         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59992         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59993         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59994         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59995         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59996         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59997         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59998         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59999         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60000         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60001         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60002         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60003         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60004         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60005         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60006         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60007         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60008         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60009         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60010         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60011         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60012         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60013         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60014         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60015         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60016         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60017         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60018         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60019         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60020         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60021         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60022         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60023         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60024         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60025         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60026         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60027         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60028         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60029         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60030         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60031         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60032         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60033         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60034         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60035         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60036         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60037         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60038         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60039         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60040         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60041         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60042         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60043         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60044         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60045         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60046         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60047         Require >= 2.
60048         (FLT_ROUNDS): Expect as macro, not constant.
60049         (FLT_MANT_DIG): Use macro-int-constant.
60050         (DBL_MANT_DIG): Likewise.
60051         (LDBL_MANT_DIG): Likewise.
60052         (FLT_DIG): Likewise.
60053         (DBL_DIG): Likewise.
60054         (LDBL_DIG): Likewise.
60055         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60056         (DBL_MIN_EXP): Likewise.
60057         (LDBL_MIN_EXP): Likewise.
60058         (FLT_MAX_EXP): Use macro-int-constant.
60059         (DBL_MAX_EXP): Likewise.
60060         (LDBL_MAX_EXP): Likewise.
60061         (FLT_MAX_10_EXP): Likewise.
60062         (DBL_MAX_10_EXP): Likewise.
60063         (LDBL_MAX_10_EXP): Likewise.
60064         (FLT_MAX): Use macro-constant.
60065         (DBL_MAX): Likewise.
60066         (LDBL_MAX): Likewise.
60067         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60068         (DBL_EPSILON): Likewise.
60069         (LDBL_EPSILON): Likewise.
60070         (FLT_MIN): Likewise.
60071         (DBL_MIN): Likewise.
60072         (LDBL_MIN): Likewise.
60073         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60074         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60075         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60076         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60077         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60078         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60079         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60080         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60081         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60082         [ISO11] (FLT_TRUE_MIN): Likewise.
60083         [ISO11] (LDBL_TRUE_MIN): Likewise.
60084         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60085         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60086         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60087         (SCHAR_MAX): Likewise.
60088         (UCHAR_MAX): Likewise.
60089         (CHAR_MIN): Likewise.
60090         (CHAR_MAX): Likewise.
60091         (MB_LEN_MAX): Use macro-int-constant.
60092         (SHRT_MIN): Use macro-int-constant.  Specify type.
60093         (SHRT_MAX): Likewise.
60094         (USHRT_MAX): Likewise.
60095         (INT_MAX): Likewise.
60096         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60097         bound negative.
60098         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60099         bound with "U".
60100         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60101         bound with "L".
60102         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60103         bound negative.  Suffix upper bound with "L".
60104         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60105         bound with "UL".
60106         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60107         Specify type.
60108         [C99-based standards] (LLONG_MAX): Likewise.
60109         [C99-based standards] (ULLONG_MAX): Likewise.
60110         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60111         == 0.
60112         [ISO11] (max_align_t): Require type.
60113         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60115         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60116         from $CFLAGS, without defining away __attribute__ calls.
60117         (checknamespace): Use $CFLAGS_namespace.
60119         * conform/conformtest.pl (@keywords): Only include C99 keywords
60120         for standards based on C99 or C11.
60122         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60123         Disable tests.
60124         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60125         UNIX98]: Likewise.
60127         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60128         usability of symbols in #if.
60130         * conform/conformtest.pl: If macro or constant types start
60131         "promoted:", expect the symbol to be of the following type
60132         promoted by the integer promotions.
60134         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60135         in one place.  Also handle "macro-constant".
60137         * conform/conformtest.pl: Only accept expected macro values with
60138         "==".  Parse all "macro" lines in one place.
60139         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60141         * conform/conformtest.pl: Handle braced types on "constant" lines
60142         instead of handling "typed-constant".
60143         * conform/data/signal.h-data: Use "constant" instead of
60144         "typed-constant".
60146         * conform/conformtest.pl: Handle "optional-" at start of lines in
60147         one place rather than duplicating several cases.  Handle each
60148         format of "macro" line with initial "optional-".
60150         * conform/conformtest.pl: Only accept expected constant or
60151         optional-constant values with "==".  Parse all "constant" lines in
60152         one place.  Parse all "optional-constant" lines in one place.
60153         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60154         * conform/data/fmtmsg.h-data: Likewise.
60155         * conform/data/netinet/in.h-data: Likewise.
60156         * conform/data/tar.h-data: Likewise.
60157         * conform/data/limits.h-data: Use "==" form on "constant" and
60158         "optional-constant" lines.
60160         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60161         Use -std=c99 for XOPEN2K.
60162         (@knownproblems): Remove.
60163         (newtoken): Don't check %isknown.
60165         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60166         Do not expect macro.
60167         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60168         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60169         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60170         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60171         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60172         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60173         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60174         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60175         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60176         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60177         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60178         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60179         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60180         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60181         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60182         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60183         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60184         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60185         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60186         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60187         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60188         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60189         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60190         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60191         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60192         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60193         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60194         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60195         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60196         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60197         [XPG3] (acosh): Likewise.
60198         [XPG3] (asinh): Likewise.
60199         [XPG3] (atanh): Likewise.
60200         [XPG3] (cbrt): Likewise.
60201         [XPG3] (expm1): Likewise.
60202         [XPG3] (ilogb): Likewise.
60203         [XPG3] (log1p): Likewise.
60204         [XPG3] (logb): Likewise.
60205         [XPG3] (nextafter): Likewise.
60206         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60207         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60208         [XPG3] (remainder): Likewise.
60209         [XPG3] (rint): Likewise.
60210         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60211         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60212         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60213         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60214         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60215         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60216         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60217         [UNIX98 || XOPEN2K] (scalb): Expect.
60218         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60219         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60220         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60221         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60222         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60223         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60224         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60225         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60226         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60227         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60228         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60229         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60230         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60231         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60232         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60233         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60234         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60235         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60236         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60237         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60238         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60239         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60240         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60241         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60242         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60243         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60244         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60245         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60246         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60247         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60248         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60249         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60250         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60251         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60252         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60253         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60254         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60255         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60256         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60257         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60258         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60259         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60260         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60261         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60262         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60263         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60264         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60265         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60266         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60267         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60268         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60269         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60270         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60271         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60272         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60273         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60274         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60275         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60276         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60277         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60278         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60279         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60280         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60281         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60282         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60283         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60284         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60285         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60286         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60287         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60288         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60289         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60290         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60291         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60292         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60293         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60294         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60295         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60296         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60297         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60298         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60299         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60300         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60301         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60302         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60303         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60304         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60305         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60306         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60307         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60308         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60309         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60310         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60311         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60312         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60313         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60314         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60315         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60316         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60317         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60318         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60319         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60320         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60321         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60322         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60323         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60324         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60325         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60326         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60327         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60328         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60329         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60330         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60331         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60332         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60333         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60334         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60335         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60336         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60337         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60338         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60339         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60340         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60341         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60342         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60343         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60344         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60345         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60346         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60347         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60348         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60349         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60350         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60351         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60352         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60353         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60354         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60356         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60357         _XOPEN_SOURCE_EXTENDED for XPG4.
60359         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60361         * Makeconfig (localtime): Remove variable.
60362         (inst_localtime-file): Likewise.
60364 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60367         Update.
60368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60369         Update.
60370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60371         Update.
60372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60373         Update.
60374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60375         Update.
60376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60377         Update.
60378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60379         Update.
60380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60381         Update.
60382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60383         Update.
60385 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60387         [BZ #2550]
60388         [BZ #2570]
60389         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60390         comparisons to determine direction to adjust input.
60391         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60392         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60393         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60394         Likewise.
60395         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60396         Likewise.
60397         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60398         Likewise.
60399         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60400         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60401         Likewise.
60402         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60403         Likewise.
60404         * math/libm-test.inc (nexttoward_test): Add more tests.
60406 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60408         [BZ #14040]
60409         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60410         in version GLIBC_2.1, not GLIBC_2.0.
60411         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60412         Likewise.
60414 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60416         [BZ #13942]
60417         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60418         (1 - x) * (1 + x).
60419         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60420         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60421         * math/libm-test.inc (acos_test): Add more tests.
60422         (asin_test): Likewise.
60423         * sysdeps/i386/fpu/libm-test-ulps: Update.
60424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60426         [BZ #14034]
60427         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60428         of square root.
60429         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60430         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60431         * math/libm-test.inc (acos_test_tonearest): New function.
60432         (acos_test_towardzero): Likewise.
60433         (acos_test_downward): Likewise.
60434         (acos_test_upward): Likewise.
60435         (asin_test_tonearest): Likewise.
60436         (asin_test_towardzero): Likewise.
60437         (asin_test_downward): Likewise.
60438         (asin_test_upward): Likewise.
60439         (main): Call the new functions.
60440         * sysdeps/i386/fpu/libm-test-ulps: Update.
60441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60443         [BZ #13884]
60444         [BZ #13924]
60445         * math/e_exp10.c: Include <float.h>.
60446         (__ieee754_exp10): Handle underflow here rather than multiplying
60447         large negative argument by M_LN10.
60448         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60449         of __ieee754_expf.
60450         * math/e_exp10l.c: Include <float.h>.
60451         (__ieee754_exp10l): Handle underflow here rather than multiplying
60452         large negative argument by M_LN10l.
60453         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60454         spurious overflow exception on underflow.
60456 2012-04-29  Marek Polacek  <polacek@redhat.com>
60458         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60459         (__fortify_function): New macro.
60460         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60461         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60462         __extern_always_inline.
60463         * libio/bits/stdio2.h: Likewise.
60464         * libio/bits/stdio.h: Likewise.
60465         * string/string.h: Likewise.
60466         * string/bits/string3.h: Likewise.
60467         * include/stdio.h: Likewise.
60468         * stdlib/bits/stdlib.h: Likewise.
60469         * stdlib/stdlib.h: Likewise.
60470         * rt/bits/mqueue2.h: Likewise.
60471         * rt/mqueue.h: Likewise.
60472         * posix/bits/unistd.h: Likewise.
60473         * posix/unistd.h: Likewise.
60474         * io/bits/poll2.h: Likewise.
60475         * io/bits/fcntl2.h: Likewise.
60476         * io/fcntl.h: Likewise.
60477         * io/sys/poll.h: Likewise.
60478         * misc/bits/syslog.h: Likewise.
60479         * misc/bits/syslog-ldbl.h: Likewise.
60480         * misc/sys/syslog.h: Likewise.
60481         * socket/bits/socket2.h: Likewise.
60482         * socket/sys/socket.h: Likewise.
60483         * debug/tst-chk1.c: Likewise.
60484         * wcsmbs/bits/wchar2.h: Likewise.
60485         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60486         * wcsmbs/wchar.h: Likewise.
60488 2012-04-29  Andreas Jaeger  <aj@suse.de>
60490         * Makerules (tests): Remove enable-check-abi protection.
60491         (check-abi-warn): Remove.
60492         (check-abi-%): Remove check-abi-warn usage.
60494         * configure.in: Remove check-abi configure option.
60495         * configure: Regenerated.
60496         * config.make.in (enable-check-abi): Remove.
60498 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60500         [BZ #14033]
60501         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60502         double functions to double *_finite functions.
60504         [BZ #13941]
60505         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60506         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60507         LDBL_MIN_EXP.
60508         * stdio-common/Makefile (tests): Add tst-sprintf3.
60509         * stdio-common/tst-sprintf3.c: New file.
60511         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60512         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60514 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60516         * conform/conformtest.pl: Remove duplicate typed-constant
60517         handling.
60519 2012-04-28  David S. Miller  <davem@davemloft.net>
60521         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60522         (check-abi-%): Remove AWK script prerequisite and explicit
60523         abilist directory.
60524         (check-abi): Rewrite to just diff the symlist with the abilist.
60525         (config-tls, config-abi-config): Delete, no longer used.
60526         (update-abi-%): Remove AWK script and explicit abilist directory.
60527         (update-abi): Rewrite to simply compare and conditionally copy the
60528         symlist and the sysdep abilist file.  Remove update-abi-config
60529         checks.
60530         * abilist/ld.abilist: Remove.
60531         * abilist/libBrokenLocale.abilist: Remove.
60532         * abilist/libanl.abilist: Remove.
60533         * abilist/libcrypt.abilist: Remove.
60534         * abilist/libdl.abilist: Remove.
60535         * abilist/librt.abilist: Remove.
60536         * abilist/libthread_db.abilist: Remove.
60537         * abilist/libutil.abilist: Remove.
60538         * scripts/extract-abilist.awk: Remove.
60539         * scripts/merge-abilist.awk: Remove.
60540         * sysdeps/generic/libcidn.abilist: New file.
60541         * sysdeps/generic/libnss_compat.abilist: New file.
60542         * sysdeps/generic/libnss_db.abilist: New file.
60543         * sysdeps/generic/libnss_dns.abilist: New file.
60544         * sysdeps/generic/libnss_files.abilist: New file.
60545         * sysdeps/generic/libnss_hesiod.abilist: New file.
60546         * sysdeps/generic/libnss_nis.abilist: New file.
60547         * sysdeps/generic/libnss_nisplus.abilist: New file.
60548         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60549         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60550         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60551         file.
60552         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60553         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60554         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60555         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60556         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60557         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60558         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60559         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60560         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60561         file.
60562         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60563         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60564         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60565         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60566         file.
60567         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60568         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60569         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60570         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60571         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60572         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60573         file.
60574         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60575         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60576         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60577         file.
60578         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60579         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60580         New file.
60581         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60582         New file.
60583         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60584         New file.
60585         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60586         New file.
60587         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60588         New file.
60589         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60590         New file.
60591         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60592         New file.
60593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60594         New file.
60595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60596         New file.
60597         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60598         New file.
60599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60600         New file.
60601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60602         New file.
60603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60604         New file.
60605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60606         file.
60607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60608         New file.
60609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60610         New file.
60611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60612         file.
60613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60614         New file.
60615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60616         New file.
60617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60618         file.
60619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60620         New file.
60621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60622         New file.
60623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60624         New file.
60625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60626         New file.
60627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60628         New file.
60629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60630         New file.
60631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60633         file.
60634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60635         New file.
60636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60637         file.
60638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60639         file.
60640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60641         file.
60642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60643         file.
60644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60645         file.
60646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60647         New file.
60648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60649         file.
60650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60651         file.
60652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60653         New file.
60654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60655         file.
60656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60658         file.
60659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60660         New file.
60661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60662         file.
60663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60664         file.
60665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60666         file.
60667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60668         file.
60669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60670         file.
60671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60672         New file.
60673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60674         file.
60675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60676         file.
60677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60678         New file.
60679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60680         file.
60681         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60682         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60683         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60684         file.
60685         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60686         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60687         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60688         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60689         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60690         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60691         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60692         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60693         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60694         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60697         file.
60698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60699         New file.
60700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60701         file.
60702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60703         file.
60704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60705         file.
60706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60707         file.
60708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60709         file.
60710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60711         New file.
60712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60713         New file.
60714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60715         file.
60716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60717         New file.
60718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60719         file.
60720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60722         file.
60723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60724         New file.
60725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60726         file.
60727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60728         file.
60729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60730         file.
60731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60732         file.
60733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60734         file.
60735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60736         New file.
60737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60738         New file.
60739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60740         file.
60741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60742         New file.
60743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60744         file.
60746 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60748         * conform/conformtest.pl: Fix typo in handling typed-constant from
60749         allow-header.
60751 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60753         * README: Cut down references to pre-2.6 Linux kernels and
60754         Linuxthreads.  Update lists of configurations in libc and ports
60755         and sort alphabetically.  Say "or newer" with Linux kernel version
60756         requirements.
60758         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60760 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60762         [BZ #887]
60763         * math/libm-test.inc (logb_test_downward): New test to expose
60764         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60765         rounding mode.
60767 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60769         [BZ #14027]
60770         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60771         to be done.
60772         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60773         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60775 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60777         * sysdeps/unix/i386/brk.S: Remove file.
60778         * sysdeps/unix/i386/dl-brk.S: Likewise.
60779         * sysdeps/unix/i386/pipe.S: Likewise.
60780         * sysdeps/unix/i386/sigreturn.S: Likewise.
60781         * sysdeps/unix/i386/syscall.S: Likewise.
60782         * sysdeps/unix/i386/vfork.S: Likewise.
60783         * sysdeps/unix/i386/wait.S: Likewise.
60785         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60786         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60788         * configure.in (arm*-none*): Do not allow without
60789         --enable-hacker-mode.
60790         (netbsd*): Remove case setting base_os.
60791         (386bsd*): Likewise.
60792         (freebsd*): Likewise.
60793         (bsdi*): Likewise.
60794         (osf*): Likewise.
60795         (sunos*): Likewise.
60796         (ultrix*): Likewise.
60797         (newsos*): Likewise.
60798         (dynix*): Likewise.
60799         (*bsd*): Likewise.
60800         (sysv*): Likewise.
60801         (isc*): Likewise.
60802         (esix*): Likewise.
60803         (sco*): Likewise.
60804         (minix*): Likewise.
60805         (irix4*): Likewise.
60806         (irix6*): Likewise.
60807         (solaris[2-9]*): Likewise.
60808         (none): Likewise.
60809         * configure: Regenerated.
60811 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60813         [BZ #11521]
60814         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60815         overflow or cancellation in calculating denominator.
60816         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60817         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60818         down expression to avoid unexpected rounding in newer GCCs.
60819         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60821 2012-04-26  David S. Miller  <davem@davemloft.net>
60823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60824         long-double compat symbols.
60825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60839 2012-04-25  David S. Miller  <davem@davemloft.net>
60841         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60842         HWCAP_* values only after the memory barriers have been defined.
60843         (atomic_full_barrier): Define.
60844         (atomic_read_barrier): Define.
60845         (atomic_write_barrier): Define.
60847 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60849         * shlib-versions: Add libgcc_s version information.
60850         * sysdeps/generic/libgcc_s.h: Remove.
60851         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60852         libgcc_s.h.
60853         * sysdeps/gnu/unwind-resume.c: Likewise.
60854         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60856 2012-04-25  David S. Miller  <davem@davemloft.net>
60858         * sysdeps/unix/sparc/brk.S: Delete.
60859         * sysdeps/unix/sparc/dl-brk.S: Delete.
60860         * sysdeps/unix/sparc/pipe.S: Delete.
60861         * sysdeps/unix/sparc/sysdep.S: Delete.
60862         * sysdeps/unix/sparc/sysdep.h: Delete.
60863         * sysdeps/unix/sparc/vfork.S: Delete.
60864         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60865         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60866         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60867         (ret_ERRVAL, r0, r1, MOVE): Define.
60868         (JUMPTARGET): Remove.
60869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60870         sysdeps/unix/sparc/sysdep.h
60871         (ENTRY, END): Remove.
60872         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60874 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60876         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60877         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60878         -DIS_IN_build.
60880         * timezone/README: Update upstream location and email address for
60881         tzcode and tzdata.
60882         * timezone/zdump.c: Update from tzcode 2012b.
60883         * timezone/zic.c: Likewise.
60885         * configure.in (libc_cv_as_needed): Remove test.
60886         * configure: Regenerated.
60887         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60888         conditional definition.
60889         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60890         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60891         * config.make.in (have-as-needed): Remove variable.
60893 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60894             Paul Pluzhnikov  <ppluzhnikov@google.com>
60896         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60897         strings correctly.
60899 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60901         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60902         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60903         * sysdeps/sh/strlen.S: Likewise.
60905 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60907         * sysdeps/unix/fork.S: Remove file.
60908         * sysdeps/unix/i386/fork.S: Likewise.
60909         * sysdeps/unix/sparc/fork.S: Likewise.
60911         * sysdeps/unix/system.c: Remove file.
60912         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60914         * sysdeps/unix/getegid.S: Remove file.
60915         * sysdeps/unix/geteuid.S: Likewise.
60917 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60919         * scripts/check-localplt.awk: New file.
60920         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60921         of diff.
60922         * scripts/data/localplt-generic.data: Add a comment.
60924         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60925         NODE when __dir_mkfile failed.
60926         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60927         Reported by Ludovic Courtès <ludo@gnu.org>.
60929 2012-04-24  Andreas Jaeger  <aj@suse.de>
60931         * Makerules (common-clean): Also remove gen-as-const-headers
60932         files.
60934 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60936         * Makerules (native-compile): Do not change working directory for
60937         build.  Use $(OUTPUT_OPTION) in command.
60938         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60940 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60942         [BZ #13886]
60943         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60944         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60945         * math/libm-test.inc (floor_test): Add more tests.
60946         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60948 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60950         * sysdeps/unix/getdents.c: Remove file.
60951         * sysdeps/unix/sysv/getdents.c: Likewise.
60952         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60954         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60955         sysdeps/unix/mman/syscalls.list.
60956         (mmap): Likewise.
60957         (mprotect): Likewise.
60958         (msync): Likewise.
60959         (munmap): Likewise.
60960         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60961         * sysdeps/unix/mman/syscalls.list: Remove.
60962         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60964         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60965         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60966         * configure: Regenerated.
60967         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60968         $(libgcc_s_suffix).
60969         * config.make.in (libgcc_s_suffix): Remove variable.
60971 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60973         * sysdeps/unix/sysv/gethostname.c: Move to ...
60974         * sysdeps/posix/gethostname.c: ... here.
60976         * sysdeps/unix/execve.S: Remove file.
60978         * sysdeps/unix/_exit.S: Remove file.
60980 2012-04-23  Andreas Jaeger  <aj@suse.de>
60982         [BZ #13739]
60983         * manual/Makefile: Remove make dist support, there's no
60984         need for a stand-alone documentation tar ball.
60985         (TEXI2DVI): Define always, it's not in Makeconfig.
60986         (dist): Removed.
60987         (tar-it): Removed.
60988         (edition): Removed.
60989         (glibc-doc-$(edition).tar): Removed
60990         (%.Z): Removed.
60991         (%.gz): Removed.
60992         (%.uu): Removed.
60993         (ETAGS): Remove, it's in Makeconfig.
60994         (move-if-change): Remove, it's in Makeconfig.
60996 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60998         [BZ #13970]
60999         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61000         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61001         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61002         (strtod_l, strtof_l, strtold_l): Remove __wur.
61003         It is not necessarily an error to ignore strtol's return value.
61004         One can reliably look at the stored endptr to decide whether
61005         the number had valid syntax.
61007 2012-04-21  Andreas Jaeger  <aj@suse.de>
61009         [BZ #13739]
61010         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61012 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61014         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61015         * sysdeps/unix/sysv/Versions: Remove file.
61017 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61019         [BZ #13927]
61020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61022 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61024         [BZ #7064]
61025         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61026         version from __vm86.
61028 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61030         * sysdeps/unix/common/lxstat.c: Remove file.
61031         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61033         * sysdeps/unix/sysv/Makefile: Remove file.
61035         * sysdeps/unix/sysv/direct.h: Remove file.
61037         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61038         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61039         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61040         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61041         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61042         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61043         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61045         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61047         * sysdeps/unix/xmknod.c: Remove file.
61048         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61050         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61052         * sysdeps/unix/sysv/i386/time.S: Remove file.
61054         * sysdeps/unix/fxstat.c: Remove file.
61055         * sysdeps/unix/xstat.c: Likewise.
61056         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61058         * sysdeps/unix/sysv/sigaction.c: Remove file.
61060         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61061         (sysdep_headers): Remove variable.
61062         [termio.h not in sysdep_headers] (generated): Likewise.
61063         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61064         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61065         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61066         * sysdeps/unix/sysv/tcflow.c: Likewise.
61067         * sysdeps/unix/sysv/tcflush.c: Likewise.
61068         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61069         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61070         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61071         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61072         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61074         * sysdeps/unix/siglist.c: Remove file.
61076         * sysdeps/unix/getppid.S: Remove file.
61078         * sysdeps/unix/mkdir.c: Remove file.
61079         * sysdeps/unix/rmdir.c: Likewise.
61081 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61083         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61084         ERR_MAX value.
61085         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61086         errlist-compat value.
61088 2012-04-18  David S. Miller  <davem@davemloft.net>
61090         * sysdeps/generic/memcopy.h (reg_char): Delete.
61091         * debug/strcat_chk.c: Use char, not reg_char.
61092         * debug/strcpy_chk.c: Likewise.
61093         * debug/strncat_chk.c: Likewise.
61094         * debug/strncpy_chk.c: Likewise.
61095         * string/memchr.c: Likewise.
61096         * string/memrchr.c: Likewise.
61097         * string/rawmemchr.c: Likewise.
61098         * string/strcat.c: Likewise.
61099         * string/strchr.c: Likewise.
61100         * string/strchrnul.c: Likewise.
61101         * string/strcmp.c: Likewise.
61102         * string/strcpy.c: Likewise.
61103         * string/strncat.c: Likewise.
61104         * string/strncmp.c: Likewise.
61105         * string/strncpy.c: Likewise.
61107 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61109         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61110         __builtin_memcopy is called when src and dest ranges are known to not
61111         overlap.
61113 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61115         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61116         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61117         fwd_align_merge macro call.
61118         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61119         bwd_align_merge macro call.
61120         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61122 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61124         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61125         bwd_align_merge macros.
61126         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61127         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61128         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61130 2012-04-18  David S. Miller  <davem@davemloft.net>
61132         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61134 2012-04-18  Andreas Jaeger  <aj@suse.de>
61136         [BZ# 6794]
61137         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61138         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61139         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61141         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61142         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61143         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61145         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61146         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61147         Adjust for changed ldbl-128 files.
61149         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61150         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61151         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61153 2012-04-17  David S. Miller  <davem@davemloft.net>
61155         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61157 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61159         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61160         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61161         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61162         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61163         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61164         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61166 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61168         [BZ #6794]
61169         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61170         * math/libm-test.inc: Add ilogb errno and exception tests.
61171         * math/w_ilogb.c: New file: ilogb wrapper.
61172         * math/w_ilogbf.c: New file: ilogbf wrapper.
61173         * math/w_ilogbl.c: New file: ilogbl wrapper.
61174         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61175         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61176         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61177         exception being thrown with 0.0 as argument.
61178         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61179         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61180         exception being thrown with 0.0 as argument.
61181         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61182         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61183         exception being thrown with 0.0 as argument.
61184         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61185         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61186         exception being thrown with 0.0 as argument.
61187         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61188         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61189         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61190         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61191         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61192         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61193         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61194         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61195         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61197 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61199         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61200         with altivec.
61202 2012-04-16  Marek Polacek  <polacek@redhat.com>
61204         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61206 2012-04-16  Marek Polacek  <polacek@redhat.com>
61208         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61209         operands of fdivp instruction.
61211 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61213         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61214         * elf/tst-auditmod3b.c: Likewise.
61215         * elf/tst-auditmod4b.c: Likewise.
61216         * elf/tst-auditmod5b.c: Likewise.
61217         * elf/tst-auditmod6b.c: Likewise.
61218         * elf/tst-auditmod6c.c: Likewise.
61219         * elf/tst-auditmod7b.c: Likewise.
61220         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61221         * sysdeps/x86_64/preconfigure.in: Likewise.
61222         * sysdeps/x86_64/preconfigure: Regenerated.
61224 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61226         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61227         __ILP32__.
61229 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61231         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61232         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61234 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61236         [BZ #13973]
61237         * locale/iso-639.def: Fix gl language name. Spotted by
61238         Yaron Shahrabani.
61240 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61242         [BZ #2074]
61243         * libio/libio.h (__io_write_fn): Update comment.
61245 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61247         [BZ #2074]
61248         * stdio.texi (Hook Functions): The user provided writer function
61249         is not allowed to return -1.
61251 2012-04-11  David S. Miller  <davem@davemloft.net>
61253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61255 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61257         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61258         Add a leading slash to rtkaio.
61260 2012-04-11  Jim Meyering  <meyering@redhat.com>
61262         [BZ #11959]
61263         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61264         It is not necessarily an error to ignore fwrite's return
61265         value.  One can reliably use ferror to test for errors after
61266         the fact.
61268 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61270         * bits/types.h (__snseconds_t): New type.
61271         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61273         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61274         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61275         (__SNSECONDS_T_TYPE): Likewise.
61276         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61277         (__SNSECONDS_T_TYPE): Likewise.
61278         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61279         (__SNSECONDS_T_TYPE): Likewise.
61281 2012-04-10  Andreas Jaeger  <aj@suse.de>
61283         [BZ #2636]
61284         * manual/time.texi (Processor Time): Return type of times is
61285         elapsed real time since an arbitrary point in the past.
61286         (CPU Time): Move CLK_TCK from here...
61287         (Processor Time): ...to here.  Correct description.
61288         * manual/conf.texi (Constants for Sysconf): Correct description of
61289         _SC_CLK_TCK.
61291 2012-04-10  David S. Miller  <davem@davemloft.net>
61293         [BZ #13967]
61294         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61295         where the is a gap between DT_REL(A) and DT_JMPREL.
61297 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61299         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61300         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61301         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61303 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61305         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61306         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61307         (dl_main): Handle --inhibit-cache.
61308         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61309         _dl_inhibit_cache.
61310         * elf/dl-load.c (_dl_map_object): Use it.
61311         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61313 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61315         [BZ #13872]
61316         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61317         (__ieee754_powl): Saturate large exponents rather than testing for
61318         overflow of y*log2(x).
61319         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61320         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61321         exceptions.
61323         [BZ #11521]
61324         * math/s_ctan.c: Include <float.h>.
61325         (__ctan): Avoid internal overflow or cancellation in calculating
61326         denominator.
61327         * math/s_ctanf.c: Likewise.
61328         * math/s_ctanl.c: Likewise.
61329         * math/s_ctanh.c: Likewise.
61330         * math/s_ctanhf.c: Likewise.
61331         * math/s_ctanhl.c: Likewise.
61332         * math/libm-test.inc (ctan_test): Add more tests.
61333         (ctanh_test): Likewise.
61334         * sysdeps/i386/fpu/libm-test-ulps: Update.
61335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61337 2012-04-09  Andreas Jaeger  <aj@suse.de>
61339         [BZ #6894]
61340         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61341         is an optional BSD extension.
61343         [BZ #10254]
61344         * manual/stdio.texi (Opening Streams): Document additional fopen
61345         parameters.
61347 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61349         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61350         %eax without telling the compiler.
61352 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61354         [BZ # 13963]
61355         * manual/install.texi: Use sourceware.org.
61357 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61359         [BZ #13873]
61360         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61361         (__ieee754_pow): Generate overflow and underflow using huge*huge
61362         and tiny*tiny rather than just returning constant infinity or zero
61363         for large exponents.
61364         * math/libm-test.inc (pow_test): Require overflow exceptions for
61365         applicable cases of large exponents.
61367         [BZ #706]
61368         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61369         (__ieee754_pow): Use iterative multiplication algorithm only for
61370         integer exponents with absolute value below 1024.  Check for odd
61371         integer exponents when using algorithm for real exponents.
61372         * math/libm-test.inc (pow_test): Add more tests.
61373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61375 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61377         [BZ #13705]
61378         * math/libm-test.inc (exp_test): Do not allow overflow exception
61379         on underflow test.
61381 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61383         [BZ #13705]
61384         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61385         instead of __kernel_standard_f.
61387 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61389         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61390         * sysdeps/x86_64/memset_chk.S: Likewise.
61392 2012-04-08  Andreas Jaeger  <aj@suse.de>
61394         [BZ #10153]
61395         * manual/startup.texi (Environment Access): Describe return value
61396         for putenv and setenv.
61398         [BZ #6895]
61399         * manual/filesys.texi (Directory Entries): Add description for
61400         DT_LNK.
61402         [BZ #6890]
61403         * manual/filesys.texi (Directory Entries): Clarify that it's file
61404         system not operating system in the description of DT_UNKNOWN.
61406         [BZ #6578]
61407         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61409 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61411         [BZ #6649]
61412         * manual/llio.texi (Opening and Closing Files): Add cross
61413         reference to explain mode argument.
61415 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61417         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61418         * sysdeps/x86_64/memset_chk.S: Likewise.
61420 2012-04-07  David S. Miller  <davem@davemloft.net>
61422         * elf/elf.h (R_SPARC_WDISP10): Define.
61423         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61424         R_SPARC_SIZE32.
61425         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61426         R_SPARC_SIZE64 and R_SPARC_H34.
61428 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61430         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61431         conditions and remove no longer applicable assertion.
61433 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61435         * bits/byteswap.h: Include <features.h>.
61436         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61437         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61439 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61441         * bits/byteswap.h (__bswap_16): Removed.
61442         Include <bits/byteswap-16.h> to get __bswap_16.
61443         * sysdeps/i386/bits/byteswap.h: Likewise.
61444         * sysdeps/s390/bits/byteswap.h: Likewise.
61445         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61446         * bits/byteswap-16.h: New file.
61447         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61448         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61449         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61450         * string/Makefile (headers): Add bits/byteswap-16.h.
61452 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61454         [BZ #13895]
61455         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61456         extra indirection.
61457         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61458         * nss/tst-nss-static.c: New.
61460 2012-04-06  Robert Millan  <rmh@gnu.org>
61462         [BZ #6486]
61463         * manual/llio.texi (File Position Primitive): lseek
61464         refers to WHENCE when it really means OFFSET.
61466 2012-04-06  Andreas Jaeger  <aj@suse.de>
61468         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61469         strncmp declarations.
61471         * abilist/libc.abilist: Add __poll and __ppoll.
61473 2012-04-05  David S. Miller  <davem@davemloft.net>
61475         * scripts/check-local-headers.sh: Accept a host triplet in the
61476         path matched by the exclude regexp.
61478         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61479         definition.
61480         * sysdeps/powerpc/powerpc32/dl-machine.h
61481         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61482         * sysdeps/s390/s390-32/dl-machine.h
61483         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61484         * sysdeps/sparc/sparc32/dl-machine.h
61485         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61486         * sysdeps/sparc/sparc64/dl-machine.h
61487         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61489         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61490         lazy binding.
61491         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61492         undefined symbol errors.
61494         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61495         DT_NEEDED entries.
61497 2012-04-05  Michael Matz  <matz@suse.de>
61499         [BZ #13592]
61500         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61502 2012-04-05  Andreas Jaeger  <aj@suse.de>
61504         [BZ #13908]
61505         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61506         comment.
61508 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61510         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61511         which ROUND is no valid rounding mode.
61513 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61515         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61516         read again.
61517         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61519 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61521         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61522         an exception using FPU order intentionally.
61524 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61526         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61527         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61528         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61529         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61531 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61533         [BZ #12340]
61534         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61535         EINVAL when BUFLEN is too smal.
61537 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61539         [BZ #13553]
61540         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61541         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61543 2012-04-03  Andreas Jaeger  <aj@suse.de>
61545         [BZ #13938]
61546         * manual/setjmp.texi (System V contexts): Fix sentence.
61548         [BZ #13926]
61549         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61550         New macro for this case.
61551         [!__GNUC__] (__bswap_64): New inline function for this case.
61552         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61553         * bits/byteswap.h: Likewise.
61554         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61555         ull, guard with __GLIBC_HAVE_LONG_LONG.
61557         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61558         __GLIBC_HAVE_LONG_LONG.
61560         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61561         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61563 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61565         [BZ #13691]
61566         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61567         inptr and inend, rather than using last_ch.
61569 2012-04-02  David S. Miller  <davem@davemloft.net>
61571         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61572         * stdio-common/printf-parse.h (read_int): Change return type to
61573         'int', return -1 on INT_MAX overflow.
61574         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61575         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61576         overflows INT_MAX.  Check for overflow of in-format-string precision
61577         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61578         SIZE_MAX not INT_MAX for integer overflow test.
61579         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61580         skip the construct in the format string but do not record anything.
61581         * stdio-common/bug22.c: Adjust to test both width/prevision
61582         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61583         explicitly for proper errno values.
61585 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61587         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61588         CHAR_MAX.
61589         * string/test-strcmp.c [! WIDE]: Likewise.
61590         * time/tst-mktime2.c: Likewise for INT_MAX.
61591         * string/test-string.h: #include <sys/param.h> for MIN.
61593         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61594         * sysdeps/i386/init-first.c (init): Likewise.
61595         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61596         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61597         * sysdeps/sh/init-first.c (init): Likewise.
61599 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61601         * po/ru.po: Update from translation team.
61602         * po/vi.po: Likewise.
61604 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61606         * resolv/nss_dns/dns-host.c: Merge copyright years.
61608 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61610         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61611         Optimize memcpy with prefetch if
61612         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61613         src, dst pointers have unequal 16 byte alignments.
61615 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61617         [BZ #13928]
61618         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61619         from a CNAME entry and return the minimum ttl for the query.
61620         (gaih_getanswer_slice): Likewise.
61622 2012-03-30  Jeff Law  <law@redhat.com>
61624         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61625         due to long keys.
61626         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61627         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61629         * resolv/nss_dns/dns-host.c: Update copyright year.
61631 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61633         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61634         requests to save a system call.  Fix check that all bytes are sent.
61636         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61637         comments for sendmmsg.
61639 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61641         [BZ #13691]
61642         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61643         with only 1 character between 0x0041 and 0x01b0.
61644         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61645         * wcsmbs/tst-mbsnrtowcs.c: New file.
61647 2012-03-29  David S. Miller  <davem@davemloft.net>
61649         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61650         small copies by hand.
61652 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61654         [BZ #13761]
61655         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61656         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61657         group memberships.
61659 2012-03-28  David S. Miller  <davem@davemloft.net>
61661         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61662         that branches into memcpy.
61663         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61664         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61665         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61666         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61667         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61668         bits.
61669         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61670         implementation too.
61671         * sysdeps/sparc/mempcpy.S: New file.
61673         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61674         the IFUNC routine in the libc case.
61675         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61677         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61678         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61679         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61680         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61681         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61682         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61683         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61684         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61686         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61687         loop to 256 bytes instead of 64 bytes and fix test signedness.
61689         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61690         * sysdeps/sparc/sparc32/Makefile: rather than here...
61691         * sysdeps/sparc/sparc64/Makefile: and here.
61693 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61695         * malloc/mallocbug.c: Avoid warnings about unused variables.
61697 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61699         [BZ #13760]
61700         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61701         in the right place. Discard and retry query if response is
61702         larger than input buffer size.
61704 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61706         [BZ #369]
61707         [BZ #2678]
61708         [BZ #3866]
61709         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61710         x for large integer exponent.
61711         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61712         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61713         sign of result as needed afterwards.
61714         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61715         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61716         result for underflowing pow the same as for overflow.
61717         (__kernel_standard_l): Handle powl overflow and underflow here
61718         rather than calling __kernel_standard.
61719         * math/libm-test.inc (pow_test): Add more tests.
61721         [BZ #3868]
61722         [BZ #13879]
61723         [BZ #13910]
61724         [BZ #13911]
61725         [BZ #13912]
61726         [BZ #13913]
61727         [BZ #13915]
61728         [BZ #13916]
61729         [BZ #13917]
61730         [BZ #13918]
61731         [BZ #13919]
61732         [BZ #13920]
61733         [BZ #13921]
61734         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61735         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61736         (__kernel_standard_l): New function.
61737         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61738         __kernel_standard.
61739         * math/w_acosl.c (__acosl): Likewise.
61740         * math/w_asinl.c (__asinl): Likewise.
61741         * math/w_atan2l.c (__atan2l): Likewise.
61742         * math/w_atanhl.c (__atanhl): Likewise.
61743         * math/w_coshl.c (__coshl): Likewise.
61744         * math/w_exp10l.c (__exp10l): Likewise.
61745         * math/w_exp2l.c (__exp2l): Likewise.
61746         * math/w_fmodl.c (__fmodl): Likewise.
61747         * math/w_hypotl.c (__hypotl): Likewise.
61748         * math/w_j0l.c (__j0l, __y0l): Likewise.
61749         * math/w_j1l.c (__j1l, __y1l): Likewise.
61750         * math/w_jnl.c (__jnl, __ynl): Likewise.
61751         * math/w_lgammal.c (__lgammal): Likewise.
61752         * math/w_log10l.c (__log10l): Likewise.
61753         * math/w_log2l.c (__log2l): Likewise.
61754         * math/w_logl.c (__logl): Likewise.
61755         * math/w_powl.c (__powl): Likewise.
61756         * math/w_remainderl.c (__remainderl): Likewise.
61757         * math/w_scalbl.c (sysv_scalbl): Likewise.
61758         * math/w_sinhl.c (__sinhl): Likewise.
61759         * math/w_sqrtl.c (__sqrtl): Likewise.
61760         * math/w_tgammal.c (__tgammal): Likewise.
61761         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61762         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61763         * math/libm-test.inc (acos_test): Add more tests.
61764         (acosh_test): Likewise.
61765         (asin_test): Likewise.
61766         (atanh_test): Likewise.
61767         (exp_test): Likewise.
61768         (exp10_test): Likewise.
61769         (exp2_test): Likewise.
61770         (expm1_test): Likewise.
61771         (lgamma_test): Likewise.
61772         (log_test): Likewise.
61773         (log10_test): Likewise.
61774         (log1p_test): Likewise.
61775         (log2_test): Likewise.
61776         (pow_test): Do not allow some spurious overflow exceptions.
61777         (sqrt_test): Add more tests.
61778         (tgamma_test): Likewise.
61779         (y0_test): Likewise.
61780         (y1_test): Likewise.
61781         (yn_test): Likewise.
61783 2012-03-27  Anton Blanchard  <anton@samba.org>
61785         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61786         MAP_HUGETLB.
61787         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61788         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61789         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61791 2012-03-27  David S. Miller  <davem@davemloft.net>
61793         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61795         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61796         have-as-vis3 check.
61798 2012-03-27  Andreas Jaeger  <aj@suse.de>
61800         * sysdeps/x86_64/elf/configure.in: Moved to ...
61801         * sysdeps/x86_64/configure.in: ... here.
61802         * sysdeps/x86_64/elf/start.S: Moved to ...
61803         * sysdeps/x86_64/start.S: ... here.
61804         * sysdeps/x86_64/elf/configure: Delete.
61806         * sysdeps/x86_64/configure.in: Merge contents from
61807         sysdeps/i386/configure.in (without i686 check).
61809         * sysdeps/i386/elf/Versions: Merge into ...
61810         * sysdeps/i386/Versions: ... this.
61811         * sysdeps/i386/elf/Versions: Delete file.
61812         * sysdeps/i386/elf/start.S: Moved to ...
61813         * sysdeps/i386/start.S: ...here.
61814         * sysdeps/i386/elf/configure.in: Merge into...
61815         * sysdeps/i386/configure.in: ...here.
61816         * sysdeps/i386/elf/configure.in: Delete file.
61817         * sysdeps/i386/elf/configure: Delete file.
61819         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61820         * debug/backtracesyms.c: ... here.
61821         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61822         * debug/backtracesymsfd.c: ... here.
61823         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61824         * sysdeps/generic/ifunc-sel.h: ... here.
61826         * sysdeps/unix/i386/start.c: Delete file.
61827         * sysdeps/unix/sparc/start.c: Delete file.
61828         * sysdeps/unix/start.c: Delete file.
61830         * sysdeps/sh/elf/configure.in: Moved to ...
61831         * sysdeps/sh/configure.in: ... here.
61832         * sysdeps/sh/elf/start.S: Moved to ...
61833         * sysdeps/sh/start.S: ... here.
61834         * sysdeps/sh/elf/configure: Delete file.
61836         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61837         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61838         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61839         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61840         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61841         * sysdeps/powerpc/powerpc64/start.S: here.
61842         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61843         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61844         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61845         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61846         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61848         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61849         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61850         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61851         * sysdeps/powerpc/powerpc32/start.S: ... here.
61852         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61853         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61854         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61856         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61857         * sysdeps/powerpc/ifunc-sel.h: ... here.
61858         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61859         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61861         * sysdeps/sparc/elf/configure.in: Moved to ...
61862         * sysdeps/sparc/configure.in: ... here.
61863         * sysdeps/sparc/elf/configure: Delete file.
61864         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61865         * sysdeps/sparc/sparc32/start.S: ... here.
61866         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61867         * sysdeps/sparc/sparc64/start.S: ... here.
61868         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61869         * sysdeps/sparc/sparc32/Makefile: ... this.
61870         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61871         * sysdeps/sparc/sparc64/Makefile: ... this.
61873         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61874         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61875         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61876         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61877         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61878         * sysdeps/s390/s390-32/setjmp.S: ... here.
61879         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61880         * sysdeps/s390/s390-32/configure.in: ... here.
61881         * sysdeps/s390/s390-32/elf/configure: Delete file.
61882         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61883         * sysdeps/s390/s390-32/start.S: ... here.
61885         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61886         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61887         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61888         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61889         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61890         * sysdeps/s390/s390-64/setjmp.S: ... here.
61891         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61892         * sysdeps/s390/s390-64/configure.in: ... here
61893         * sysdeps/s390/s390-64/elf/configure: Delete file.
61894         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61895         * sysdeps/s390/s390-64/start.S: ... here.
61896         * sysdeps/s390/s390-64/elf/configure: Delete.
61898         * configure.in: Remove support for elf directories in sysdeps.
61900         * configure: Regenerated.
61901         * sysdeps/i386/configure: Regenerated.
61902         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61903         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61904         * sysdeps/s390/s390-32/configure: Regenerated.
61905         * sysdeps/s390/s390-64/configure: Regenerated.
61906         * sysdeps/sh/configure: Regenerated.
61907         * sysdeps/sparc/configure: Regenerated.
61908         * sysdeps/x86_64/configure: Regenerated.
61910 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61914         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61915         denormal result into account.
61917 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61919         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61920         Reported by Allan McRae <allan@archlinux.org>.
61922 2012-03-23  Jeff Law  <law@redhat.com>
61924         * nss/getnssent.c (__nss_getent): Fix typo.
61926 2012-03-23  David S. Miller  <davem@davemloft.net>
61928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61930 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61932         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61933         to pad to uint64_t for each field.
61934         (dl_tls_index): Replace unsigned long with uint64_t.
61936 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61937         Paul Pluzhnikov  <ppluzhnikov@google.com>
61939         [BZ #6528]
61940         * grp/Makefile (otherlibs): Don't set it.
61941         * inet/Makefile (otherlibs): Likewise.
61942         * login/Makefile (otherlibs): Likewise.
61943         * nscd/Makefile (otherlibs): Likewise.
61944         * posix/Makefile (otherlibs): Likewise.
61945         * pwd/Makefile (otherlibs): Likewise.
61946         * rt/Makefile (otherlibs): Likewise.
61947         * sunrpc/Makefile (otherlibs): Likewise.
61948         * nss/Makefile (otherlibs): Likewise.
61949         Add libnss_files to routines and static-only-routines.
61950         ($(objpfx)getent): Remove rule.
61951         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61952         static-only-routines.
61954 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61956         [BZ #13892]
61957         * math/s_cexp.c: Include <float.h>.
61958         (__cexp): Handle exp result overflowing not necessarily
61959         overflowing both real and imaginary parts of result.
61960         * math/s_cexpf.c: Likewise.
61961         * math/s_cexpl.c: Likewise.
61962         * math/libm-test.inc (cexp_test): Add more tests.
61963         * sysdeps/i386/fpu/libm-test-ulps: Update.
61964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61966 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61968         * include/link.h (ELFW): New macro.
61969         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61970         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61972 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61974         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61975         with uint64_t.
61977 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61979         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61980         declaration.
61981         (struct La_x32_retval): Likewise.
61983 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61985         * sysdeps/x86_64/preconfigure.in: New file.
61986         * sysdeps/x86_64/preconfigure: New generated file.
61988 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61990         [BZ #13824]
61991         * math/e_exp2l.c: Include <float.h>.
61992         (__ieee754_exp2l): Handle overflow and underflow cases
61993         separately.  Only pass fractional part of argument to
61994         __ieee754_expl.
61995         * math/libm-test.inc (exp2_test): Add more tests.
61997         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61998         negating x to take absolute value.
61999         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62000         Likewise.
62001         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62002         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62003         Likewise.
62004         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62005         computing low part if x was negated.
62006         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62008 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62010         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62011         la_x32_gnu_pltexit.
62012         (pltexit): Cast int_retval to ptrdiff_t.
62013         * elf/tst-auditmod3b.c: Likewise.
62014         * elf/tst-auditmod4b.c: Likewise.
62015         * elf/tst-auditmod5b.c: Likewise.
62016         * elf/tst-auditmod6b.c: Likewise.
62017         * elf/tst-auditmod6c.c: Likewise.
62018         * elf/tst-auditmod7b.c: Likewise.
62020         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62021         and x32_gnu_pltexit.
62023         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62024         __ELF_NATIVE_CLASS.
62025         (La_x32_regs): New macro.
62026         (La_x32_retval): Likewise.
62027         (la_x32_gnu_pltenter): New function prototype.
62028         (la_x32_gnu_pltexit): Likewise.
62030 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62032         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62033         exponent.
62035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62037         * configure.in (libc_cv_cc_nofma): Check for option to disable
62038         generation of FMA instructions.
62039         * configure: Regenerate.
62040         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62041         * sysdeps/ieee754/dbl-64/Makefile: New file.
62042         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62043         Remove brandred-fma4.
62044         (CFLAGS-brandred-fma4.c): Remove.
62045         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62046         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62047         define.
62048         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62049         define.
62051 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62053         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62054         LLONG_MAX != LONG_MAX.
62055         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62056         (_fitoa_word): Likewise.
62057         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62058         LLONG_MAX != LONG_MAX.
62059         * stdio-common/_itowa.h: Include <_itoa.h>.
62060         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62061         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62062         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62063         only if not defined.
62064         (_ITOA_WORD_TYPE): Likewise.
62065         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62066         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62068 2012-03-21  David S. Miller  <davem@davemloft.net>
62070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62072 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62074         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62075         of x86_64 when setting libc_cv_slibdir, libdir and
62076         libc_cv_localedir.
62077         * sysdeps/unix/sysv/linux/configure: Regenerated.
62079 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62081         * manual/lang.texi (Old Varargs): Remove section.
62082         (How Variadic): Update menu.
62083         (va_start): Do not mention varargs.h.
62085 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62086             Joseph Myers  <joseph@codesourcery.com>
62088         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62089         link test.
62090         * configure: Regenerated.
62092 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62094         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62095         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62096         conformtest.pl
62098 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62100         * NOTES: Remove.
62101         * Makefile (files-for-dist): Remove NOTES.
62102         (NOTES): Remove rule.
62103         * README: Don't refer to NOTES.
62104         * manual/creature.texi: Don't include macros.texi.
62105         * manual/intro.texi (creature.texi): Remove comment referring to
62106         NOTES.
62108         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62109         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62110         * configure: Regenerated.
62111         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62112         LIBC_TRY_CC_OPTION.
62113         (libc_cv_as_i686): Likewise.
62114         (libc_cv_cc_avx): Likewise.
62115         (libc_cv_cc_sse2avx): Likewise.
62116         (libc_cv_cc_fma4): Likewise.
62117         (libc_cv_cc_novzeroupper): Likewise.
62118         * sysdeps/i386/configure: Regenerated.
62120         [BZ #13883]
62121         * sysdeps/i386/fpu/s_cexp.S: Remove.
62122         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62123         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62124         * math/libm-test.inc (cexp_test): Add more tests.
62125         * sysdeps/i386/fpu/libm-test-ulps: Update.
62126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62128 2012-03-21  Allan McRae  <allan@archlinux.org>
62130         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62132 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62134         [BZ #13871]
62135         * math/w_exp2.c: Do not include <float.h>.
62136         (o_threshold, u_threshold): Remove.
62137         (__exp2): Calculate result before checking finiteness and calling
62138         __kernel_standard.
62139         * math/w_exp2f.c: Likewise.
62140         * math/w_exp2l.c: Likewise.
62141         * math/libm-test.inc (exp2_test): Require overflow exception for
62142         1e6 input.
62144         [BZ #3866]
62145         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62146         range of signed 64-bit integers before using fistpll.  Remove
62147         checks for whether integers fit in mantissa bits.
62148         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62149         the range of signed 32-bit integers before using fistpl.  Remove
62150         checks for whether integers fit in mantissa bits.
62151         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62152         (__ieee754_powl): Test for y outside the range of signed 64-bit
62153         integers before using fistpll.  Reduce 64-bit values to 63-bit
62154         ones as needed.
62155         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62156         divide-by-zero is raised for zero to large negative powers.
62157         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62158         (__ieee754_powl): Test for y outside the range of signed 64-bit
62159         integers before using fistpll.  Reduce 64-bit values to 63-bit
62160         ones as needed.
62161         * math/libm-test.inc (pow_test): Add more tests.
62163 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62165         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62166         <stdio-common/_itoa.h>.
62167         * debug/segfault.c: Likewise.
62168         * elf/dl-cache.c: Likewise.
62169         * elf/dl-minimal.c: Likewise.
62170         * elf/dl-misc.c: Likewise.
62171         * elf/dl-sysdep.c: Likewise.
62172         * elf/dl-version.c: Likewise.
62173         * elf/rtld.c: Likewise.
62174         * hurd/hurdsock.c: Likewise.
62175         * hurd/lookup-retry.c: Likewise.
62176         * malloc/malloc.c: Likewise.
62177         * malloc/mtrace.c: Likewise.
62178         * nscd/nscd_getgr_r.c: Likewise.
62179         * nscd/nscd_getpw_r.c: Likewise.
62180         * nscd/nscd_getserv_r.c: Likewise.
62181         * posix/getopt_init.c: Likewise.
62182         * posix/wordexp.c: Likewise.
62183         * stdio-common/_itoa.c: Likewise.
62184         * stdio-common/printf_fphex.c: Likewise.
62185         * stdio-common/vfprintf.c: Likewise.
62186         * string/_strerror.c: Likewise.
62187         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62188         * sysdeps/i386/i686/hp-timing.h: Likewise.
62189         * sysdeps/mach/_strerror.c: Likewise.
62190         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62191         * sysdeps/mach/hurd/sethostid.c: Likewise.
62192         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62193         * sysdeps/mach/xpg-strerror.c: Likewise.
62194         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62195         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62196         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62197         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62198         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62199         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62200         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62201         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62202         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62203         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62204         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62205         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62206         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62207         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62208         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62209         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62210         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62211         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62212         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62213         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62214         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62216         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62218         * stdio-common/_itoa.h: Moved to ...
62219         * sysdeps/generic/_itoa.h: Here.
62221         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62223         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62224         instead of "_itoa.h" and "_itowa.h".
62225         * stdio-common/vfprintf.: Likewise.
62227 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62229         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62230         <bits/wordsize.h>.
62231         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62232         (__signbit): Likwise.
62233         (llrintf): Likwise.
62234         (llrint): Likwise.
62236 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62238         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62239         __WORDSIZE != 64.
62241 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62243         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62244         OVERFLOW_EXCEPTION_OK.
62245         * math/libm-test.inc ("Philosophy"): Update comment about
62246         exception testing.
62247         (OVERFLOW_EXCEPTION): Define.
62248         (OVERFLOW_EXCEPTION_OK): Likewise.
62249         (INVALID_EXCEPTION_OK): Renumber.
62250         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62251         (IGNORE_ZERO_INF_SIGN): Likewise.
62252         (test_exceptions): Handle FE_OVERFLOW.
62253         (exp10_test): Expect overflow exceptions.
62254         (exp2_test): Likewise.
62255         (expm1_test): Likewise.
62256         (nextafter_test): Likewise.
62257         (pow_test): Likewise.
62258         (scalbn_test): Likewise.
62259         (scalbln_test): Likewise.
62261 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62263         * sysdeps/x86_64/bits/atomic.h
62264         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62265         64bit integer.
62266         (atomic_exchange_acq): Likewise.
62267         (__arch_exchange_and_add_body): Likewise.
62268         (__arch_add_body): Likewise.
62269         (atomic_add_negative): Likewise.
62270         (atomic_add_zero): Likewise.
62272 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62274         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62275         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62277 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62279         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62280         Check __x86_64__ instead of __WORDSIZE.
62282 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62284         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62286 2012-03-19  David S. Miller  <davem@davemloft.net>
62288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62290         * sysdeps/sparc/fpu/fenv_private.h: New file.
62291         * sysdeps/sparc/fpu/math_private.h: Use it.
62292         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62293         Remove.
62294         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62295         (libc_feholdexcept_setroundl): Remove.
62296         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62297         Remove.
62298         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62299         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62301 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62303         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62304         int64_t instead of long int.
62305         (INSERT_WORDS64): Likwise.
62307 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62309         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62310         _Unwind_GetCFA return to _Unwind_Ptr first.
62312 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62314         [BZ #13629]
62315         * math/s_clog.c: Include <float.h>.
62316         (__clog): Scale large or subnormal inputs.
62317         * math/s_clogf.c: Likewise.
62318         * math/s_clogl.c: Likewise.
62319         * math/s_clog10.c: Include <float.h>.
62320         (M_LOG10_2): Define.
62321         (__clog10): Scale large or subnormal inputs.
62322         * math/s_clog10f.c: Likewise.
62323         * math/s_clog10l.c: Likewise.
62324         * math/libm-test.inc (clog_test): Add more tests.
62325         (clog10_test): Likewise.
62326         * sysdeps/i386/fpu/libm-test-ulps: Update.
62327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62329         [BZ #11451]
62330         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62331         x and y.
62332         * math/libm-test.inc (atan2_test): Add another test.
62334         * Makerules (common-objdir-compile): Remove.
62335         * sysdeps/unix/Makefile (config-generated): Do not add
62336         $(unix-generated) to variable.
62337         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62338         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62339         Remove rule.
62340         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62341         Likewise.
62342         [generic bits/local_lim.h] (before-compile): Do not append to
62343         variable.
62344         [generic bits/local_lim.h] (common-generated): Likewise.
62345         [generic sys/param.h] (before-compile): Do not append to variable.
62346         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62347         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62348         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62349         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62350         include.
62351         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62352         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62353         [generic sys/param.h] ($(addprefix
62354         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62355         [generic sys/param.h] (common-generated): Do not append to
62356         variable.
62357         [generic sys/param.h] (sysdep_headers): Likewise.
62358         [generic bits/errno.h] (before-compile): Do not append to
62359         variable.
62360         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62361         rule.
62362         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62363         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62364         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62365         [generic bits/errno.h] (common-generated): Do not append to
62366         variable.
62367         [generic bits/ioctls.h] (before-compile): Do not append to
62368         variable.
62369         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62370         rule.
62371         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62372         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62373         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62374         rule.
62375         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62376         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62377         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62378         [generic bits/ioctls.h] (common-generated): Do not append to
62379         variable.
62380         [generic sys/syscall.h] (syscall.h): Remove variable.
62381         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62382         rule.
62383         [generic sys/syscall.h] (before-compile): Do not append to
62384         variable.
62385         [generic sys/syscall.h] (common-generated): Likewise.
62386         * sysdeps/unix/errnos-tmpl.c: Remove file.
62387         * sysdeps/unix/errnos.awk: Likewise.
62388         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62389         * sysdeps/unix/ioctls.awk: Likewise.
62390         * sysdeps/unix/mk-local_lim.c: Likewise.
62391         * sysdeps/unix/snarf-ioctls: Likewise.
62393 2012-03-19  Richard Henderson  <rth@twiddle.net>
62395         * sysdeps/i386/fpu/fenv_private.h: New file.
62396         * sysdeps/i386/fpu/math_private.h: Use it.
62397         (math_opt_barrier, math_force_eval): Remove.
62398         (libc_feholdexcept_setround_53bit): Remove.
62399         (libc_feupdateenv_53bit): Remove.
62400         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62401         (math_opt_barrier, math_force_eval): Remove.
62402         (libc_feholdexcept): Remove.
62403         (libc_feholdexcept_setround): Remove.
62404         (libc_fetestexcept, libc_fesetenv): Remove.
62405         (libc_feupdateenv_test): Remove.
62406         (libc_feupdateenv, libc_feholdsetround): Remove.
62407         (libc_feresetround): Remove.
62409         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62410         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62412         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62413         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62414         (libc_feupdateenv_testl): New.
62415         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62416         (libc_feupdateenv_testf): New.
62417         (libc_feupdateenv): Use libc_feupdateenv_test.
62418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62419         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62421         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62422         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62423         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62424         (libc_feresetround_noex): New.
62425         (libc_feresetround_noexf): New.
62426         (libc_feresetround_noexl): New.
62427         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62428         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62429         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62430         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62431         SET_RESTORE_ROUND.
62432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62434         (__cos): Likewise.
62435         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62436         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62437         SET_RESTORE_ROUND_NOEX.
62438         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62439         SET_RESTORE_ROUND_NOEXF.
62440         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62441         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62442         (libc_feholdsetroundf): New.
62443         (libc_feresetround, libc_feresetroundf): New.
62445         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62446         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62447         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62449         * sysdeps/generic/math_private.h: Include <fenv.h>.
62450         (default_libc_feholdexcept): New.
62451         (default_libc_feholdexcept_setround): New.
62452         (default_libc_fesetenv, default_libc_feupdateenv): New.
62453         (libc_feholdexcept): Only define if undefined.
62454         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62455         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62456         (libc_feholdexcept_setroundl): Likewise.
62457         (libc_feholdexcept_setround_53bit): Likewise.
62458         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62459         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62460         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62461         (libc_feupdateenv_53bit): Likewise.
62462         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62463         (libc_feholdexcept): Convert from macro to inline function.
62464         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62465         (libc_fesetenv, libc_feupdateenv): Likewise.
62467         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62468         not previously defined.
62469         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62470         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62471         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62472         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62473         * sysdeps/ieee754/flt-32/math_private.h: New file.
62474         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62475         math_private.h below SET_FLOAT_WORD.
62476         (__isnan, __isinf_ns, __finite): Remove.
62477         (__isnanf, __isinf_nsf, __finitef): Remove.
62479 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62483 2012-03-17  David S. Miller  <davem@davemloft.net>
62485         [BZ #6471]
62486         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62487         for 2.16.
62489 2012-03-16  David S. Miller  <davem@davemloft.net>
62491         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62492         warnings.
62494         [BZ #6471]
62495         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62496         properly.
62497         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62498         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62499         sysdep_routines when subdir is sysvipc.
62500         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62501         __getshmlba helper.
62503         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62505 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62507         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62508         [__LP64__].
62510 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62512         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62513         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62514         (__lround): Renamed to ...
62515         (__llround): This.  Replace long int with long long int.
62516         Define lround functions as aliases of llround functions.
62517         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62519 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62521         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62522         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62523         adresses to uintptr_t.  Replace "long int" and "unsigned long
62524         int" with "greg_t" on va_arg.
62526 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62528         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62529         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62531         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62532         Move e_machine check before EI_CLASS check.  Handle x32
62533         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62534         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62535         SKIP_EM_IA_64 and include
62536         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62538         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62539         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62540         (add_system_dir): New macro.
62542         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62543         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62545 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62547         [BZ #2551]
62548         [BZ #2552]
62549         [BZ #2553]
62550         [BZ #2554]
62551         [BZ #2562]
62552         [BZ #2563]
62553         [BZ #2565]
62554         [BZ #2566]
62555         [BZ #2576]
62556         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62557         (y0): Likewise.
62558         * math/w_j0f.c (j0f): Likewise.
62559         (y0f): Likewise.
62560         * math/w_j0l.c (__j0l): Likewise.
62561         (__y0l): Likewise.
62562         * math/w_j1.c (j1): Likewise.
62563         (y1): Likewise.
62564         * math/w_j1f.c (j1f): Likewise.
62565         (y1f): Likewise.
62566         * math/w_j1l.c (__j1l): Likewise.
62567         (__y1l): Likewise.
62568         * math/w_jn.c (jn): Likewise.
62569         (yn): Likewise.
62570         * math/w_jnf.c (jnf): Likewise.
62571         (ynf): Likewise.
62572         * math/w_jnl.c (__jnl): Likewise.
62573         (__ynl): Likewise.
62574         * math/libm-test.inc (j0_test): Add more tests.
62575         (j1_test): Likewise.
62576         (jn_test): Likewise.  Add trailing semicolon to existing test.
62577         (y0_test): Likewise.
62578         (y1_test): Likewise.
62579         * sysdeps/i386/fpu/libm-test-ulps: Update.
62580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62582         [BZ #13851]
62583         [BZ #13854]
62584         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62585         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62586         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62587         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62588         (__tanl): Set errno for infinite argument.
62589         * sysdeps/i386/fpu/mptan.c: Remove.
62590         * sysdeps/i386/fpu/s_tan.S: Likewise.
62591         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62592         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62593         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62594         * math/libm-test.inc (tan_test): Add more tests and enable more
62595         tests for double and long double.
62596         * sysdeps/i386/fpu/libm-test-ulps: Update.
62597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62599 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62601         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62602         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62604 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62606         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62607         * configure.in: Use it for both main tree and add-ons.
62608         * configure: Regenerated.
62610 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62612         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62614 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62616         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62617         in comment.
62619         [BZ #13851]
62620         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62621         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62622         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62623         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62624         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62625         infinite argument.
62626         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62627         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62628         != 0 for prec == 2.
62629         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62630         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62631         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62632         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62633         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62634         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62635         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62636         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62637         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62638         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62639         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62640         * math/libm-test.inc (cos_test): Add more tests and enable more
62641         tests for long double.
62642         (sin_test): Likewise.
62643         (sincos_test): Likewise.
62644         * sysdeps/i386/fpu/libm-test-ulps: Update.
62645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62647 2012-03-16  David S. Miller  <davem@davemloft.net>
62649         * sysdeps/sparc/fpu/math_private.h: New file.
62651 2012-03-15  David S. Miller  <davem@davemloft.net>
62653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62654         file.
62655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62657         file.
62658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62663         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62664         sysdep routines.
62665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62667         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62668         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62670         * sysdeps/sparc/sparc-ifunc.h: New file.
62671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62672         sparc-ifunc.h
62673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62675         Likewise.
62676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62677         Likewise.
62678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62682         Likewise.
62683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62688         Likewise.
62689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62690         Likewise.
62691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62696         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62697         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62698         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62705         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62706         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62707         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62708         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62709         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62710         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62711         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62712         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62713         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62714         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62716 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62718         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62719         scaling.
62720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62722 2012-03-15  Andreas Jaeger  <aj@suse.de>
62724         [BZ #13852]
62725         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62726         ieee754/flt-32 implementation for sin, cos and sincos.
62727         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62728         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62729         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62730         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62731         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62732         ieee754/flt-32 implementation for tan.
62734         * math/libm-test.inc (cos_test): Enable some large input tests for
62735         float as well
62736         (sin_test): Likewise.
62737         (sincos_test): Likewise.
62738         (tan_test): Add tests for large input.
62740         * sysdeps/i386/fpu/libm-test-ulps: Update.
62742 2012-03-15  Andreas Jaeger  <aj@suse.de>
62744         [BZ #13658]
62745         * math/libm-test.inc (cos_test): Add more test cases.
62746         (sin_test): Likewise.
62747         (sincos_test): Likewise.
62749 2012-03-15  Andreas Jaeger  <aj@suse.de>
62751         [BZ #13837]
62752         * math/libm-test.inc (cos_test): Add a test case for large input
62753         value.
62754         (sin_test): Likewise.
62755         (sincos_test): Likewise.
62757 2012-03-15  Andreas Jaeger  <aj@suse.de>
62758             Joseph Myers  <joseph@codesourcery.com>
62760         [BZ #13658]
62761         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62762         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62763         * sysdeps/i386/fpu/branred.c: Likewise.
62764         * sysdeps/i386/fpu/dosincos.c: Likewise.
62765         * sysdeps/i386/fpu/mpa.c: Likewise.
62766         * sysdeps/i386/fpu/s_cos.S: Likewise.
62767         * sysdeps/i386/fpu/s_sin.S: Likewise.
62768         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62769         * sysdeps/i386/fpu/sincos32.c: Likewise.
62771         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62772         Define.
62773         (libc_feupdateenv_53bit): Define.
62774         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62775         Define.
62776         (libc_feupdateenv_53bit): Define.
62778         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62779         53 bit (without extend i386 double precision).
62781         * math/libm-test.inc (sincos_test): Add tests for large input.
62782         (sin): Likewise.
62783         (cos): Likewise.
62785         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62787 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62791 2012-03-15  David S. Miller  <davem@davemloft.net>
62793         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62794         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62795         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62796         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62801         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62802         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62803         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62804         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62809         file.
62810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62812         file.
62813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62815         file.
62816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62818         file.
62819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62820         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62821         fmin/fmax sysdep routines.
62822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62824 2012-03-14  David S. Miller  <davem@davemloft.net>
62826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62828         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62829         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62830         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62831         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62832         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62833         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62837         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62838         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62839         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62840         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62841         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62845         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62846         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62847         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62848         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62849         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62850         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62851         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62852         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62853         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62855         routines.
62856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62857         file.
62858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62860         file.
62861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62863         file.
62864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62866         file.
62867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62869         file.
62870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62872         file.
62873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62874         file.
62875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62876         file.
62877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62878         file.
62879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62880         New file.
62881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62882         file.
62883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62884         file.
62885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62887         file.
62888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62890         file.
62891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62893         file.
62894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62896         VIS3 routines.
62898         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62899         New file.
62901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62903         * sysdeps/sparc/configure.in: New file.
62904         * sysdeps/sparc/configure: Generate.
62905         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62906         * configure: Regenerate.
62907         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62908         * config.make.in (have-as-vis3): New.
62909         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62910         available use -Av9d instead of -Av9a.
62911         * sysdeps/sparc/sparc64/Makefile: Likewise.
62912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62914         New file.
62915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62916         file.
62917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62918         New file.
62919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62920         file.
62921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62922         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62923         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62924         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62925         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62927         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62928         fzeros/fnegs to load 0x80000000 into a float register instead of
62929         using the stack.
62930         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62932 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62935         bits/syscall.h.
62936         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62937         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62938         ($(inst_includedir)/bits/syscall.h): Remove rule.
62939         ($(objpfx)bits/syscall.d): Include instead of
62940         $(objpfx)syscall-list.d.
62941         (generated): Change syscall-list.h and syscall-list.d to
62942         bits/syscall.h and bits/syscall.d.
62944 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62946         [BZ #13846]
62947         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62949 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62951         [BZ #13841]
62952         * math/s_csqrt.c: Include <float.h>.
62953         (__csqrt): Scale large or subnormal inputs.
62954         * math/s_csqrtf.c: Likewise.
62955         * math/s_csqrtl.c: Likewise.
62956         * math/libm-test.inc (csqrt_test): Add more tests.
62957         * sysdeps/i386/fpu/libm-test-ulps: Update.
62958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62960         [BZ #13840]
62961         * math/libm-test.inc (hypot_test): Add more tests.
62963 2012-03-13  David S. Miller  <davem@davemloft.net>
62965         [BZ #13840]
62966         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62967         double-precision for the calculation instead of scaling.
62969 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62971         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62972         manipulate bits before adding and subtracting TWO52[sx].
62973         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62974         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62975         Likewise.
62976         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62978 2012-03-13  David S. Miller  <davem@davemloft.net>
62980         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62981         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62983         rtld-global-offsets.h
62984         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62986         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62987         large parameters.
62989         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62991         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62992         'err' in the ifdef scope in which it is actually used.
62994         * nss/nss_db/db-init.c: Include string.h
62996 2012-03-12  David S. Miller  <davem@davemloft.net>
62998         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62999         masking out of the most significant byte of random value used.
63000         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63001         Fix coding style in previous change.
63003         * sysdeps/unix/sysv/linux/kernel-features.h
63004         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63005         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63006         expression.
63007         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63008         later.
63010 2012-03-11  David S. Miller  <davem@davemloft.net>
63012         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63013         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63014         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63015         for 'resultvar' otherwise things get truncated on 64-bit.
63017         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63018         Fix masking out of the most significant byte of random value used.
63020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63022 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63026 2012-03-09  David S. Miller  <davem@davemloft.net>
63028         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63029         variables with appropriate CPP guards.
63030         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63031         from the frame pointer, not the stack pointer.  Correct layout
63032         comments.  Fix test on resulting framesize and the management of
63033         the outregs buffer for pltexit.  Preserve floating point return
63034         values across _dl_call_pltexit call.
63035         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63036         framesize and the management of the outregs buffer for pltexit.
63037         Preserve floating point return values across _dl_call_pltexit
63038         call.
63039         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63040         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63041         (la_sparc64_gnu_pltexit): New functions.
63042         (print_exit): Fix format string for return register value.
63044 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63046         * sunrpc/Makefile (others): Add rpcgen.
63047         ($(objpfx)rpcgen): Remove special build rule and dependency on
63048         libc.
63049         * sunrpc/rpcgen.c: New file.
63051 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63053         [BZ #13673]
63054         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63055         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63056         * sysdeps/i386/crti.S: Likewise.
63057         * sysdeps/i386/crtn.S: Likewise.
63058         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63059         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63060         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63061         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63062         * sysdeps/sh/crti.S: Likewise.
63063         * sysdeps/sh/crtn.S: Likewise.
63064         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63066         [BZ #13673]
63067         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63068         with URL.
63069         * locale/programs/locfile-kw.gperf: Likewise.
63070         * locale/programs/charmap-kw.h: Regenerated.
63071         * locale/programs/locfile-kw.h: Likewise.
63073         [BZ #13673]
63074         * intl/plural.y: Replace FSF snail mail address with URL.
63075         * intl/plural.c: Regenerated.
63077 2012-03-09  Richard Henderson  <rth@twiddle.net>
63079         * include/math_private.h: Remove file.
63080         * math/math_private.h: Move file ...
63081         * sysdeps/generic/math_private.h: ... here.
63083         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63084         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63085         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63087         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63088         and <math_private.h>.
63089         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63090         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63091         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63092         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63093         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63094         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63095         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63097         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63098         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63099         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63100         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63101         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63102         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63103         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63104         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63105         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63107         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63108         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63109         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63110         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63111         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63112         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63113         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63114         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63115         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63116         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63117         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63118         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63119         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63120         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63121         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63122         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63123         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63124         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63125         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63126         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63127         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63128         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63129         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63130         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63131         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63132         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63133         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63134         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63135         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63136         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63137         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63138         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63139         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63140         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63141         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63142         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63143         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63144         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63145         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63146         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63147         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63148         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63149         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63150         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63151         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63152         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63153         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63154         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63155         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63156         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63157         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63158         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63159         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63160         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63161         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63162         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63163         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63164         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63165         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63166         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63167         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63168         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63169         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63170         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63171         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63172         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63173         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63174         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63175         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63176         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63177         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63178         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63179         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63180         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63181         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63182         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63183         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63184         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63185         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63186         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63187         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63188         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63189         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63190         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63191         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63192         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63193         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63194         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63195         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63196         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63197         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63198         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63199         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63200         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63201         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63202         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63203         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63204         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63205         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63206         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63207         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63208         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63209         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63210         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63211         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63212         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63213         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63214         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63215         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63216         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63217         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63218         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63219         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63220         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63221         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63222         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63223         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63224         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63225         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63226         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63227         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63228         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63229         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63230         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63231         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63232         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63233         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63234         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63235         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63236         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63237         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63238         * sysdeps/ieee754/k_standard.c: Likewise.
63239         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63240         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63241         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63242         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63243         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63244         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63245         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63246         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63247         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63248         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63249         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63250         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63251         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63252         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63253         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63254         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63255         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63256         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63257         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63258         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63259         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63260         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63261         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63262         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63263         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63264         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63265         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63266         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63267         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63268         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63269         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63270         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63271         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63272         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63273         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63274         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63275         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63276         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63277         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63278         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63279         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63280         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63281         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63282         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63283         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63284         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63285         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63286         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63287         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63288         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63289         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63290         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63291         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63292         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63293         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63294         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63295         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63296         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63297         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63298         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63299         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63300         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63301         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63302         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63303         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63304         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63305         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63306         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63307         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63308         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63309         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63311         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63312         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63313         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63315         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63316         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63317         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63318         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63319         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63320         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63321         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63322         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63323         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63324         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63325         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63326         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63327         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63328         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63329         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63330         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63331         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63332         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63333         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63334         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63335         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63336         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63337         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63338         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63340         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63341         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63342         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63343         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63344         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63345         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63346         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63347         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63348         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63349         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63350         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63351         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63352         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63353         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63354         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63355         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63356         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63357         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63358         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63359         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63360         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63361         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63362         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63363         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63364         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63365         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63366         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63367         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63368         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63369         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63370         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63371         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63372         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63373         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63374         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63375         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63376         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63377         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63378         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63379         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63380         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63381         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63382         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63383         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63384         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63385         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63386         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63387         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63388         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63389         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63390         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63391         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63392         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63393         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63394         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63395         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63396         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63397         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63398         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63399         * sysdeps/ieee754/s_lib_version.c: Likewise.
63400         * sysdeps/ieee754/s_matherr.c: Likewise.
63401         * sysdeps/ieee754/s_signgam.c: Likewise.
63402         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63403         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63404         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63405         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63406         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63407         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63408         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63409         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63410         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63411         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63412         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63413         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63414         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63415         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63416         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63417         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63418         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63419         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63420         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63421         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63422         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63424 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63426         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63427         * sunrpc/rpc_main.c: Likewise.
63428         * sunrpc/rpc_svcout.c: Likewise.
63430 2012-03-09  David S. Miller  <davem@davemloft.net>
63432         * include/math_private.h: New file.
63434 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63436         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63437         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63438         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63439         from <bits/socket_type.h>.
63440         (enum __socket_type): Don't define here.
63441         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63443         bits/socket_type.h.
63445         [BZ #13566]
63446         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63447         checking __USE_GNU.
63449         * Makerules ($(inst_includedir)/%.h): New rule.
63450         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63451         (install-others): Remove variable setting.
63452         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63454 2012-03-08  Richard Henderson  <rth@twiddle.net>
63456         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63457         from macro to inline function; merge with the
63458         !__LIBC_INTERNAL_MATH_INLINES version.
63459         (__ieee754_sqrtf): Likewise.
63461         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63462         to inline function.
63463         (__rintf, __floor, __floorf): Likewise.
63465         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63466         macro to inline function.
63467         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63469         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63470         not <math/math_private.h>.
63472 2012-03-08  David S. Miller  <davem@davemloft.net>
63474         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63475         copyright year.
63476         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63478 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63480         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63481         normalization.
63482         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63483         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63485 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63487         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63488         be defined individually, they must be defined as a block.  Define
63489         S for printing a string instead of hidint the different by using a
63490         macro for adding the 'l'.
63491         * stdio-common/tst-fphex-wide.c: Adjust.
63493 2012-03-07  Marek Polacek  <polacek@redhat.com>
63495         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63497 2012-03-08  Marek Polacek  <polacek@redhat.com>
63499         [BZ #13806]
63500         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63501         * stdio-common/tst-fphex.c: Define a few macros to make the
63502         test reusable.  Use them.
63503         * stdio-common/tst-fphex-wide.c: New file.
63505 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63507         [BZ #6911]
63508         * manual/macros.texi (gnusystems): New macro.
63509         (nongnusystems): Likewise.
63510         (gnulinuxhurdsystems): Likewise.
63511         (gnuhurdsystems): Likewise..
63512         (gnulinuxsystems): Likewise.
63513         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63514         variants of the GNU system, not "GNU system".
63515         * manual/conf.texi: Likewise.
63516         * manual/errno.texi: Likewise.  Update example of errno macro
63517         expansion.
63518         * manual/filesys.texi: Likewise.
63519         (getumask): Document as specific to GNU/Hurd.
63520         * manual/install.texi: Likewise.  Reword some references to
63521         GNU/Linux.
63522         * manual/intro.texi: Likewise.
63523         * manual/io.texi: Likewise.
63524         (File Name Portability): Detail which constraints are inapplicable
63525         to all GNU systems and which are only inapplicable to GNU/Hurd.
63526         * manual/job.texi: Likewise.
63527         * manual/llio.texi: Likewise.
63528         (O_NOCTTY): Document as present on GNU/Linux.
63529         * manual/maint.texi: Likewise.
63530         * manual/memory.texi: Likewise.
63531         * manual/pattern.texi: Likewise.
63532         * manual/pipe.texi: Likewise.
63533         * manual/process.texi: Likewise.
63534         * manual/resource.texi: Likewise.
63535         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63536         child on GNU/Hurd.
63537         * manual/setjmp.texi: Likewise.
63538         * manual/signal.texi: Likewise.
63539         * manual/startup.texi: Likewise.
63540         * manual/stdio.texi: Likewise.
63541         * manual/terminal.texi: Likewise.
63542         (ONLCR): Document as POSIX.
63543         (OXTABS): Document availability on GNU/Linux as XTABS.
63544         (ONOEOT): Document availability separately from other bits.
63545         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63546         * manual/time.texi: Likewise.
63547         * manual/users.texi: Likewise.
63548         * INSTALL: Regenerated.
63549         * sysdeps/gnu/errlist.c: Regenerated.
63551         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63552         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63553         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63554         puts.
63555         * configure: Regenerated.
63557 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63559         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63560         default includes instead of AC_HEADER_CHECK.
63561         * sysdeps/i386/configure: Regenerated.
63563         [BZ #10716]
63564         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63565         * math/s_cacoshf.c (__cacoshf): Likewise.
63566         * math/s_cacoshl.c (__cacoshl): Likewise.
63567         * math/s_casinh.c (__casinh): Set signs of result from argument.
63568         * math/s_casinhf.c (__casinhf): Likewise.
63569         * math/s_casinhl.c (__casinhl): Likewise.
63570         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63571         (casinh_test): Add more tests.
63572         * sysdeps/i386/fpu/libm-test-ulps: Update.
63573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63575 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63577         * po/zh_TW.po: Update from translation team.
63579         * login/Makefile (distribute): Remove variable.
63580         * catgets/Makefile: Likewise.
63581         * mach/Makefile: Likewise.
63582         * malloc/Makefile: Likewise.
63583         * misc/Makefile: Likewise.
63584         * iconv/Makefile: Likewise.
63585         * nscd/Makefile: Likewise.
63586         * hurd/Makefile: Likewise.
63587         * manual/Makefile: Likewise.
63588         * locale/Makefile: Likewise.
63589         * intl/Makefile: Likewise.
63590         * conform/Makefile: Likewise.
63591         * nss/Makefile: Likewise.
63592         * time/Makefile: Likewise.
63593         * soft-fp/Makefile: Likewise.
63594         * dirent/Makefile: Likewise.
63595         * gmon/Makefile: Likewise.
63596         * po/Makefile: Likewise.
63597         * rt/Makefile: Likewise.
63598         * socket/Makefile: Likewise.
63599         * math/Makefile: Likewise.
63600         * signal/Makefile: Likewise.
63601         * debug/Makefile: Likewise.
63602         * elf/Makefile: Likewise.
63603         * timezone/Makefile: Likewise.
63604         * stdlib/Makefile: Likewise.
63605         * iconvdata/Makefile: Likewise.
63606         * sunrpc/Makefile: Likewise.
63607         * io/Makefile: Likewise.
63608         * argp/Makefile: Likewise.
63609         * inet/Makefile: Likewise.
63610         * hesiod/Makefile: Likewise.
63611         * grp/Makefile: Likewise.
63612         * csu/Makefile: Likewise.
63613         * wctype/Makefile: Likewise.
63614         * crypt/Makefile: Likewise.
63615         * libio/Makefile: Likewise.
63616         * string/Makefile: Likewise.
63617         * nis/Makefile: Likewise.
63618         * resolv/Makefile: Likewise.
63619         * stdio-common/Makefile: Likewise.
63620         * wcsmbs/Makefile: Likewise.
63621         * dlfcn/Makefile: Likewise.
63622         * posix/Makefile: Likewise.
63624         [BZ #6959]
63625         * timezone/Makefile: Don't install timezone files, just the programs
63626         and scripts.
63628 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63630         * nss/databases.def: Add missing gshadow entry.
63632         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63634 2012-03-06  Marek Polacek  <polacek@redhat.com>
63636         [BZ #13726]
63637         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63638         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63639         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63640         * stdio-common/tst-long-dbl-fphex.c: New file.
63642 2012-03-06  David S. Miller  <davem@davemloft.net>
63644         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63645         (set_obp_int): New function.
63646         (get_obp_int): New function.
63647         (__get_clockfreq_via_dev_openprom): Likewise.
63648         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63649         Avoid unused variable warnings on 'val' and use builtin_expect.
63650         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63651         __builtin_expect.
63652         (INLINE_CLONE_SYSCALL): Likewise.
63654 2012-03-05  David S. Miller  <davem@davemloft.net>
63656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63658 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63662         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63663         only for |x| >= 40.
63664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63666 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63668         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63669         Replace gettimeofday with __vdso_gettimeofday.
63671         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63672         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63673         __vdso_clock_gettime and __vdso_getcpu.
63675         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63676         time with __vdso_time.
63678 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63680         * manual/lang.texi (size_t): Note types to which size_t may be
63681         equivalent with the GNU C Library, but do not describe when
63682         differences between them are significant.
63684 2012-03-05  Andreas Jaeger  <aj@suse.de>
63686         * sysdeps/i386/fpu/libm-test-ulps: Update.
63688 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63690         [BZ #3976]
63691         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63692         (__ieee754_pow): Save and restore rounding mode and use
63693         round-to-nearest for main computations.
63694         * math/libm-test.inc (pow_test_tonearest): New function.
63695         (pow_test_towardzero): Likewise.
63696         (pow_test_downward): Likewise.
63697         (pow_test_upward): Likewise.
63698         (main): Call the new functions.
63699         * sysdeps/i386/fpu/libm-test-ulps: Update.
63700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63702         [BZ #3976]
63703         * math/libm-test.inc (cosh_test_tonearest): New function.
63704         (cosh_test_towardzero): Likewise.
63705         (cosh_test_downward): Likewise.
63706         (cosh_test_upward): Likewise.
63707         (sinh_test_tonearest): Likewise.
63708         (sinh_test_towardzero): Likewise.
63709         (sinh_test_downward): Likewise.
63710         (sinh_test_upward): Likewise.
63711         (main): Call the new functions.
63712         * sysdeps/i386/fpu/libm-test-ulps: Update.
63713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63715 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63717         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63718         default stack guard is set in last bytes.
63719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63721 2012-03-05  Kees Cook  <keescook@chromium.org>
63723         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63725         [BZ #13656]
63726         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63727         possibly allocate from heap instead of stack.
63728         * stdio-common/bug-vfprintf-nargs.c: New file.
63729         * stdio-common/Makefile (tests): Add nargs overflow test.
63731 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63735 2012-03-03  Marek Polacek  <polacek@redhat.com>
63737         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63738         * math/math_private.h: Likewise.
63739         * stdlib/tst-strtod.c: Likewise.
63740         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63741         * sysdeps/x86_64/bits/atomic.h: Likewise.
63743 2012-03-02  David S. Miller  <davem@davemloft.net>
63745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63749         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63750         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63751         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63752         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63754 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63756         [BZ #13792]
63757         * manual/examples/README: New file, says the example source files
63758         can be used under GPL>=2.
63759         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63760         line containing just "*/".
63761         * manual/examples/add.c: Add copyright header (GPL>=2).
63762         * manual/examples/argp-ex1.c: Likewise.
63763         * manual/examples/argp-ex2.c: Likewise.
63764         * manual/examples/argp-ex3.c: Likewise.
63765         * manual/examples/argp-ex4.c: Likewise.
63766         * manual/examples/atexit.c: Likewise.
63767         * manual/examples/db.c: Likewise.
63768         * manual/examples/dir.c: Likewise.
63769         * manual/examples/dir2.c: Likewise.
63770         * manual/examples/execinfo.c: Likewise.
63771         * manual/examples/filecli.c: Likewise.
63772         * manual/examples/filesrv.c: Likewise.
63773         * manual/examples/fmtmsgexpl.c: Likewise.
63774         * manual/examples/genpass.c: Likewise.
63775         * manual/examples/inetcli.c: Likewise.
63776         * manual/examples/inetsrv.c: Likewise.
63777         * manual/examples/isockad.c: Likewise.
63778         * manual/examples/longopt.c: Likewise.
63779         * manual/examples/memopen.c: Likewise.
63780         * manual/examples/memstrm.c: Likewise.
63781         * manual/examples/mkfsock.c: Likewise.
63782         * manual/examples/mkisock.c: Likewise.
63783         * manual/examples/mygetpass.c: Likewise.
63784         * manual/examples/pipe.c: Likewise.
63785         * manual/examples/popen.c: Likewise.
63786         * manual/examples/rprintf.c: Likewise.
63787         * manual/examples/search.c: Likewise.
63788         * manual/examples/select.c: Likewise.
63789         * manual/examples/setjmp.c: Likewise.
63790         * manual/examples/sigh1.c: Likewise.
63791         * manual/examples/sigusr.c: Likewise.
63792         * manual/examples/stpcpy.c: Likewise.
63793         * manual/examples/strdupa.c: Likewise.
63794         * manual/examples/strftim.c: Likewise.
63795         * manual/examples/strncat.c: Likewise.
63796         * manual/examples/subopt.c: Likewise.
63797         * manual/examples/swapcontext.c: Likewise.
63798         * manual/examples/termios.c: Likewise.
63799         * manual/examples/testopt.c: Likewise.
63800         * manual/examples/testpass.c: Likewise.
63801         * manual/examples/timeval_subtract.c: Likewise.
63803         [BZ #13792]
63804         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63805         function to ...
63806         * manual/timeval_subtract.c.texi: ... here, new file.
63808 2012-03-02  David S. Miller  <davem@davemloft.net>
63810         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63812 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63814         [BZ #3976]
63815         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63816         (__sin): Save and restore rounding mode and use round-to-nearest
63817         for all computations.
63818         (__cos): Save and restore rounding mode and use round-to-nearest
63819         for all computations.
63820         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63821         <fenv.h>.
63822         (tan): Save and restore rounding mode and use round-to-nearest for
63823         all computations.
63824         * math/libm-test.inc (cos_test_tonearest): New function.
63825         (cos_test_towardzero): Likewise.
63826         (cos_test_downward): Likewise.
63827         (cos_test_upward): Likewise.
63828         (sin_test_tonearest): Likewise.
63829         (sin_test_towardzero): Likewise.
63830         (sin_test_downward): Likewise.
63831         (sin_test_upward): Likewise.
63832         (tan_test_tonearest): Likewise.
63833         (tan_test_towardzero): Likewise.
63834         (tan_test_downward): Likewise.
63835         (tan_test_upward): Likewise.
63836         (main): Call the new functions.
63837         * sysdeps/i386/fpu/libm-test-ulps: Update.
63838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63840         [BZ #10135]
63841         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63842         small n, then large n, before computing and testing k+n.
63843         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63844         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63845         Likewise.
63846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63847         Likewise.
63848         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63849         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63850         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63851         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63852         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63853         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63854         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63855         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63856         * math/libm-test.inc (scalbn_test): Add more tests.
63857         (scalbln_test): Likewise.
63859         * manual/filesys.texi (mode_t): Describe constraints on size and
63860         signedness, not exact equivalence to a particular type.
63861         (ino_t): Likewise.
63862         (ino64_t): Likewise.
63863         (dev_t): Likewise.
63864         (nlink_t): Likewise.
63865         (blkcnt_t): Likewise.
63866         (blkcnt64_t): Likewise.
63867         * manual/llio.texi (off_t): Likewise.
63869         [BZ #3976]
63870         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63871         (__ieee754_exp): Save and restore rounding mode and use
63872         round-to-nearest for all computations.
63873         * math/libm-test.inc (exp_test_tonearest): New function.
63874         (exp_test_towardzero): Likewise.
63875         (exp_test_downward): Likewise.
63876         (exp_test_upward): Likewise.
63877         (main): Call the new functions.
63878         * sysdeps/i386/fpu/libm-test-ulps: Update.
63879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63881 2012-03-01  Chris Demetriou  <cgd@google.com>
63883         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63884         have predictable order.
63886 2012-03-01  David S. Miller  <davem@davemloft.net>
63888         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63890         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63891         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63892         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63893         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63895         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63896         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63897         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63899         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63900         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63901         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63902         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63903         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63907         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63908         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63909         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63911         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63912         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63913         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63914         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63915         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63916         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63917         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63918         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63919         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63920         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63921         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63922         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63924         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63925         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63926         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63927         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63928         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63929         * sysdeps/sparc/elf/configure: Regenerated.
63931 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63933         * configure.in (AS, LD): Require binutils 2.20 or later.
63934         * configure: Regenerated.
63935         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63936         as required minimum version.
63937         * INSTALL: Regenerated.
63939         [BZ #2541]
63940         [BZ #4108]
63941         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63942         before squaring exponent.
63943         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63944         bottom long double and 27 bits of top long double before squaring
63945         exponent.
63946         * math/libm-test.inc (erfc_test): Add more tests.
63947         * sysdeps/i386/fpu/libm-test-ulps: Update.
63948         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63951 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63953         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63954         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63955         containing bit-fields.
63956         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63957         * soft-fp/single.h (_FP_UNION_S): Likewise.
63958         * soft-fp/double.h (_FP_UNION_D): Likewise.
63960 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63962         [BZ #13786]
63963         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63964         not include ../strcmp.S.
63965         [USE_AS_STRNCASECMP_L]: Likewise.
63966         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63967         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63968         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63969         (__strncasecmp_l_ia32): Define as alias to
63970         __strncasecmp_l_nonascii.
63972         [BZ #5794]
63973         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63974         * sysdeps/i386/fpu/libm-test-ulps: Update.
63975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63977         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63980 2012-02-29  Jeff Law  <law@redhat.com>
63982         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63983         out of bounds read.
63985 2012-02-29  Marek Polacek  <polacek@redhat.com>
63987         [BZ #13706]
63988         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63989         * elf/Makefile: Add rules to run tst-unused-dep.out.
63991 2012-02-28  David S. Miller  <davem@davemloft.net>
63993         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63994         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63995         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63996         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63997         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63998         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64000 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64002         * math/libm-test.inc (llround_test): Move one test from
64003         lround_test.  Use TEST_f_L in moved test.
64004         (lround_test): Move misplaced test to llround_test.  Add testcase
64005         from bug 2561.
64007 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64009         * sysdeps/x86_64/fpu/e_expf.S: New file.
64010         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64012 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64014         [BZ #13637]
64015         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64016         of remain_len that may cause incomplete multi-byte character and
64017         false match.
64018         * posix/bug-regex33.c: New file.
64019         * posix/Makefile (tests): Add bug-regex33.
64021 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64023         * manual/macros.texi: New file.
64024         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64025         * manual/libc.texinfo: Include macros.texi.
64026         * manual/creatute.texi: Likewise.
64027         * manual/install.texi: Likewise.
64028         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64029         @glibcadj{} in references to the GNU C Library.
64030         * manual/charset.texi: Likewise.
64031         * manual/conf.texi: Likewise.
64032         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64033         when not using those macros.
64034         * manual/creature.texi: Likewise.
64035         * manual/crypt.texi: Likewise.
64036         * manual/errno.texi: Likewise.
64037         * manual/filesys.texi: Likewise.
64038         * manual/header.texi: Likewise.
64039         * manual/install.texi: Likewise.
64040         * manual/intro.texi: Likewise.
64041         * manual/io.texi: Likewise.
64042         * manual/job.texi: Likewise.
64043         * manual/lang.texi: Likewise.
64044         * manual/libc.texiinfo: Likewise.
64045         * manual/llio.texi: Likewise.
64046         * manual/locale.texi: Likewise.
64047         * manual/maint.texi: Likewise.
64048         * manual/math.texi: Likewise.
64049         * manual/memory.texi: Likewise.
64050         * manual/message.texi: Likewise.
64051         * manual/nss.texi: Likewise.
64052         * manual/pattern.texi: Likewise.
64053         * manual/process.texi: Likewise.
64054         * manual/resource.texi: Likewise.
64055         * manual/search.texi: Likewise.
64056         * manual/setjmp.texi: Likewise.
64057         * manual/signal.texi: Likewise.
64058         * manual/socket.texi: Likewise.
64059         * manual/startup.texi: Likewise.
64060         * manual/stdio.texi: Likewise.
64061         * manual/string.texi: Likewise.
64062         * manual/sysinfo.texi: Likewise.
64063         * manual/syslog.texi: Likewise.
64064         * manual/terminal.texi: Likewise.
64065         * manual/time.texi: Likewise.
64066         * manual/users.texi: Likewise.
64067         * INSTALL: Regenerated.
64068         * NOTES: Regenerated.
64069         * sysdeps/gnu/errlist.c: Regenerated.
64071 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64073         * include/dirent.h: Include <dirstream.h> before
64074         <dirent/dirent.h>.
64076 2012-02-28  David S. Miller  <davem@davemloft.net>
64078         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64079         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64080         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64081         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64083 2012-02-27  David S. Miller  <davem@davemloft.net>
64085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64087         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64088         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64091         frame pointer instead of stack pointer relative arg slot.
64092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64093         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64094         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64096 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64098         [BZ #3992]
64099         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64101 2012-02-27  David S. Miller  <davem@davemloft.net>
64103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64107         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64108         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64109         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64110         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64112 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64114         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64115         later.  Allow versions 5-9.
64116         * configure: Regenerated.
64117         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64118         required minimum version and 4.6 as recommended version.  Do not
64119         mention bugs in GCC 2.7 and 2.8.
64120         * INSTALL: Regenerated.
64122 2012-02-27  David S. Miller  <davem@davemloft.net>
64124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64128         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64129         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64130         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64131         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64133         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64134         manipulate bits before adding and subtracting TWO112[sx].
64135         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64137 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64139         [BZ #13775]
64140         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64141         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64142         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64143         being in POSIX, because they are in 1003.1-2008.
64145         * rt/tst-aio.c: Include <fcntl.h>.
64146         * rt/tst-aio7.c: Likewise.
64147         * rt/tst-aio64.c: Likewise.
64149         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64151 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64153         * manual/install.texi (--with-headers): Describe headers as
64154         interface headers, not private headers.
64155         (Specific advice for GNU/Linux systems): Describe use of headers
64156         from "make headers_install", not private headers from older
64157         kernels.
64158         * INSTALL: Regenerated.
64159         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64160         Change to 2.6.19.
64161         * sysdeps/unix/sysv/linux/configure: Regenerated.
64163         * manual/llio.texi (fclean): Remove documentation.
64165         * manual/Makefile (libc-texi-generated): New variable.  Include
64166         version.texi.
64167         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64168         $(libc-texi-generated), not duplicated list of files.
64169         (version.texi, stamp-version): New rules.
64170         (realclean): Remove $(libc-texi-generated), not individual files
64171         from that list.  Do not remove dir-add.texinfo.
64172         * manual/libc.texinfo: Comment out uses of edition numbers and
64173         references to printed manual.  Remove last-updated dates.
64174         (EDITION): Comment out.
64175         (ISBN): Likewise.
64176         (VERSION, UPDATED): Remove.
64177         (version.texi): Include.
64179 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64181         * sysdeps/posix/spawni.c: Include <signal.h>.
64182         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64183         * sysdeps/pthread/aio_fsync.c: Likewise.
64185 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64187         * conform/Makefile (tests): Run only when not cross-compiling and
64188         when fast-check is not defined.
64190         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64191         * conform/data/limits.h-data: Fixes for POSIX2008.
64192         * conform/run-conformtest.sh: Run all tests.
64193         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64194         headers.
64195         * include/bits/dlfcn.h: Likewise.
64196         * include/langinfo.h: Likewise.
64197         * include/monetary.h: Likewise.
64198         * include/sys/poll.h: Likewise.
64200         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64201         for __USE_GNU.
64202         * posix/spawn.h: Define __need_sigset_t.
64203         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64204         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64205         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64206         to get sigevent_t only.
64207         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64208         only for __USE_GNU.
64209         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64210         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64211         process_vm_writev only for __USE_GNU.
64212         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64214         * conform/Makefile: For now ignore errors from run-conformtest.
64215         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64216         POSIX to avoid namespace pollution.  Don't prepend headers.
64217         * conform/data/aio.h-data: Fixes for POSIX testing.
64218         * conform/data/fcntl.h-data: Likewise.
64219         * conform/data/glob.h-data: Likewise.
64220         * conform/data/grp.h-data: Likewise.
64221         * conform/data/pthread.h-data: Likewise.
64222         * conform/data/pwd.h-data: Likewise.
64223         * conform/data/signal.h-data: Likewise.
64224         * conform/data/spawn.h-data: Likewise.
64225         * conform/data/stdio.h-data: Likewise.
64226         * conform/data/stdlib.h-data: Likewise.
64227         * conform/data/stropts.h-data: Likewise.
64228         * conform/data/sys/mman.h-data: Likewise.
64229         * conform/data/sys/stat.h-data: Likewise.
64230         * conform/data/sys/types.h-data: Likewise.
64231         * conform/data/sys/wait.h-data: Likewise.
64232         * conform/data/time.h-data: Likewise.
64233         * conform/data/unistd.h-data: Likewise.
64234         * conform/data/utime.h-data: Likewise.
64236         * io/sys/stat.h: fchmod was always in POSIX.
64237         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64238         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64239         * rt/aio.h: Define __need_timespec before including <time.h>.
64240         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64241         struct.  Add forward declaration of pthread_attr_t and use it in
64242         sigevent.
64243         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64244         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64245         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64246         always remove CLK_TCK definition.
64248 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64250         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64252 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64254         * conform/run-conformtest.sh: New file.
64255         * conform/Makefile: Run run-conformtest for tests.
64256         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64257         support.
64259         * conform/data/uchar.h-data: New file.
64260         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64261         * conform/data/arpa/inet.h-data: Likewise.
64262         * conform/data/assert.h-data: Likewise.
64263         * conform/data/complex.h-data: Likewise.
64264         * conform/data/cpio.h-data: Likewise.
64265         * conform/data/ctype.h-data: Likewise.
64266         * conform/data/dirent.h-data: Likewise.
64267         * conform/data/dlfcn.h-data: Likewise.
64268         * conform/data/errno.h-data: Likewise.
64269         * conform/data/fcntl.h-data: Likewise.
64270         * conform/data/float.h-data: Likewise.
64271         * conform/data/fmtmsg.h-data: Likewise.
64272         * conform/data/fnmatch.h-data: Likewise.
64273         * conform/data/ftw.h-data: Likewise.
64274         * conform/data/glob.h-data: Likewise.
64275         * conform/data/grp.h-data: Likewise.
64276         * conform/data/iconv.h-data: Likewise.
64277         * conform/data/inttypes.h-data: Likewise.
64278         * conform/data/langinfo.h-data: Likewise.
64279         * conform/data/libgen.h-data: Likewise.
64280         * conform/data/limits.h-data: Likewise.
64281         * conform/data/locale.h-data: Likewise.
64282         * conform/data/math.h-data: Likewise.
64283         * conform/data/monetary.h-data: Likewise.
64284         * conform/data/mqueue.h-data: Likewise.
64285         * conform/data/ndbm.h-data: Likewise.
64286         * conform/data/net/if.h-data: Likewise.
64287         * conform/data/netdb.h-data: Likewise.
64288         * conform/data/netinet/in.h-data: Likewise.
64289         * conform/data/nl_types.h-data: Likewise.
64290         * conform/data/poll.h-data: Likewise.
64291         * conform/data/pthread.h-data: Likewise.
64292         * conform/data/pwd.h-data: Likewise.
64293         * conform/data/regex.h-data: Likewise.
64294         * conform/data/sched.h-data: Likewise.
64295         * conform/data/search.h-data: Likewise.
64296         * conform/data/semaphore.h-data: Likewise.
64297         * conform/data/setjmp.h-data: Likewise.
64298         * conform/data/signal.h-data: Likewise.
64299         * conform/data/spawn.h-data: Likewise.
64300         * conform/data/stdarg.h-data: Likewise.
64301         * conform/data/stdio.h-data: Likewise.
64302         * conform/data/stdlib.h-data: Likewise.
64303         * conform/data/string.h-data: Likewise.
64304         * conform/data/strings.h-data: Likewise.
64305         * conform/data/stropts.h-data: Likewise.
64306         * conform/data/sys/ipc.h-data: Likewise.
64307         * conform/data/sys/mman.h-data: Likewise.
64308         * conform/data/sys/msg.h-data: Likewise.
64309         * conform/data/sys/resource.h-data: Likewise.
64310         * conform/data/sys/select.h-data: Likewise.
64311         * conform/data/sys/sem.h-data: Likewise.
64312         * conform/data/sys/shm.h-data: Likewise.
64313         * conform/data/sys/socket.h-data: Likewise.
64314         * conform/data/sys/stat.h-data: Likewise.
64315         * conform/data/sys/statvfs.h-data: Likewise.
64316         * conform/data/sys/time.h-data: Likewise.
64317         * conform/data/sys/timeb.h-data: Likewise.
64318         * conform/data/sys/times.h-data: Likewise.
64319         * conform/data/sys/types.h-data: Likewise.
64320         * conform/data/sys/uio.h-data: Likewise.
64321         * conform/data/sys/un.h-data: Likewise.
64322         * conform/data/sys/utsname.h-data: Likewise.
64323         * conform/data/sys/wait.h-data: Likewise.
64324         * conform/data/syslog.h-data: Likewise.
64325         * conform/data/tar.h-data: Likewise.
64326         * conform/data/termios.h-data: Likewise.
64327         * conform/data/utime.h-data: Likewise.
64328         * conform/data/utmpx.h-data: Likewise.
64329         * conform/data/varargs.h-data: Likewise.
64330         * conform/data/wchar.h-data: Likewise.
64331         * conform/data/wctype.h-data: Likewise.
64332         * conform/data/wordexp.h-data: Likewise.
64334         * include/stropts.h: New file.
64335         * include/uchar.h: New file.
64336         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64337         * include/assert.h: Likewise.
64338         * include/ctype.h: Likewise.
64339         * include/dirent.h: Likewise.
64340         * include/dlfcn.h: Likewise.
64341         * include/fcntl.h: Likewise.
64342         * include/fnmatch.h: Likewise.
64343         * include/glob.h: Likewise.
64344         * include/grp.h: Likewise.
64345         * include/libio.h: Likewise.
64346         * include/locale.h: Likewise.
64347         * include/math.h: Likewise.
64348         * include/net/if.h: Likewise.
64349         * include/netdb.h: Likewise.
64350         * include/netinet/in.h: Likewise.
64351         * include/pthread.h: Likewise.
64352         * include/pwd.h: Likewise.
64353         * include/regex.h: Likewise.
64354         * include/sched.h: Likewise.
64355         * include/search.h: Likewise.
64356         * include/setjmp.h: Likewise.
64357         * include/signal.h: Likewise.
64358         * include/stdio.h: Likewise.
64359         * include/stdlib.h: Likewise.
64360         * include/string.h: Likewise.
64361         * include/sys/cdefs.h: Likewise.
64362         * include/sys/mman.h: Likewise.
64363         * include/sys/msg.h: Likewise.
64364         * include/sys/resource.h: Likewise.
64365         * include/sys/select.h: Likewise.
64366         * include/sys/socket.h: Likewise.
64367         * include/sys/stat.h: Likewise.
64368         * include/sys/statvfs.h: Likewise.
64369         * include/sys/time.h: Likewise.
64370         * include/sys/times.h: Likewise.
64371         * include/sys/uio.h: Likewise.
64372         * include/sys/utsname.h: Likewise.
64373         * include/sys/wait.h: Likewise.
64374         * include/termios.h: Likewise.
64375         * include/time.h: Likewise.
64376         * include/ulimit.h: Likewise.
64377         * include/unistd.h: Likewise.
64378         * include/utime.h: Likewise.
64379         * include/wchar.h: Likewise.
64380         * include/wctype.h: Likewise.
64381         * include/wordexp.h: Likewise.
64383         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64385         * time/time.h: TIME_UTC must be a macro.
64386         Make timespec_get available for ISO C11 only as well.
64388 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64390         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64391         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64393 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64395         * configure.in: Use -o not -a in test for unsupported multi-arch.
64397 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64399         * manual/texinfo.tex: Update to version 2012-01-19.16.
64401 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64403         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64405 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64407         [BZ #13738]
64408         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64409         * manual/fdl-1.3.texi: New file.
64410         * manual/fdl-1.1.texi: File removed.
64412         [BZ #13738]
64413         * manual/libc.texinfo (FDL_VERSION): New @set.
64414         Use it for mention of FDL in cover text.
64415         (Documentation License): Use it in @include file name.
64417 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64418             Roland McGrath  <roland@hack.frob.com>
64420         [BZ #5461]
64421         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64422         (not LONG_LONG_MAX and LONG_LONG_MIN.
64423         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64424         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64425         name.
64426         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64428 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64430         [BZ #2547]
64431         [BZ #11365]
64432         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64433         manipulate bits before adding and subtracting TWO23[sx].
64434         * math/libm-test.inc (nearbyint_test): Add more tests.
64436 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64438         [BZ #2548]
64439         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64440         bits before adding and subtracting TWO23[sx].
64441         * math/libm-test.inc (rint_test): Add more tests.
64442         (rint_test_tonearest): Likewise.
64443         (rint_test_towardzero): Likewise.
64444         (rint_test_downward): Likewise.
64445         (rint_test_upward: Likewise.
64447 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64449         [BZ #10110]
64450         * include/stdc-predef.h: New file.  Extracted from features.h.
64451         * include/features.h: Include stdc-predef.h.
64452         * Makefile (headers): Add stdc-predef.h.
64453         * CONFORMANCE (Compiler limitations): Update.
64455 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64457         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64459 2012-02-21  David S. Miller  <davem@davemloft.net>
64461         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64462         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64464 2012-02-20  David S. Miller  <davem@davemloft.net>
64466         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64467         using a normal save/restore sequence, rather than allocating a
64468         dummy stack frame just to store a frame pointer and restore.
64469         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64471 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64473         * manual/install.texi: Fix stray word in line-wrapped comment.
64475 2012-02-20  David S. Miller  <davem@davemloft.net>
64477         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64478         both binutils and gcc support GOTDATA.
64480         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64481         "rd %pc" in the PIC register setup sequences.
64483         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64484         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64485         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64486         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64487         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64488         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64489         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64490         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64491         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64492         (SYSCALL_ERROR_HANDLER): Likewise.
64493         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64494         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64496         (SYSCALL_ERROR_HANDLER): Likewise.
64498         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64499         (HAVE_GCC_GOTDATA): New.
64500         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64501         relocation support in both binutils and gcc.
64502         * sysdeps/sparc/elf/configure: Regenerate.
64504         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64505         * sysdeps/sparc/sparc32/elf/configure: Delete.
64506         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64507         * sysdeps/sparc/sparc64/elf/configure: Delete.
64508         * sysdeps/sparc/elf/configure.in: New file.
64509         * sysdeps/sparc/elf/configure: Generate.
64511         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64512         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64513         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64514         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64515         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64517 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64519         * manual/install.texi: Do not mention specific glibc version
64520         numbers.
64521         * manual/libc.texinfo (VERSION, UPDATED): Update.
64522         (@copying): Use @copyright{} and range of years.
64524 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64526         [BZ #13695]
64527         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64528         [crti.S not in sysdirs] (generated): Do not append.
64529         [crti.S not in sysdirs] (omit-deps): Likewise.
64530         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64531         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64532         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64533         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64534         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64535         Likewise.
64536         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64537         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64538         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64539         * csu/defs.awk: Remove file.
64540         * sysdeps/generic/initfini.c: Likewise.
64541         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64542         variable.
64543         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64544         Likewise.
64546 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64548         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64549         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64550         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64551         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64552         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64553         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64554         <bits/epoll.h>.
64555         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64556         (__EPOLL_PACKED): Define to empty if not defined by
64557         <bits/epoll.h>.
64558         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64560         bits/epoll.h.
64562 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64564         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64565         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64566         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64567         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64568         <bits/timerfd.h>.
64569         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64571         bits/timerfd.h.
64573 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64575         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64576         in C locale.
64577         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64578         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64579         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64582 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64584         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64585         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64587 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64589         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64590         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64591         defined.
64592         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64593         Likewise.
64594         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64595         entry for 2.16.
64597 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64599         * math/w_acos.c: Use non-signaling floating-point comparisons.
64600         * math/w_acosf.c: Likewise.
64601         * math/w_acosh.c: Likewise.
64602         * math/w_acoshf.c: Likewise.
64603         * math/w_acoshl.c: Likewise.
64604         * math/w_acosl.c: Likewise.
64605         * math/w_asin.c: Likewise.
64606         * math/w_asinf.c: Likewise.
64607         * math/w_asinl.c: Likewise.
64608         * math/w_atanh.c: Likewise.
64609         * math/w_atanhf.c: Likewise.
64610         * math/w_atanhl.c: Likewise.
64611         * math/w_exp2.c: Likewise.
64612         * math/w_exp2f.c: Likewise.
64613         * math/w_exp2l.c: Likewise.
64614         * math/w_j0.c: Likewise.
64615         * math/w_j0f.c: Likewise.
64616         * math/w_j0l.c: Likewise.
64617         * math/w_j1.c: Likewise.
64618         * math/w_j1f.c: Likewise.
64619         * math/w_j1l.c: Likewise.
64620         * math/w_jn.c: Likewise.
64621         * math/w_jnf.c: Likewise.
64622         * math/w_log.c: Likewise.
64623         * math/w_log10.c: Likewise.
64624         * math/w_log10f.c: Likewise.
64625         * math/w_log10l.c: Likewise.
64626         * math/w_log2.c: Likewise.
64627         * math/w_log2f.c: Likewise.
64628         * math/w_log2l.c: Likewise.
64629         * math/w_logf.c: Likewise.
64630         * math/w_logl.c: Likewise.
64631         * math/w_sqrt.c: Likewise.
64632         * math/w_sqrtf.c: Likewise.
64633         * math/w_sqrtl.c: Likewise.
64634         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64635         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64636         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64637         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64638         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64640 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64642         [BZ #9739]
64643         * manual/string.texi (strnlen): Use correct parameter name in
64644         equivalent expression.
64646 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64648         [BZ #11174]
64649         * manual/users.texi (seteuid): Consistently use neweuid for
64650         argument name.
64652 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64654         [BZ #13704]
64655         * manual/nss.texi (Services in the NSS configuration): Correct
64656         list of services in example configuration file.
64658 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64660         [BZ #11322]
64661         * manual/arith.texi: Remove statements about negative zero
64662         behaving identically to zero.
64664 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64666         [BZ #5993]
64667         * manual/install.texi: Do not document upgrading from libc5.
64669 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64671         [BZ #4596]
64672         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64674 2012-02-18  David S. Miller  <davem@davemloft.net>
64676         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64677         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64678         %o7 across the call.
64679         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64680         instead.
64681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64682         SETUP_PIC_REG_LEAF.
64683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64684         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64685         * sysdeps/sparc/crtn.S: Likewise.
64687 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64689         * aout/Makefile: Remove.
64691 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64693         [BZ #13058]
64694         * manual/examples/argp-ex1.c (main): Format definition in GNU
64695         style.
64696         * manual/examples/argp-ex2.c (main): Likewise.
64697         * manual/examples/argp-ex3.c (main): Likewise.
64698         * manual/examples/argp-ex4.c (main): Likewise.
64699         * manual/examples/longopt.c (main): Use new-style prototype
64700         definition.
64701         * manual/examples/strncat.c (main): Specify return type and use
64702         (void) for arguments.
64703         * manual/examples/subopt.c (main): Use char **argv argument.
64705 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64707         [BZ #5077]
64708         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64709         rounding modes.
64711 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64713         [BZ #6907]
64714         * manual/string.texi (strchr): Change when strchrnul is
64715         recommended.
64717 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64719         [BZ #174]
64720         * manual/locale.texi (setlocale): Document LOCPATH.
64722 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64724         [BZ #10210]
64725         * manual/process.texi (execle): Move @dots{} before last argument.
64727 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64729         [BZ #12047]
64730         * manual/charset.texi (Generic Charset Conversion): Fix typo
64731         (LC_TYPE -> LC_CTYPE).
64733 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64735         [BZ #5805]
64736         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64737         (scalbnf): Likewise.
64738         (scalbnl): Likewise.
64739         (scalbln): Likewise.
64740         (scalblnf): Likewise.
64741         (scalblnl): Likewise.
64742         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64743         (vwarnx): Likewise.
64744         (verr): Likewise.
64745         (verrx): Likewise.
64746         * manual/filesys.texi (telldir): Use braces around return type.
64747         * manual/llio.texi (mmap): Add space after comma.
64748         (mmap64): Likewise.
64749         * manual/math.texi (jn): Use @var{} on parameter names.
64750         (jnf): Likewise.
64751         (jnl): Likewise.
64752         (yn): Likewise.
64753         (ynf): Likewise.
64754         (ynl): Likewise.
64755         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64756         line.
64757         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64758         "...".
64759         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64760         (sched_get_priority_max): Likewise.
64761         * manual/signal.texi (sigvec): Add space after comma.
64762         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64763         names.
64764         (if_indextoname): Likewise.
64765         (if_freenameindex): Likewise.
64766         (sendto): Use ',' instead of '.' in prototype.
64767         * manual/startup.texi (syscall): Use @dots{} instead of literal
64768         "...".
64769         * manual/stdio.texi (__fpending): Separate initial words of
64770         paragraph from @deftypefun line.
64771         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64772         "...".
64773         (vsyslog): Use @var{} on parameter names.
64774         * manual/terminal.texi (stty): Use @var{} on parameter names.
64775         * manual/users.texi (getutmp): Use @var{} on parameter names.
64776         (getutmpx): Likewise.
64778 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64780         [BZ #6884]
64781         * manual/stdio.texi (fopen): Fix typos in description of
64782         ",ccs=STRING".
64784 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64786         [BZ #4026]
64787         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64788         get clock_id definition.
64790 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64792         [BZ #4822]
64793         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64794         (madvise): Cast every argument to void on its own.
64796 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64798         [BZ #9902]
64799         * manual/startup.texi (Exit Status): Fix typo.
64801 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64803         [BZ #10140]
64804         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64805         * manual/examples/argp-ex2.c: Likewise.
64806         * manual/examples/argp-ex3.c: Likewise.
64808 2012-02-16  Richard Henderson  <rth@redhat.com>
64810         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64811         * sysdeps/s390/s390-32/initfini.c: Remove.
64812         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64813         * sysdeps/s390/s390-64/initfini.c: Remove.
64815 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64817         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64818         compiler output for sysdeps/generic/initfini.c.
64819         * sysdeps/sh/elf/initfini.c: Remove file.
64821 2012-02-16  David S. Miller  <davem@davemloft.net>
64823         [BZ #11494]
64824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64826         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64827         * sysdeps/sparc/crti.S: New file.
64828         * sysdeps/sparc/crtn.S: New file.
64829         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64830         * sysdeps/sparc/sparc64/Makefile: Likewise.
64832 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64834         [BZ #3335]
64835         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64837 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64839         [BZ #4822]
64840         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64842         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64843         (write, read, close): Likewise.
64844         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64846 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64848         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64849         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64850         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64851         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64852         <bits/signalfd.h>.
64853         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64855         bits/signalfd.h.
64857 2012-02-14  Marek Polacek  <polacek@redhat.com>
64859         * sysdeps/x86_64/crti.S: New file.
64860         * sysdeps/x86_64/crtn.S: New file.
64861         * sysdeps/x86_64/elf/initfini.c: Remove file.
64863 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64865         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64866         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64867         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64868         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64869         <bits/inotify.h>.
64870         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64872         bits/inotify.h.
64874 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64876         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64877         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64878         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64879         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64880         <bits/eventfd.h>.
64881         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64882         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64883         bits/eventfd.h.
64885 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64887         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64888         __feraiseexcept instead of feraiseexcept.
64890         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64891         nanosleep invocations.
64892         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64893         strings, and add error checking for a nanosleep invocations.
64895 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64897         Replace FSF snail mail address with URLs, as per GNU coding standards.
64898         Most of the snail mail addresses were wrong anyway, and omitting
64899         them makes the source code easier to maintain.  Almost all of the
64900         changes are to license notices and to locale LC_IDENTIFICATION
64901         addresses, except for this one:
64902         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64903         not its snail mail address.
64905 2012-02-09  Richard Henderson  <rth@twiddle.net>
64907         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64908         of kernel-features.h.
64910         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64912 2012-02-08  Marek Polacek  <polacek@redhat.com>
64914         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64915         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64916         * sysdeps/gnu/_G_config.h: Likewise.
64917         * sysdeps/generic/_G_config.h: Likewise.
64919 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64921         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64922         tests.
64923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64925         * sysdeps/powerpc/powerpc32/crti.S: New file.
64926         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64927         * sysdeps/powerpc/powerpc64/crti.S: New file.
64928         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64930         * Makeconfig (have-initfini): Don't set.
64931         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64932         * configure.in (nopic_initfini): Don't substitute.
64933         * config.h.in (HAVE_INITFINI): Don't #undef.
64934         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64935         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64937 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64939         Support crti.S and crtn.S provided directly by architectures.
64940         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64941         [crti.S in sysdirs] (omit-deps): Likewise.
64942         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64943         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64944         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64945         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64946         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64947         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64948         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64949         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64950         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64951         compiler output for sysdeps/generic/initfini.c.
64952         * sysdeps/i386/elf/Makefile: Remove file.
64953         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64955 2012-02-07  Marek Polacek  <polacek@redhat.com>
64957         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64958         * sysdeps/gnu/_G_config.h: Likewise.
64959         * sysdeps/mach/hurd/_G_config.h: Likewise.
64961 2012-02-07  Marek Polacek  <polacek@redhat.com>
64963         * math/Makefile (tests): Add tst-CMPLX2.
64964         * math/tst-CMPLX2.c: New file.
64966 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64968         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64970         * math/libm-test.inc (jn_test): Add missing L suffix.
64972 2012-02-06  Marek Polacek  <polacek@redhat.com>
64974         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64975         * sysdeps/i386/fpu/e_powf.S: Likewise.
64976         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64977         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64978         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64979         * sysdeps/i386/fpu/e_pow.S: Likewise.
64980         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64981         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64982         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64983         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64984         * sysdeps/i386/fpu/e_log2.S: Likewise.
64985         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64986         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64987         * sysdeps/i386/fpu/e_powl.S: Likewise.
64988         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64989         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64990         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64991         * sysdeps/i386/fpu/e_logl.S: Likewise.
64992         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64993         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64994         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64995         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64996         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64997         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64998         * sysdeps/i386/fpu/e_log.S: Likewise.
64999         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65000         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65001         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65002         * sysdeps/i386/fpu/e_logf.S: Likewise.
65003         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65004         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65005         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65006         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65007         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65008         * sysdeps/i386/fpu/e_log10.S: Likewise.
65009         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65010         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65011         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65012         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65013         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65014         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65015         * sysdeps/i386/asm-syntax.h: Likewise.
65016         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65017         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65018         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65019         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65020         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65021         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65022         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65023         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65024         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65025         * sysdeps/powerpc/sysdep.h: Likewise.
65026         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65027         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65029 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65031         [BZ #411]
65032         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65034 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65036         * sysdeps/i386/sysdep.h: Include <features.h>.
65037         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65038         version.
65040 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65042         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65043         Define.
65044         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65045         LOAD_PIC_REG_STR.
65047 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65049         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65050         (SETUP_PIC_REG): Use GET_PC_THUNK.
65051         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65052         macro.
65054 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65056         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65057         for non-PIC compilation.
65058         (SETUP_PIC_REG): Add .p2align directive.
65059         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65060         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65061         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65062         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65063         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65064         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65065         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65066         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65067         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65068         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65069         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65070         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65071         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65072         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65073         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65074         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65075         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65076         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65077         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65078         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65079         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65080         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65081         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65082         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65083         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65085         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65086         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65087         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65088         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65089         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65090         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65091         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65092         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65093         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65094         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65095         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65096         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65097         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65098         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65099         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65101 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65103         * math/tst-CMPLX.c: Include <stdio.h>.
65105 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65107         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65108         float.
65109         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65110         * sysdeps/sparc/bits/mathdef.h: Likewise.
65112 2012-01-31  Marek Polacek  <polacek@redhat.com>
65114         * libio/libio.h: Don't define _PARAMS.
65115         * locale/programs/config.h: Don't define PARAMS.
65116         * stdlib/strtol_l.c: Likewise.
65117         (__strtol_l): Remove PARAMS from the prototype.
65119 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65121         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65122         names.  Just use the correct names.  Remove unnecessary wrapper
65123         functions.
65124         * malloc/arena.c: Likewise.
65125         * malloc/hooks.c: Likewise.
65127         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65128         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65129         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65131 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65133         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65134         into tail calls.
65135         (update_get_addr): New function.
65136         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65137         GET_ADDR_MODULE parameter.
65139 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65141         * crypt/cert.c: Remove __STDC__ conditionals.
65142         * crypt/crypt-entry.c: Likewise.
65143         * crypt/crypt_util.c: Likewise.
65144         * libio/filedoalloc.c: Likewise.
65145         * libio/fileops.c: Likewise.
65146         * libio/genops.c: Likewise.
65147         * libio/iofclose.c: Likewise.
65148         * libio/iofdopen.c: Likewise.
65149         * libio/iofopen.c: Likewise.
65150         * libio/iofopen64.c: Likewise.
65151         * libio/iogetdelim.c: Likewise.
65152         * libio/iopopen.c: Likewise.
65153         * libio/obprintf.c: Likewise.
65154         * libio/oldfileops.c: Likewise.
65155         * libio/oldiofclose.c: Likewise.
65156         * libio/oldiofdopen.c: Likewise.
65157         * libio/oldiofopen.c: Likewise.
65158         * libio/oldiopopen.c: Likewise.
65159         * libio/wfiledoalloc.c: Likewise.
65160         * libio/wgenops.c: Likewise.
65161         * locale/programs/xmalloc.c: Likewise.
65162         * misc/syslog.c: Likewise.
65163         * stdio-common/xbug.c: Likewise.
65164         * string/memchr.c: Likewise.
65165         * string/memcmp.c: Likewise.
65166         * string/memrchr.c: Likewise.
65167         * string/rawmemchr.c: Likewise.
65168         * sysdeps/posix/getcwd.c: Likewise.
65169         * time/strftime_l.c: Likewise.
65171 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65173         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65174         * config.make.in (config-cflags-sse2avx): Define.
65175         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65176         Fix typo.
65178 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65180         * scripts/config.guess: Update from upstream config git repository.
65181         * scripts/config.sub: Likewise.
65183 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65185         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65186         (EM_NUM): Update.
65187         (R_TILEPRO_*, R_TILEGX_*): New macros.
65189         * scripts/firstversions.awk: Fix bug in version range handling.
65191         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65193         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65195         * include/sys/epoll.h: New file.
65196         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65197         libc_hidden_def.
65199 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65201         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65202         Avoid unnecessary __WORDSIZE == 64 test.
65203         (fmaxf): Use VEX format if possible.
65204         (fmax): Likewise.
65205         (fminf): Likewise.
65206         (fmin): Likewise.
65208         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65209         * math/math_private.h: Remove libc_fegetround* and
65210         libc_fesetround*.
65211         * sysdeps/i386/configure.in: Check for -msse2avx.
65212         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65213         also if SSE2AVX is defined.
65214         Remove libc_fegetround* and libc_fesetround*.
65215         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65216         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65217         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65218         of HAS_YMM_USABLE.
65219         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65220         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65221         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65222         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65223         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65225         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65227 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65229         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65230         size is not set.
65231         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65233 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65235         [BZ #13618]
65236         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65237         relocation.
65238         * Makeconfig (libm): Define.
65239         * elf/Makefile: Add rules to build and run tst-relsort1.
65240         * elf/tst-relsort1.c: New file.
65241         * elf/tst-relsort1mod1.c: New file.
65242         * elf/tst-relsort1mod2.c: New file.
65244 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65246         * math/s_ldexp.c: Remove __STDC__ conditionals.
65247         * math/s_ldexpf.c: Likewise.
65248         * math/s_ldexpl.c: Likewise.
65249         * math/s_nextafter.c: Likewise.
65250         * math/s_nexttowardf.c: Likewise.
65251         * math/s_significand.c: Likewise.
65252         * math/s_significandf.c: Likewise.
65253         * math/s_significandl.c: Likewise.
65254         * math/w_jnl.c: Likewise.
65255         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65256         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65257         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65258         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65259         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65260         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65261         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65262         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65263         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65264         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65265         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65266         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65267         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65268         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65269         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65270         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65271         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65272         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65273         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65274         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65275         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65276         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65277         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65279         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65280         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65281         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65282         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65283         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65284         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65285         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65286         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65287         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65288         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65289         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65290         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65291         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65292         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65293         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65294         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65295         * sysdeps/ieee754/k_standard.c: Likewise.
65296         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65297         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65298         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65299         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65300         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65301         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65302         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65303         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65304         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65305         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65306         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65307         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65308         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65309         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65310         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65311         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65312         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65313         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65314         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65315         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65316         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65317         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65318         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65319         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65320         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65321         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65322         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65323         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65325         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65326         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65327         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65328         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65329         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65331         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65332         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65333         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65334         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65335         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65336         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65338         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65339         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65340         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65341         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65342         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65343         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65344         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65345         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65346         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65347         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65348         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65349         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65350         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65351         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65352         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65353         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65354         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65355         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65356         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65357         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65358         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65359         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65360         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65361         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65362         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65363         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65364         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65365         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65366         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65367         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65368         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65369         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65370         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65371         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65372         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65373         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65374         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65375         * sysdeps/ieee754/s_matherr.c: Likewise.
65376         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65377         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65378         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65379         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65381 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65383         * crypt/md5.h: Remove __STDC__ conditionals.
65384         * libio/libioP.h: Likewise.
65385         * locale/programs/config.h: Likewise.
65386         * sysdeps/generic/sysdep.h: Likewise.
65387         * sysdeps/i386/asm-syntax.h: Likewise.
65388         * sysdeps/s390/asm-syntax.h: Likewise.
65389         * sysdeps/unix/sysdep.h: Likewise.
65390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65393 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65395         * libio/libio.h: Remove __STDC__ conditionals.
65396         * malloc/obstack.h: Likewise.
65397         * math/complex.h: Likewise.
65398         * math/math.h: Likewise.
65399         * sysdeps/generic/_G_config.h: Likewise.
65400         * sysdeps/gnu/_G_config.h: Likewise.
65401         * sysdeps/mach/hurd/_G_config.h: Likewise.
65402         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65403         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65404         * sysdeps/sparc/bits/mathdef.h: Likewise.
65406 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65408         [BZ #13583]
65409         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65410         Clean up HAS_* macros.
65411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65412         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65413         possible.
65414         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65415         HAS_AVX.
65416         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65417         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65418         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65419         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65420         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65422 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65424         * elf/tst-unique3.cc (gets): Remove declaration.
65425         * elf/tst-unique3lib.cc (gets): Likewise.
65426         * elf/tst-unique3lib2.cc (gets): Likewise.
65427         * elf/tst-unique4.cc (gets): Likewise.
65429 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65431         * include/stdio.h: Add C++ protection.  Add gets declarations and
65432         definitions.
65433         * debug/tst-chk1.c: Don't declare gets here.
65434         * stdio-common/tst-gets.c: Likewise.
65436 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65438         * posix/glob: Remove directory.
65440 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65442         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65444 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65446         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65447         of the non-standard EPFNOSUPPORT.
65449 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65451         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65452         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65453         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65455 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65457         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65459 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65461         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65462         transient errors.
65463         * nscd/grpcache.c (cache_addgr): Likewise.
65464         * nscd/hstcache.c (cache_addhst): Likewise.
65465         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65466         * nscd/pwdcache.c (cache_addpw): Likewise.
65467         * nscd/servicescache.c (cache_addserv): Likewise.
65469 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65471         * malloc/malloc.c: Various cleanups.
65472         * malloc/hooks.c: Likewise.
65474         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65475         * stdlib/bug-fmtmsg1.c: New file.
65477         * stdlib/fmtmsg.c (init): Add missing unlock.
65478         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65480 2012-01-12  Marek Polacek  <polacek@redhat.com>
65482         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65483         and _GNU_SOURCE.
65485 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65487         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65488         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65489         macro to ensure uniqueness of label name.
65490         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65491         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65493 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65495         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65497         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65498         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65499         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65500         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65502 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65504         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65506         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65507         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65508         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65510         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65512         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65513         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65514         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65515         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65517         * math/bits/math-finite.h: Add ldexp support.
65519 2012-01-10  Marek Polacek  <polacek@redhat.com>
65521         * locale/programs/localedef.h (show_archive_content): Add noreturn
65522         attribute.
65524 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65526         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65528 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65530         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65532         * io/Makefile (headers): Add bits/poll2.h.
65534 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65537         typo #include statement.
65539 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65541         * include/sys/cdefs.h: Define __attribute_alloc_size.
65542         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65543         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65544         * elf/pldd.c: Likewise.
65545         * iconv/iconv_charmap.c: Likewise.
65546         * iconv/iconvconfig.c: Likewise.
65547         * iconv/strtab.c: Likewise.
65548         * locale/programs/locale.c: Likewise.
65549         * locale/programs/localedef.h: Likewise.
65550         * locale/programs/simple-hash.c: Likewise.
65551         * nscd/nscd.h: Likewise.
65552         * nss/makedb.c: Likewise.
65553         * sysdeps/generic/ldconfig.h: Likewise.
65554         * locale/programs/localedef.c: Remove xmalloc prototype.
65555         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65557 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65559         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65560         appropriate.
65562 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65564         * math/Makefile (tests): Add tst-CMPLX.
65565         * math/tst-CMPLX.c: New file.
65567         * math/complex.h (CMPLXL): Fix typo.
65569         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65570         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65571         GLIBC_2.16.
65572         * debug/tst-chk1.c: Add poll and ppoll tests.
65573         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65574         * include/sys/poll.h: Add hidden proto for ppoll.
65575         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65576         * sysdeps/mach/hurd/ppoll.c: Likewise.
65577         * io/ppoll.c: Likewise.
65578         * debug/poll_chk.c: New file.
65579         * debug/ppoll_chk.c: New file.
65580         * include/bits/poll2.h: New file.
65581         * io/bits/poll2.h: New file.
65583         [BZ #1350]
65584         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65586         * configure.in: static is always set to yes.  Remove.
65587         * config.make.in: Don't set build-static.
65588         * Makeconfig: Remove use of build-static.
65589         * dlfcn/Makefile: Likewise.
65590         * elf/Makefile: Likewise.
65591         * math/Makefile: Likewise.
65592         * misc/Makefile: Likewise.
65593         * nptl/Makefile: Likewise.
65594         * sysdeps/mach/hurd/Makefile: Likewise.
65596         * configure.in: PWD_P is not used anymore.
65597         * config.make.in: Remove PWD_P entry.
65599         * configure.in: Remove last remnants of RANLIB.
65600         No need to check for signed size_t anymore.
65601         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65602         and IA-64.
65603         Remove __builtin_expect test because we require at least gcc 3.4.
65604         * aclocal.m4: Likewise.
65606         * wcsmbs/mbrtoc16.c: Implement using towc function.
65607         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65608         * wcsmbs/wcsmbsload.c: Likewise.
65609         * iconv/gconv_simple.c: Likewise.
65610         * iconv/gconv_int.h: Likewise.
65611         * iconv/gconv_builtin.h: Likewise.
65612         * iconv/iconv_prog.c: Remove CHAR16 handling.
65614         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65616         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65618         * configure.in: Remove --with-elf and --enable-bounded options.
65619         Dont set base_machine for ia64.  More non-ELF conditions removed.
65620         Remove testing and setting of leading underscore information.
65621         * config.make.in (build-bounded): Set to no.
65622         * config.h.in: Remove NO_UNDERSCORES entry.
65623         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65624         them.
65625         * csu/start.c: Remove !NO_UNDERSCORE code.
65626         * locale/localeinfo.h: Likewise.
65627         * sysdeps/generic/machine-gmon.h: Likewise.
65628         * sysdeps/generic/sysdep.h: Likewise.
65629         * sysdeps/i386/sysdep.h: Likewise.
65630         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65631         * sysdeps/mach/sysdep.h: Likewise.
65632         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65633         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65634         * sysdeps/sh/sysdep.h: Likewise.
65635         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65636         * sysdeps/unix/i386/sysdep.S: Likewise.
65637         * sysdeps/unix/sparc/start.c: Likewise.
65638         * sysdeps/unix/sparc/sysdep.S: Likewise.
65639         * sysdeps/unix/sparc/sysdep.h: Likewise.
65640         * sysdeps/unix/start.c: Likewise.
65641         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65642         * sysdeps/x86_64/sysdep.h: Likewise.
65644 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65646         [BZ #13553]
65647         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65648         for non-gcc.
65649         * argp/argp-fmtstream.h: Use const instead __const.
65650         * argp/argp.h: Likewise.
65651         * assert/assert.h: Likewise.
65652         * bits/fenv.h: Likewise.
65653         * bits/sched.h: Likewise.
65654         * bits/sigset.h: Likewise.
65655         * bits/sigthread.h: Likewise.
65656         * catgets/nl_types.h: Likewise.
65657         * conform/data/pthread.h-data: Likewise.
65658         * crypt/crypt-private.h: Likewise.
65659         * crypt/crypt.h: Likewise.
65660         * crypt/crypt_util.c: Likewise.
65661         * ctype/ctype.h: Likewise.
65662         * debug/execinfo.h: Likewise.
65663         * debug/mbsnrtowcs_chk.c: Likewise.
65664         * debug/mbsrtowcs_chk.c: Likewise.
65665         * debug/wcsnrtombs_chk.c: Likewise.
65666         * debug/wcsrtombs_chk.c: Likewise.
65667         * debug/wcstombs_chk.c: Likewise.
65668         * dirent/dirent.h: Likewise.
65669         * dlfcn/dlfcn.h: Likewise.
65670         * elf/neededtest4.c: Likewise.
65671         * grp/grp.h: Likewise.
65672         * gshadow/gshadow.h: Likewise.
65673         * iconv/gconv.h: Likewise.
65674         * iconv/gconv_int.h: Likewise.
65675         * iconv/gconv_simple.c: Likewise.
65676         * iconv/iconv.h: Likewise.
65677         * iconv/loop.c: Likewise.
65678         * iconv/skeleton.c: Likewise.
65679         * include/aio.h: Likewise.
65680         * include/aliases.h: Likewise.
65681         * include/argz.h: Likewise.
65682         * include/arpa/inet.h: Likewise.
65683         * include/assert.h: Likewise.
65684         * include/dirent.h: Likewise.
65685         * include/dlfcn.h: Likewise.
65686         * include/execinfo.h: Likewise.
65687         * include/fcntl.h: Likewise.
65688         * include/fenv.h: Likewise.
65689         * include/glob.h: Likewise.
65690         * include/grp.h: Likewise.
65691         * include/libintl.h: Likewise.
65692         * include/mntent.h: Likewise.
65693         * include/netdb.h: Likewise.
65694         * include/pwd.h: Likewise.
65695         * include/rpc/netdb.h: Likewise.
65696         * include/sched.h: Likewise.
65697         * include/search.h: Likewise.
65698         * include/shadow.h: Likewise.
65699         * include/signal.h: Likewise.
65700         * include/stdio.h: Likewise.
65701         * include/stdlib.h: Likewise.
65702         * include/string.h: Likewise.
65703         * include/sys/socket.h: Likewise.
65704         * include/sys/stat.h: Likewise.
65705         * include/sys/statfs.h: Likewise.
65706         * include/sys/statvfs.h: Likewise.
65707         * include/sys/syslog.h: Likewise.
65708         * include/sys/time.h: Likewise.
65709         * include/sys/uio.h: Likewise.
65710         * include/time.h: Likewise.
65711         * include/unistd.h: Likewise.
65712         * include/utmp.h: Likewise.
65713         * include/wchar.h: Likewise.
65714         * include/wctype.h: Likewise.
65715         * inet/aliases.h: Likewise.
65716         * inet/arpa/inet.h: Likewise.
65717         * inet/netinet/ether.h: Likewise.
65718         * inet/netinet/in.h: Likewise.
65719         * intl/libintl.h: Likewise.
65720         * io/bits/fcntl2.h: Likewise.
65721         * io/fcntl.h: Likewise.
65722         * io/ftw.h: Likewise.
65723         * io/sys/poll.h: Likewise.
65724         * io/sys/stat.h: Likewise.
65725         * io/sys/statfs.h: Likewise.
65726         * io/sys/statvfs.h: Likewise.
65727         * io/utime.h: Likewise.
65728         * libio/bits/stdio.h: Likewise.
65729         * libio/bits/stdio2.h: Likewise.
65730         * libio/libio.h: Likewise.
65731         * libio/libioP.h: Likewise.
65732         * libio/stdio.h: Likewise.
65733         * locale/lc-ctype.c: Likewise.
65734         * locale/locale.h: Likewise.
65735         * login/utmp.h: Likewise.
65736         * malloc/arena.c: Likewise.
65737         * malloc/malloc.c: Likewise.
65738         * malloc/malloc.h: Likewise.
65739         * malloc/mcheck.c: Likewise.
65740         * malloc/mtrace.c: Likewise.
65741         * math/bits/mathcalls.h: Likewise.
65742         * math/fenv.h: Likewise.
65743         * math/math_private.h: Likewise.
65744         * misc/bits/error.h: Likewise.
65745         * misc/bits/syslog.h: Likewise.
65746         * misc/err.h: Likewise.
65747         * misc/error.h: Likewise.
65748         * misc/fstab.h: Likewise.
65749         * misc/mntent.h: Likewise.
65750         * misc/regexp.h: Likewise.
65751         * misc/search.h: Likewise.
65752         * misc/sgtty.h: Likewise.
65753         * misc/sys/mman.h: Likewise.
65754         * misc/sys/syslog.h: Likewise.
65755         * misc/sys/uio.h: Likewise.
65756         * misc/sys/xattr.h: Likewise.
65757         * misc/ttyent.h: Likewise.
65758         * nis/rpcsvc/ypclnt.h: Likewise.
65759         * nss/nss.h: Likewise.
65760         * posix/bits/unistd.h: Likewise.
65761         * posix/fnmatch.h: Likewise.
65762         * posix/glob.h: Likewise.
65763         * posix/sched.h: Likewise.
65764         * posix/spawn.h: Likewise.
65765         * posix/sys/wait.h: Likewise.
65766         * posix/unistd.h: Likewise.
65767         * posix/wordexp.h: Likewise.
65768         * pwd/pwd.h: Likewise.
65769         * resolv/netdb.h: Likewise.
65770         * resource/sys/resource.h: Likewise.
65771         * rt/aio.h: Likewise.
65772         * rt/bits/mqueue2.h: Likewise.
65773         * rt/mqueue.h: Likewise.
65774         * shadow/shadow.h: Likewise.
65775         * signal/signal.h: Likewise.
65776         * socket/send.c: Likewise.
65777         * socket/sendto.c: Likewise.
65778         * socket/sys/socket.h: Likewise.
65779         * stdio-common/printf.h: Likewise.
65780         * stdlib/bits/stdlib.h: Likewise.
65781         * stdlib/fmtmsg.h: Likewise.
65782         * stdlib/monetary.h: Likewise.
65783         * stdlib/stdlib.h: Likewise.
65784         * stdlib/ucontext.h: Likewise.
65785         * streams/stropts.h: Likewise.
65786         * string/argz.h: Likewise.
65787         * string/bits/string2.h: Likewise.
65788         * string/string.h: Likewise.
65789         * string/strings.h: Likewise.
65790         * sunrpc/rpc/auth.h: Likewise.
65791         * sunrpc/rpc/auth_des.h: Likewise.
65792         * sunrpc/rpc/clnt.h: Likewise.
65793         * sunrpc/rpc/netdb.h: Likewise.
65794         * sunrpc/rpc/pmap_clnt.h: Likewise.
65795         * sunrpc/rpc/xdr.h: Likewise.
65796         * sysdeps/generic/inttypes.h: Likewise.
65797         * sysdeps/generic/net/if.h: Likewise.
65798         * sysdeps/generic/sys/swap.h: Likewise.
65799         * sysdeps/gnu/net/if.h: Likewise.
65800         * sysdeps/gnu/utmpx.h: Likewise.
65801         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65802         * sysdeps/i386/i486/bits/string.h: Likewise.
65803         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65804         * sysdeps/s390/bits/string.h: Likewise.
65805         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65806         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65807         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65808         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65809         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65810         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65811         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65812         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65813         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65814         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65815         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65816         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65817         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65818         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65819         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65820         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65821         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65823         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65824         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65825         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65826         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65827         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65828         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65829         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65830         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65831         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65832         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65833         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65834         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65835         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65836         * sysvipc/sys/ipc.h: Likewise.
65837         * sysvipc/sys/msg.h: Likewise.
65838         * sysvipc/sys/sem.h: Likewise.
65839         * sysvipc/sys/shm.h: Likewise.
65840         * termios/termios.h: Likewise.
65841         * time/sys/time.h: Likewise.
65842         * time/time.h: Likewise.
65843         * wcsmbs/bits/wchar2.h: Likewise.
65844         * wcsmbs/uchar.h: Likewise.
65845         * wcsmbs/wchar.h: Likewise.
65846         * wctype/wctype.h: Likewise.
65848         [BZ #13551]
65849         * Makeconfig: Remove all but ELF support including AIX support.
65850         * Makerules: Likewise.
65851         * config.h.in: Likewise.
65852         * config.make.in: Likewise.
65853         * configure: Likewise.
65854         * configure.in: Likewise.
65855         * csu/Makefile: Likewise.
65856         * csu/version.c: Likewise.
65857         * debug/Makefile: Likewise.
65858         * dlfcn/Makefile: Likewise.
65859         * elf/Makefile: Likewise.
65860         * extra-lib.mk: Likewise.
65861         * iconv/Makefile: Likewise.
65862         * include/libc-symbols.h: Likewise.
65863         * include/shlib-compat.h: Likewise.
65864         * resolv/Makefile: Likewise.
65865         * resolv/res_libc.c: Likewise.
65866         * rt/Makefile: Likewise.
65867         * sysdeps/i386/asm-syntax.h: Likewise.
65868         * sysdeps/i386/sysdep.h: Likewise.
65869         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65870         * sysdeps/mach/sysdep.h: Likewise.
65871         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65872         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65873         * sysdeps/s390/asm-syntax.h: Likewise.
65874         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65876         * sysdeps/sh/sysdep.h: Likewise.
65877         * sysdeps/unix/sparc/sysdep.h: Likewise.
65878         * sysdeps/wordsize-32/divdi3.c: Likewise.
65879         * sysdeps/x86_64/sysdep.h: Likewise.
65881         * argp/Versions: Remove _argp_unlock_xxx.
65883         [BZ #13559]
65884         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65885         * abilist/libBrokenLocale.abilist: Likewise.
65886         * abilist/libanl.abilist: Likewise.
65887         * abilist/libc.abilist: Likewise.
65888         * abilist/libcrypt.abilist: Likewise.
65889         * abilist/libdl.abilist: Likewise.
65890         * abilist/libm.abilist: Likewise.
65891         * abilist/libnsl.abilist: Likewise.
65892         * abilist/libpthread.abilist: Likewise.
65893         * abilist/libresolv.abilist: Likewise.
65894         * abilist/librt.abilist: Likewise.
65895         * abilist/libthread_db.abilist: Likewise.
65896         * abilist/libutil.abilist: Likewise.
65897         * abilist/libnss_db.abilist: New file.
65899         * scripts/abilist.awk: Add support for indirect functions.
65901         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65903         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65905         * shlib-versions: Remove entries for ports architectures.
65907         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65908         files in ports.
65909         * elf/stackguard-macros.h: Remove support for IA-64.
65910         * elf/tst-auditmod1.c: Likewise.
65911         * sysdeps/generic/ldsodefs.h: Likewise.
65913         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65914         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65915         configure files.
65917         [BZ #13552]
65918         * configure.in: Remove --enable-omitfp support.
65919         * FAQ.in: Adjust.
65920         * config.make.in: Likewise.
65921         * Makeconfig: Likewise.
65922         * manual/install.texi: Likewise.
65924         In case anyone cares, the IA-64 architecture could move to ports.
65925         * sysdeps/ia64/*: Removed.
65926         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65927         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65929         [BZ #13555]
65930         * configure.in: Remove entries for unsupported architectures.
65932         [BZ #13533]
65933         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65934         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65935         routines.
65936         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65937         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65938         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65939         fall back to using wcrtomb.
65940         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65941         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65942         renaming.
65943         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65944         * wcsmbs/tst-c16c32-1.c: New file.
65946         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65947         local variable.
65949         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65951         * elf/tst-unique3.cc: Add explicit declaration of gets.
65952         * elf/tst-unique3lib.cc: Likewise.
65953         * elf/tst-unique3lib2.cc: Likewise.
65954         * elf/tst-unique4.cc: Likewise.
65956         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65958 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65960         [BZ #13566]
65961         * assert/assert.h (static_assert): Don't define for C++.
65962         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65963         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65965 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65967         * iconv/loop.c (single loop): Fix assertion in storing of
65968         remaining bytes.
65970         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65972 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65974         * posix/getconf.c: Update copyright year.
65975         * nss/getent.c: Likewise.
65976         * nss/makedb.c: Likewise.
65977         * iconv/iconvconfig.c: Likewise.
65978         * iconv/iconv_prog.c: Likewise.
65979         * elf/ldconfig.c: Likewise.
65980         * elf/pldd.c: Likewise.
65981         * elf/sotruss.ksh: Likewise.
65982         * catgets/gencat.c: Likewise.
65983         * csu/version.c: Likewise.
65984         * elf/ldd.bash.in: Likewise.
65985         * elf/sprof.c (print_version): Likewise.
65986         * locale/programs/locale.c: Likewise.
65987         * locale/programs/localedef.c: Likewise.
65988         * login/programs/pt_chown.c: Likewise.
65989         * nscd/nscd.c (print_version): Likewise.
65990         * debug/xtrace.sh: Likewise.
65991         * malloc/memusage.sh: Likewise.
65992         * malloc/mtrace.pl: Likewise.
65993         * debug/catchsegv.sh: Likewise.
65995 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65997         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65998         pure attribute.
66000 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66002         [BZ #13533]
66003         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66004         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66005         transformations.
66006         * iconv/gconv_int.h: Likewise.
66007         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66008         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66009         from libc for GLIBC_2.16.
66010         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66011         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66012         * wcsmbs/uchar.h: Really define mbstate_t.
66013         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66014         * wcsmbs/c16rtomb.c: New file.
66015         * wcsmbs/mbrtoc16.c: New file.
66016         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66017         for C/POSIX locale.
66018         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66019         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66021         * wcsmbs/wchar.h: Add missing __restrict.
66023 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66025         [BZ #13532]
66026         * time/Makefile (routines): Add timespec_get.
66027         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66028         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66029         timespec for ISO C11.
66030         * time/timespec_get.c: New file.
66031         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66032         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66034         [BZ #13531]
66035         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66036         * stdlib/stdlib.h: Declare aligned_alloc.
66037         * Versions.def: Add GLIBC_2.16 for libc.
66038         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66040         [BZ 13527]
66041         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66042         ISO C11.
66044         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66045         code.
66047         [BZ #13528]
66048         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66050         [BZ #13529]
66051         * assert/assert.h (static_assert): Define.
66053         * version.h: Update for 2.16 development version.
66055         [BZ #13526]
66056         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66057         _ISOC11_SOURCE.
66059         * version.h (RELEASE): Bump for 2.15 release.
66060         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66062         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66063         Patch by Marek Polacek <mpolacek@redhat.com>.
66065         * bits/byteswap.h: Protect long long constants with __extension__.
66066         * sysdeps/i386/bits/byteswap.h: Likewise.
66067         * sysdeps/ia64/bits/byteswap.h: Likewise.
66068         * sysdeps/s390/bits/byteswap.h: Likewise.
66069         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66071 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66073         [BZ #13540]
66074         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66075         destination buffer.
66076         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66078 2011-12-23  Marek Polacek  <polacek@redhat.com>
66080         * elf/dl-addr.c (determine_info): Add inline keyword.
66081         * elf/tst-auditmod4b.c (check_avx): Likewise.
66082         * elf/tst-auditmod6b.c (check_avx): Likewise.
66083         * elf/tst-auditmod6c.c (check_avx): Likewise.
66084         * elf/tst-auditmod7b.c (check_avx): Likewise.
66086 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66088         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66089         !__SSE_MATH__.
66091 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66093         [BZ #13540]
66094         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66095         processing for last bytes.
66097 2011-08-06  Bruno Haible  <bruno@clisp.org>
66099         [BZ #13061]
66100         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66101         U+0385, not to U+1FEE.
66103         [BZ #13062]
66104         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66105         entry for U+00A5 U+0301.
66107 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66109         [BZ #13166]
66110         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66111         buffer for the output is too small.
66113         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66114         optimization.
66116         [BZ #13185]
66117         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66118         SSE flags if possible.
66120 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66122         [BZ #13540]
66123         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66124         processing for last bytes.
66126 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66128         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66129         (syscall-list-default-options, syscall-list-default-condition)
66130         (syscall-list-includes): Define.
66131         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66132         list of ABIs and options and #if conditions for each ABI.  Do not
66133         handle common syscalls between ABIs specially.
66134         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66135         Remove.
66136         (syscall-list-variants, syscall-list-32bit-options)
66137         (syscall-list-32bit-condition, syscall-list-64bit-options)
66138         (syscall-list-64bit-condition): Define.
66139         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66140         (syscall-list-variants, syscall-list-32bit-options)
66141         (syscall-list-32bit-condition, syscall-list-64bit-options)
66142         (syscall-list-64bit-condition): Define.
66143         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66144         Remove.
66145         (syscall-list-variants, syscall-list-32bit-options)
66146         (syscall-list-32bit-condition, syscall-list-64bit-options)
66147         (syscall-list-64bit-condition): Define.
66148         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66149         Remove.
66150         (syscall-list-variants, syscall-list-32bit-options)
66151         (syscall-list-32bit-condition, syscall-list-64bit-options)
66152         (syscall-list-64bit-condition): Define.
66154 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66156         * locale/iso-639.def: Add brx entry.
66158         [BZ #13328]
66159         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66160         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66162         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66163         __feraiseexcept_renamed.
66165 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66167         [BZ #13538]
66168         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66169         EPOLLET with unsigned values.
66170         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66171         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66173         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66174         to large cancellation.
66175         * math/s_cacoshf.c: Likewise.
66176         * math/s_cacoshl.c: Likewise.
66178 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66180         [BZ #13305]
66181         [BZ #12786]
66182         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66183         * math/s_cacoshf.c: Likewise.
66184         * math/s_cacoshl.c: Likewise.
66186 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66188         [BZ #13439]
66189         * iconv/gconv.h: Define __GCONV_SWAP.
66190         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66191         * iconvdata/utf-16.c: Likewise.
66192         * iconvdata/utf-32.c: Likewise.
66194 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66196         [BZ #13524]
66197         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66198         numerator after shifting it by one limb.
66200 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66202         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66203         under [__USE_EXTERN_INLINES].
66205 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66207         [BZ #13446]
66208         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66210 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66212         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66213         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66214         optimized code.
66215         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66216         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66217         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66218         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66219         for strncasecmp/strncasecmp_l compilation.
66220         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66221         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66223 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66225         [BZ #13484]
66226         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66227         of __asm__.
66229 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66231         [BZ #13506]
66232         * time/tzfile.c (__tzfile_read): Check values from file header.
66234 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66236         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66237         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66238         * powerpc/powerpc32/dl-start.S: Likewise.
66239         * powerpc/powerpc32/elf/start.S: Likewise.
66240         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66241         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66242         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66243         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66244         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66245         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66246         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66247         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66248         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66249         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66250         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66251         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66252         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66253         * powerpc/powerpc32/memset.S: Likewise.
66254         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66255         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66256         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66257         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66258         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66259         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66260         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66261         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66262         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66263         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66264         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66265         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66266         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66268 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66270         * math/libm-test.inc: Added more nearbyint tests.
66271         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66272         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66273         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66274         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66276 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66278         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66279         FD_CLOEXEC.
66281 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66283         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66284         Add wcscpy-ssse3 wcscpy-c.
66285         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66286         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66287         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66288         * sysdeps/x86_64/wcschr.S: New file.
66289         * sysdeps/x86_64/wcsrchr.S: New file.
66290         * string/test-strcmp.c: Remove checking of wcscmp function for
66291         wrong alignments.
66292         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66293         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66294         wcsrchr-sse2 wcsrchr-c.
66295         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66296         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66297         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66298         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66299         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66300         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66301         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66302         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66303         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66304         * wcsmbc/wcschr.c (WCSCHR): New macro.
66306 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66308         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66309         * wcsmbs/test-wcsrchr.c: New file.
66310         * string/test-strrchr.c: Add wcsrchr support.
66311         (WIDE): New macro.
66312         * wcsmbs/test-wcscpy.c: New file.
66313         * string/test-strcpy.c: Add wcscpy support.
66314         (WIDE): New macro.
66316 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66318         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66319         the inner loop.
66321 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66323         [BZ #13472]
66324         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66326 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66328         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66329         Minor optimizations.
66331         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66332         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66333         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66335 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66337         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66338         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66339         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66340         for gcc to avoid warnings.
66341         * inet/Makefile (tests): Add tst-checks.
66342         * inet/tst-checks.c: New file.
66344         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66345         warning.
66347         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66348         __wmemcmp_sse2.
66350         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66351         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66353         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66355 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66357         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66358         problem.
66360         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66362 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66364         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66365         conditional on GCC version.
66366         (__arch_compare_and_exchange_val_8_acq)
66367         (__arch_compare_and_exchange_val_16_acq)
66368         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66369         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66370         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66372 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66374         * sysdeps/sh/backtrace.c: New file.
66376 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66378         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66379         parenthesis.
66381 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66383         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66384         falling back to utime.
66386 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66388         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66389         expectations for float.
66391 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66393         * locale/weight.h (findidx): Add parameter len.
66394         * locale/weightwc.h (findidx): Likewise.
66395         * posix/fnmatch_loop.c (FCT): Adjust caller.
66396         * posix/regcomp.c (build_equiv_class): Likewise.
66397         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66398         * posix/regexec.c (check_node_accept_bytes): Likewise.
66399         * string/strcoll_l.c (STRCOLL): Likewise.
66400         * string/strxfrm_l.c (STRXFRM): Likewise.
66402 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66404         * Makefile.in: Remove CVSOPT handling.
66405         * configure.in: Remove use of AC_REVISION.
66406         * iconvdata/Makefile (distribute): No need to filter out CVS.
66407         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66408         handling.
66410 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66412         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66413         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66414         [USE_AS_STRNCASECMP_L]: Likewise.
66415         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66416         NO_TLS_DIRECT_SEG_REFS.
66417         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66418         Fix argument offsets for non-PIC.
66419         [USE_AS_STRNCASECMP_L]: Likewise.
66420         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66421         NO_TLS_DIRECT_SEG_REFS.
66423 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66425         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66426         O_CLOEXEC.
66427         * locale/loadlocale.c (_nl_load_locale): Likewise.
66429 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66431         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66432         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66433         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66434         (SYSCALL_GETTIME): Set errno on error.
66436         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66437         count references to noai6ai_cached.
66439 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66441         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66443         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66444         FD_CLOEXEC for /proc/self/maps.
66446         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66447         FD_CLOEXEC for /proc/meminfo.
66449         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66450         gai.conf.
66452         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66453         FD_CLOEXEC for given file.
66455         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66457         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66458         FD_CLOEXEC for /etc/hosts.
66459         (_gethtent): Likewise.
66461         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66463         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66464         cancellation and set FD_CLOEXEC for /etc/netgroup.
66466         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66467         reading /etc/publickey.
66469         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66470         allow cancellation when reading /etc/group.
66472         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66473         cancellation.
66474         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66476         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66477         when using data file.
66479         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66481         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66482         (write_nis_obj): Use "c" and "e" in fopen.
66484         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66486         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66488         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66490         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66492         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66493         locale.alias.
66495         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66497         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66499         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66501         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66502         file parsing and set FD_CLOEXEC.
66504 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66506         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66508 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66510         * malloc/arena.c (arena_get2): Don't call reused_arena when
66511         _int_new_arena failed.
66513 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66515         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66516         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66517         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66518         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66519         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66520         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66521         to compile strcasecmp and strncasecmp.
66522         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66523         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66525         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66527 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66529         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66530         locale-defines.sym to gen-as-const-headers.
66531         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66532         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66533         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66534         to compile strcasecmp and strncasecmp.
66535         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66536         strcasecmp_l and strncasecmp_l.
66537         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66538         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66539         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66540         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66541         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66542         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66543         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66544         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66545         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66546         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66547         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66549 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66551         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66552         result of SYSDEP_GETTIME_CPU to retval.
66553         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66554         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66556         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66557         variable.
66559         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66560         mantissa words.
66561         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66563         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66564         from unused variable.
66566         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66567         DWARF definitions.
66568         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66569         for assembling.
66571         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66572         over namespaces.
66574         * sunrpc/rpc_prot.c (rejected): Fix case value.
66576         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66577         unsigned long long int to avoid warnings in shift.
66579         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66580         of use of trans.
66581         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66582         variable tmp.
66584         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66585         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66586         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66588         * nis/nis_table.c (nis_list): Use variable of correct type for
66589         result of __follow_path call.
66591 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66593         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66594         of math functions ceil, trunc, floor, round, and sqrt, when
66595         avaliable on the platform.
66596         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66597         name clash.
66598         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66599         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66600         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66602 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66604         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66605         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66607 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66609         * include/unistd.h: Fix __readlink return type.
66610         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66612 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66614         * stdlib/ucontext.h: Undo last change for makecontext.
66616 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66618         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66620         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66621         * setjmp/setjmp.h: Mark functions as non-leaf.
66622         * setjmp/bits/setjmp2.h: Likewise.
66623         * stdlib/ucontext.h: Likewise.
66625 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66627         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66628         (reused_arena): Don't check arena limit.
66629         (arena_get2): Atomically check arena limit.
66631 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66633         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66634         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66636         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66637         instructions.
66639 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66641         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66642         handler when locking.
66644         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66645         Fix size of allocated buffer.
66647 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66649         [BZ #10103]
66650         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66651         declarations for long double functions.
66652         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66654         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66656 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66658         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66659         installed.
66661         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66662         is disabled.
66664 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66666         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66668 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66670         * include/alloca.h (stackinfo_alloca_round): Define.
66671         (extend_alloca): Use it.
66672         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66673         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66674         here.
66676         * scripts/check-local-headers.sh: Ignore libaudit.h.
66678         * nscd/Makefile (extra-objs): Make recursively expanded.
66680 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66682         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66683         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66685         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66686         * posix/tst-rfc3484-2.c: Likewise.
66687         * posix/tst-rfc3484-3.c: Likewise.
66689         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66690         process_vm_writev.
66691         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66692         process_vm_writev.
66693         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66694         process_vm_writev from libc using GLIBC_2.15 version.
66696         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66698 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66700         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66701         stack usage.
66703 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66705         [BZ #13367]
66706         * nss/getent.c (initgroups_keys): Show error message in case no group
66707         names are given.
66709         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66710         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66711         __bump_nl_timestamp.
66712         * nscd/connections (nscd_init): When host database is served open
66713         netlink socket and request notification about configuration changes.
66714         (main_loop_poll): Track netlink file descriptor and bump timestamp
66715         in case data becomes available.
66716         (main_loop_epoll): Likewise.
66717         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66718         (database_pers_head): Add extra_data fileds.
66719         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66720         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66721         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66722         Adjust caller.
66723         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66724         in6ai data, call __free_in6ai.
66725         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66726         Add -DHAVE_NETLINK.
66727         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66728         interface information.  Reuse previous data if netlink timestamp
66729         is not changed.
66730         (__bump_nl_timestamp): New function.
66731         (__free_in6ai): New function.
66733 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66735         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66736         close_not_cancel_no_status here.
66737         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66739 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66741         [BZ #13276]
66742         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66743         return value.
66745         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66746         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66747         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66749 2011-07-03  Andreas Jaeger  <aj@suse.de>
66751         [BZ #10709]
66752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66753         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66754         * math/libm-test.inc (sin_test): Add test case.
66756 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66758         [BZ #13337]
66759         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66760         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66762         * elf/chroot_canon.c (chroot_canon): Cleanups.
66764         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66766         [BZ #13335]
66767         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66768         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66770         * string/test-strchr.c: Make usable for strchrnul testing.
66771         * string/test-strchrnul.c: New file.
66772         * string/Makefile (strop-tests): Add strchrnul.
66774         * po/it.po: Update from translation team.
66775         * po/es.po: Likewise.
66777 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66779         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66780         the three constants needed as parameters.  Drop the others.
66781         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66782         __m128i_strloadu_tolower.
66783         Create and initialize variable zero and use it in all the places
66784         where _mm_setzero_si128 was used.
66786         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66787         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66788         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66789         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66790         anymore.
66791         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66792         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66793         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66794         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66795         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66796         __mpranred, __mptan.
66797         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66798         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66799         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66800         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66801         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66802         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66803         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66804         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66805         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66807 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66809         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66810         redefine if SHARED.
66811         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66814         wide char related routines to wcsmbs subdir.
66816 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66818         [BZ #13344]
66819         * misc/sys/cdefs.h (__THROWNL): Define.
66820         * posix/unistd.h: Use __THREADNL instead of __THREAD
66821         for memory synchronization functions.
66823 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66825         [BZ #13349]
66826         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66827         doesn't exist.
66828         * manual/stdio.texi (Obstack Streams): Node removed.
66830 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66832         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66833         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66834         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66836         * math/math_private.h (math_force_eval): Allow non-addressable
66837         arguments.
66838         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66840 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66842         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66843         file is not needed.
66845         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66846         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66847         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66848         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66849         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66850         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66851         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66852         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66853         Add AVX variants.
66854         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66855         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66856         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66857         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66858         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66859         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66860         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66861         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66862         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66863         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66864         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66865         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66866         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66867         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66868         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66869         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66870         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66871         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66872         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66874         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66875         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66877         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66878         place.  Use VEX encoding when compiling for AVX.
66880 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66882         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66883         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66885         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66887 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66889         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66890         useless if() expression.
66891         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66892         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66893         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66894         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66895         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66896         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66897         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66898         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66899         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66900         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66901         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66902         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66903         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66904         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66905         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66906         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66907         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66908         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66909         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66911         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66913 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66915         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66916         condition.
66917         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66919 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66921         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66922         .text section.  Avoid duplicate constants.
66923         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66924         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66925         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66927         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66931         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66932         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66933         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66934         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66935         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66936         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66937         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66938         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66939         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66940         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66941         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66942         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66943         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66944         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66945         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66946         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66947         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66948         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66949         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66950         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66951         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66952         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66953         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66954         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66955         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66956         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66957         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66958         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66959         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66960         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66961         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66962         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66963         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66964         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66965         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66966         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66967         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66969 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66971         * sysdeps/x86_64/dla.h: Move to ...
66972         * sysdeps/x86_64/fpu/dla.h: ...here.
66973         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66974         situations.  Use __builtin_fma only for gcc 4.6 and up.
66976         * config.make.in: Add have-mfma4 entry.
66977         * configure.in: Substitute libc_cv_cc_fma4.
66978         * math/Makefile (dbl-only-routines): Add sincostab.
66979         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66980         Use __sincostab not sincos.
66981         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66982         name is a macro.
66983         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66984         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66985         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66987         using __copysign.
66988         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66989         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66990         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66991         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66992         and __inv.
66993         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66994         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66995         __copysign.
66996         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66997         define aliases when function name is a macro.
66998         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66999         sysdeps/ieee754/dbl-64/sincos.tbl.
67000         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67001         fma4-enabled routines.
67002         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67003         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67004         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67005         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67006         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67007         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67008         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67009         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67010         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67011         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67012         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67013         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67014         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67015         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67016         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67017         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67018         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67019         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67020         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67021         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67022         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67023         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67024         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67025         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67026         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67027         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67028         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67029         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67030         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67031         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67033         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67034         rename.
67035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67036         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67039         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67040         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67041         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67042         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67044 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67046         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67048 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67050         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67052         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67053         prediction.
67054         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67056         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67057         Remove unused variable magic_bits.
67058         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67060         * string/strnlen.c: Define and use STRNLEN macro.
67061         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67062         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67063         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67064         * wcsmbs/wcslen.c: Define and use WCSLEN.
67065         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67066         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67067         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67068         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67069         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67070         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67071         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67073 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67076         strnlen-sse2-no-bsf.
67077         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67078         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67079         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67080         Add strnlen support.
67081         (USE_AS_STRNLEN): New macro.
67082         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67083         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67084         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67085         * sysdeps/x86_64/wcslen.S: New file.
67087 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67089         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67090         XMM-moves are used for copying on small sizes.
67092 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67094         * wcsmbs/Makefile (strop-tests): Add wcschr.
67095         * wcsmbs/test-wcschr.c: New file.
67096         * string/test-strchr.c: Update.
67097         Add wcschr support.
67098         (WIDE): New macro.
67100 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67102         * wcsmbs/Makefile (strop-tests): Add wcslen.
67103         * wcsmbs/test-wcslen.c: New file.
67104         * string/test-strlen.c: Update.
67105         Add wcslen support.
67106         (WIDE): New macro.
67108 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67110         * po/it.po: Update from translation team.
67112 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67114         * sysdeps/x86_64/wcscmp.S: Update.
67115         Fix wrong comparison semantics.
67116         wcscmp shall use signed comparison not unsigned.
67117         Don't use substraction to avoid overflow bug.
67118         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67119         * wcsmbc/wcscmp.c: Likewise.
67120         * string/test-strcmp.c: Likewise.
67121         Add new tests to check cases with negative values.
67123 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67125         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67126         * sysdeps/x86_64/dla.h: ...here.  New file.
67127         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67128         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67130         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67131         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67132         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67133         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67134         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67135         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67137 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67139         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67140         __ynl_finite aliases.
67142 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67146         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67147         define DLA_FMA.
67148         [DLA_FMA] (EMULV): Use DLA_FMA.
67149         [DLA_FMA] (MUL12): Use EMULV.
67150         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67151         that are not needed.
67152         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67153         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67156         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67157         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67158         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67160 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67162         * math/s_nan.c: Undef __nan.
67163         * math/s_nanf.c: Undef __nanf.
67164         * math/s_nanl.c: Undef __nanl.
67165         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67166         "math_private.h".
67168 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67170         * math/s_catan.c: Add branch predictions.
67171         * math/s_catanf.c: Likewise.
67172         * math/s_catanh.c: Likewise.
67173         * math/s_catanhf.c: Likewise.
67174         * math/s_catanhl.c: Likewise.
67175         * math/s_catanl.c: Likewise.
67176         * math/s_cexp.c: Likewise.
67177         * math/s_cexpf.c: Likewise.
67178         * math/s_cexpl.c: Likewise.
67179         * math/s_clog.c: Likewise.
67180         * math/s_clog10.c: Likewise.
67181         * math/s_clog10f.c: Likewise.
67182         * math/s_clog10l.c: Likewise.
67183         * math/s_clogf.c: Likewise.
67184         * math/s_clogl.c: Likewise.
67185         * math/s_csqrt.c: Likewise.
67186         * math/s_csqrtf.c: Likewise.
67187         * math/s_csqrtl.c: Likewise.
67188         * math/s_ctanf.c: Likewise.
67189         * math/s_ctanh.c: Likewise.
67190         * math/s_ctanhf.c: Likewise.
67191         * math/s_ctanhl.c: Likewise.
67192         * math/s_ctanl.c: Likewise.
67194         * math/math_private.h: Define __nan, __nanf, __nanl.
67195         * math/s_cacosh.c: Include <math_private.h>.
67196         * math/s_cacoshl.c: Likewise.
67197         * math/s_casinh.c: Likewise.
67198         * math/s_casinhf.c: Likewise.
67199         * math/s_casinhl.c: Likewise.
67200         * math/s_ccos.c: Rely entire on ccosh.
67201         * math/s_ccosf.c: Rely entire on ccoshf.
67202         * math/s_ccosl.c: Rely entirely on ccoshl.
67203         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67204         Remove tests for FE_INVALID.
67205         * math/s_ccoshf.c: Likewise.
67206         * math/s_ccoshl.c: Likewise.
67207         * math/s_csin.c: Likewise.
67208         * math/s_csinf.c: Likewise.
67209         * math/s_csinh.c Likewise.
67210         * math/s_csinhf.c: Likewise.
67211         * math/s_csinhl.c: Likewise.
67212         * math/s_csinl.c: Likewise.
67213         * math/s_ctan.c: Likewise.
67214         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67215         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67216         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67218 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67221         compilation problems.
67223         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67224         __builtin_expect.
67226 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67228         * sysdeps/i386/configure.in: Test for -mfma4 option.
67229         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67230         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67231         COMMON_CPUID_INDEX_80000001.
67232         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67233         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67234         use it if FMA3 is not supported.
67235         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67237         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67238         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67240 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67242         [BZ #12892]
67243         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67244         it would create a cycle with a link time dependency.
67246 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67248         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67249         instruction.
67250         * string/Makefile (strop-tests): Add rawmemchr.
67251         * string/test-rawmemchr.c: New file.
67253         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67254         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67255         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67256         when compiling str{,n}casecmp and when AVX is available.  Hook up
67257         new optimized code in initializers.
67259 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67261         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67262         __feraiseexcept instead of feraiseexcept.
67264 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67266         * math/math_private.h: Define defaults for libc_fetestexcept and
67267         libc_feupdateenv.
67268         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67269         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67270         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67271         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67272         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67273         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67274         libc_fetestexcept and libc_feupdateenv.
67276         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67277         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67278         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67279         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67280         libc_feholdexcept_setround.
67282         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67283         Add s_nearbyint-c and s_nearbyintf-c.
67284         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67285         nearbyintf inlines.
67286         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67287         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67288         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67289         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67291         * math/math_private.h: Define defaults for libc_fegetround,
67292         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67293         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67294         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67295         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67296         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67297         standard functions.
67298         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67299         Remove comments and hacks for old compiler versions.
67300         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67301         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67302         libc_feholdexceptl.
67304 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67306         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67307         (__feraiseexcept_renamed): Add __NTH.
67308         (feraiseexcept): Add __NTH.  Rename local variables to fix
67309         namespace violations.
67311 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67313         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67315         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67317         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67318         recently added interfaces.
67319         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67321         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67322         about macro parameter expansion.
67324         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67325         __NO_MATH_INLINES is defined.  Cleanups.
67327         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67328         and __floorf is target has SSE4.1.
67329         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67330         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67331         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67332         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67334         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67335         name.
67336         (floorf): Likewise.
67338         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67340 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67342         * misc/sys/cdefs.h: Fix last change.
67344         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67345         database lookup.
67347 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67349         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67351         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67352         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67353         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67354         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67355         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67356         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67357         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67358         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67359         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67360         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67361         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67362         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67363         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67364         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67365         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67366         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67367         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67368         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67369         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67370         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67371         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67372         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67374         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67375         ceil, ceilf, floor, floorf.
67377         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67378         Perform IRELATIVE relocations last.
67380         * elf/do-rel.h: Add another parameter nrelative, replacing the
67381         local variable with the same name.  Change name of the function
67382         to end in Rel or Rela (uppercase).
67383         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67384         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67385         elf_dynamic_do_##reloc function.
67387 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67389         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67390         is sufficient, at least on modern CPUs.
67392         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67394         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67395         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67397         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67398         __expl_finite.
67399         * math/bits/math-finite.h: Add entries for exp.
67400         * math/e_expl.c: Add __*_finite alias.
67401         * sysdeps/i386/fpu/e_exp.S: Likewise.
67402         * sysdeps/i386/fpu/e_expf.S: Likewise.
67403         * sysdeps/i386/fpu/e_expl.c: Likewise.
67404         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67405         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67406         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67407         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67408         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67409         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67410         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67412         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67413         is sufficient, at least on modern CPUs.
67415         * ctype/ctype-info.c (__ctype_init): Define.
67416         * include/ctype.h (__ctype_init): Declare.
67417         (__ctype_b_loc): The variable is always initialized.
67418         (__ctype_toupper_loc): Likewise.
67419         (__ctype_tolower_loc): Likewise.
67420         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67421         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67423 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67425         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67427         * configure.in: Also look in $cxxmachine/include for C++ system
67428         headers.
67430 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67432         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67433         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67434         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67435         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67436         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67437         (USE_AS_WMEMCMP): New macro.
67438         Fixing indents.
67439         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67440         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67441         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67442         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67444         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67445         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67446         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67447         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67448         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67449         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67450         (USE_AS_WMEMCMP): New macro.
67451         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67452         * sysdeps/string/test-memcmp.c: Update.
67453         Fix simple_wmemcmp.
67454         Add new tests.
67455         * wcsmbs/wmemcmp.c: Update.
67456         (WMEMCMP): New macro.
67457         Fix overflow bug.
67459 2011-10-12  Andreas Jaeger  <aj@suse.de>
67461         [BZ #13268]
67462         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67464 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67466         * libio/iofwide.c (do_length): Avoid warning.
67468         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67470 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67472         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67474         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67475         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67476         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67477         * sysdeps/i386/i686/fpu/e_log.S: New file.
67478         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67479         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67481         * ctype/ctype.h: Add support for inlined isXXX functions when
67482         compiling C++ code.
67484 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67486         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67488         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67490 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67492         [BZ #13291]
67493         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67495 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67497         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67498         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67499         feraiseexcept.
67501         * sysdeps/x86_64/memrchr.S: Check for zero size.
67503         * string/stratcliff.c: Add memrchr tests.
67505 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67507         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67508         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67509         rawmemchr-sse2 rawmemchr-sse2-bsf.
67510         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67511         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67512         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67513         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67514         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67515         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67516         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67517         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67518         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67519         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67520         * string/memrchr.c (MEMRCHR): New macro.
67522 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67524         Add integration with gcc's -ffinite-math-only and optimize wrapper
67525         functions in libm.
67526         * Versions.def: Define GLIBC_2.15 version for libm.
67527         * math/Makefile (headers): Add bits/math-finite.h.
67528         * math/bits/math-finite.h: New file.
67529         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67530         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67531         * math/e_acoshl.c: Add __*_finite alias.
67532         * math/e_acosl.c: Likewise.
67533         * math/e_asinl.c: Likewise.
67534         * math/e_atan2l.c: Likewise.
67535         * math/e_atanhl.c: Likewise.
67536         * math/e_coshl.c: Likewise.
67537         * math/e_exp10.c: Likewise.
67538         * math/e_exp10f.c: Likewise.
67539         * math/e_exp10l.c: Likewise.
67540         * math/e_exp2l.c: Likewise.
67541         * math/e_fmodl.c: Likewise.
67542         * math/e_gammal_r.c: Likewise.
67543         * math/e_hypotl.c: Likewise.
67544         * math/e_j0l.c: Likewise.
67545         * math/e_j1l.c: Likewise.
67546         * math/e_jnl.c: Likewise.
67547         * math/e_lgammal_r.c: Likewise.
67548         * math/e_log10l.c: Likewise.
67549         * math/e_log2l.c: Likewise.
67550         * math/e_logl.c: Likewise.
67551         * math/e_powl.c: Likewise.
67552         * math/e_sinhl.c: Likewise.
67553         * math/e_sqrtl.c: Likewise.
67554         * math/e_scalb.c: Completely rewritten and optimized.
67555         * math/e_scalbf.c: Likewise.
67556         * math/e_scalbl.c: Likewise.
67557         * math/w_acos.c: Likewise.
67558         * math/w_acosf.c: Likewise.
67559         * math/w_acosl.c: Likewise.
67560         * math/w_acosh.c: Likewise.
67561         * math/w_acoshf.c: Likewise.
67562         * math/w_acoshl.c: Likewise.
67563         * math/w_asin.c: Likewise.
67564         * math/w_asinf.c: Likewise.
67565         * math/w_asinl.c: Likewise.
67566         * math/w_atan2.c: Likewise.
67567         * math/w_atan2f.c: Likewise.
67568         * math/w_atan2l.c: Likewise.
67569         * math/w_atanh.c: Likewise.
67570         * math/w_atanhf.c: Likewise.
67571         * math/w_atanhl.c: Likewise.
67572         * math/w_exp10.c: Likewise.
67573         * math/w_exp10f.c: Likewise.
67574         * math/w_exp10l.c: Likewise.
67575         * math/w_fmod.c: Likewise.
67576         * math/w_fmodf.c: Likewise.
67577         * math/w_fmodl.c: Likewise.
67578         * math/w_j0.c: Likewise.
67579         * math/w_j0f.c: Likewise.
67580         * math/w_j0l.c: Likewise.
67581         * math/w_j1.c: Likewise.
67582         * math/w_j1f.c: Likewise.
67583         * math/w_j1l.c: Likewise.
67584         * math/w_jn.c: Likewise.
67585         * math/w_jnf.c: Likewise.
67586         * math/w_log.c: Likewise.
67587         * math/w_logf.c: Likewise.
67588         * math/w_logl.c: Likewise.
67589         * math/w_log10.c: Likewise.
67590         * math/w_log10f.c: Likewise.
67591         * math/w_log10l.c: Likewise.
67592         * math/w_log2.c: Likewise.
67593         * math/w_log2f.c: Likewise.
67594         * math/w_log2l.c: Likewise.
67595         * math/w_pow.c: Likewise.
67596         * math/w_powf.c: Likewise.
67597         * math/w_powl.c: Likewise.
67598         * math/w_remainder.c: Likewise.
67599         * math/w_remainderf.c: Likewise.
67600         * math/w_remainderl.c: Likewise.
67601         * math/w_scalb.c: Likewise.
67602         * math/w_scalbf.c: Likewise.
67603         * math/w_scalbl.c: Likewise.
67604         * math/w_sqrt.c: Likewise.
67605         * math/w_sqrtf.c: Likewise.
67606         * math/w_sqrtl.c: Likewise.
67607         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67608         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67609         used.
67610         * math/math_private.h: Declare __kernel_standard_f.
67611         * math/w_cosh.c: Remove cruft and optimize a bit.
67612         * math/w_coshf.c: Likewise.
67613         * math/w_coshl.c: Likewise.
67614         * math/w_exp2.c: Likewise.
67615         * math/w_exp2f.c: Likewise.
67616         * math/w_exp2l.c: Likewise.
67617         * math/w_hypot.c: Likewise.
67618         * math/w_hypotf.c: Likewise.
67619         * math/w_hypotl.c: Likewise.
67620         * math/w_lgamma.c: Likewise.
67621         * math/w_lgamma_r.c: Likewise.
67622         * math/w_lgammaf.c: Likewise.
67623         * math/w_lgammaf_r.c: Likewise.
67624         * math/w_lgammal.c: Likewise.
67625         * math/w_lgammal_r.c: Likewise.
67626         * math/w_sinh.c: Likewise.
67627         * math/w_sinhf.c: Likewise.
67628         * math/w_sinhl.c: Likewise.
67629         * math/w_tgamma.c: Likewise.
67630         * math/w_tgammaf.c: Likewise.
67631         * math/w_tgammal.c: Likewise.
67632         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67633         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67634         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67635         Minor optimizations.  Pretty printing.  Remove cruft.
67636         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67637         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67638         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67639         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67640         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67641         * sysdeps/i386/fpu/e_asin.S: Likewise.
67642         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67643         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67644         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67645         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67646         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67647         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67648         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67649         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67650         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67651         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67652         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67653         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67654         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67655         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67656         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67657         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67658         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67659         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67660         * sysdeps/i386/fpu/e_log.S: Likewise.
67661         * sysdeps/i386/fpu/e_log10.S: Likewise.
67662         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67663         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67664         * sysdeps/i386/fpu/e_log2.S: Likewise.
67665         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67666         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67667         * sysdeps/i386/fpu/e_logf.S: Likewise.
67668         * sysdeps/i386/fpu/e_logl.S: Likewise.
67669         * sysdeps/i386/fpu/e_pow.S: Likewise.
67670         * sysdeps/i386/fpu/e_powf.S: Likewise.
67671         * sysdeps/i386/fpu/e_powl.S: Likewise.
67672         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67673         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67674         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67675         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67676         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67677         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67678         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67679         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67680         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67681         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67682         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67683         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67684         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67685         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67686         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67687         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67688         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67689         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67690         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67691         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67692         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67693         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67694         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67695         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67696         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67697         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67698         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67699         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67700         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67701         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67702         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67703         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67704         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67705         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67706         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67707         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67708         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67709         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67710         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67711         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67712         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67713         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67714         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67715         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67716         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67717         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67718         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67719         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67720         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67721         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67722         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67723         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67724         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67725         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67726         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67727         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67728         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67729         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67730         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67731         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67732         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67733         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67734         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67735         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67736         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67737         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67738         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67739         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67740         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67741         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67742         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67743         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67744         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67745         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67746         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67747         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67749         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67750         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67751         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67752         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67753         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67754         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67755         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67757         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67758         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67759         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67760         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67761         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67762         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67763         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67764         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67765         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67766         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67767         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67768         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67769         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67770         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67771         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67772         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67773         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67774         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67775         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67776         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67777         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67778         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67779         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67780         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67781         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67782         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67783         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67784         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67785         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67786         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67787         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67788         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67789         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67790         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67791         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67792         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67793         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67794         (__isnanf): Likewise.
67795         (__isinf_ns): Likewise.
67796         (__isinf_nsf): Likewise.
67797         (__finite): Likewise.
67798         (__finitef): Likewise.
67799         (__ieee754_sqrt): Define as macro.
67800         (__ieee754_sqrtf): Define as macro.
67801         (__ieee754_sqrtl): Define as macro.
67802         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67803         inlined copy.
67804         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67805         __FINITE_MATH_ONLY__ consistent.
67806         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67808 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67810         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67811         of rawmemchr.
67813         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67815 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67817         * po/ja.po: Update from translation team.
67819 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67821         * locale/programs/locarchive.c (prepare_address_space): New function.
67822         (create_archive, enlarge_archive, open_archive): Use it.
67824         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67825         inside [SHARED], where it is used.
67827         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67829         * nss/getent.c (netgroup_keys): Remove unused variable.
67830         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67832 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67834         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67835         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67837         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67838         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67839         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67840         * math/Makefile (libm-calls): Add s_isinf_ns.
67841         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67842         * math/multc3.c: Likewise.
67843         * math/s_casin.c: Likewise.
67844         * math/s_casinf.c: Likewise.
67845         * math/s_casinl.c: Likewise.
67846         * math/s_ccos.c: Likewise.
67847         * math/s_ccosf.c: Likewise.
67848         * math/s_ccosl.c: Likewise.
67849         * math/s_ctan.c: Likewise.
67850         * math/s_ctanf.c: Likewise.
67851         * math/s_ctanh.c: Likewise.
67852         * math/s_ctanhf.c: Likewise.
67853         * math/s_ctanhl.c: Likewise.
67854         * math/s_ctanl.c: Likewise.
67855         * math/w_fmod.c: Likewise.
67856         * math/w_fmodf.c: Likewise.
67857         * math/w_fmodl.c: Likewise.
67858         * math/w_remainder.c: Likewise.
67859         * math/w_remainderf.c: Likewise.
67860         * math/w_remainderl.c: Likewise.
67861         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67862         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67863         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67865         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67866         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67867         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67868         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67870         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67871         of the number.
67872         * stdio-common/printf_fphex.c: Likewise.
67873         * stdio-common/printf_size.c: Likewise.
67875         * math/e_exp10.c: Include math_private.h using <...> not "...".
67876         * math/e_exp10f.c: Likewise.
67877         * math/e_exp10l.c: Likewise.
67878         * math/e_exp2l.c: Likewise.
67879         * math/e_j0l.c: Likewise.
67880         * math/e_j1l.c: Likewise.
67881         * math/e_jnl.c: Likewise.
67882         * math/e_lgammal_r.c: Likewise.
67883         * math/e_rem_pio2l.c: Likewise.
67884         * math/e_scalb.c: Likewise.
67885         * math/e_scalbf.c: Likewise.
67886         * math/e_scalbl.c: Likewise.
67887         * math/k_cosl.c: Likewise.
67888         * math/k_sinl.c: Likewise.
67889         * math/k_tanl.c: Likewise.
67890         * math/s_cacoshf.c: Likewise.
67891         * math/s_catan.c: Likewise.
67892         * math/s_catanf.c: Likewise.
67893         * math/s_catanh.c: Likewise.
67894         * math/s_catanhf.c: Likewise.
67895         * math/s_catanhl.c: Likewise.
67896         * math/s_catanl.c: Likewise.
67897         * math/s_ccosh.c: Likewise.
67898         * math/s_ccoshf.c: Likewise.
67899         * math/s_ccoshl.c: Likewise.
67900         * math/s_cexp.c: Likewise.
67901         * math/s_cexpf.c: Likewise.
67902         * math/s_cexpl.c: Likewise.
67903         * math/s_clog.c: Likewise.
67904         * math/s_clog10.c: Likewise.
67905         * math/s_clog10f.c: Likewise.
67906         * math/s_clog10l.c: Likewise.
67907         * math/s_clogf.c: Likewise.
67908         * math/s_clogl.c: Likewise.
67909         * math/s_csin.c: Likewise.
67910         * math/s_csinf.c: Likewise.
67911         * math/s_csinh.c: Likewise.
67912         * math/s_csinhf.c: Likewise.
67913         * math/s_csinhl.c: Likewise.
67914         * math/s_csinl.c: Likewise.
67915         * math/s_csqrt.c: Likewise.
67916         * math/s_csqrtf.c: Likewise.
67917         * math/s_csqrtl.c: Likewise.
67918         * math/s_ctan.c: Likewise.
67919         * math/s_ctanf.c: Likewise.
67920         * math/s_ctanh.c: Likewise.
67921         * math/s_ctanhf.c: Likewise.
67922         * math/s_ctanhl.c: Likewise.
67923         * math/s_ctanl.c: Likewise.
67924         * math/s_ldexp.c: Likewise.
67925         * math/s_ldexpf.c: Likewise.
67926         * math/s_ldexpl.c: Likewise.
67927         * math/s_significand.c: Likewise.
67928         * math/s_significandf.c: Likewise.
67929         * math/s_significandl.c: Likewise.
67930         * math/w_acos.c: Likewise.
67931         * math/w_acosf.c: Likewise.
67932         * math/w_acosh.c: Likewise.
67933         * math/w_acoshf.c: Likewise.
67934         * math/w_acoshl.c: Likewise.
67935         * math/w_acosl.c: Likewise.
67936         * math/w_asin.c: Likewise.
67937         * math/w_asinf.c: Likewise.
67938         * math/w_asinl.c: Likewise.
67939         * math/w_atan2.c: Likewise.
67940         * math/w_atan2f.c: Likewise.
67941         * math/w_atan2l.c: Likewise.
67942         * math/w_atanh.c: Likewise.
67943         * math/w_atanhf.c: Likewise.
67944         * math/w_atanhl.c: Likewise.
67945         * math/w_cosh.c: Likewise.
67946         * math/w_coshf.c: Likewise.
67947         * math/w_coshl.c: Likewise.
67948         * math/w_dremf.c: Likewise.
67949         * math/w_exp10.c: Likewise.
67950         * math/w_exp10f.c: Likewise.
67951         * math/w_exp10l.c: Likewise.
67952         * math/w_exp2.c: Likewise.
67953         * math/w_exp2f.c: Likewise.
67954         * math/w_fmod.c: Likewise.
67955         * math/w_fmodf.c: Likewise.
67956         * math/w_fmodl.c: Likewise.
67957         * math/w_hypot.c: Likewise.
67958         * math/w_hypotf.c: Likewise.
67959         * math/w_hypotl.c: Likewise.
67960         * math/w_j0.c: Likewise.
67961         * math/w_j0f.c: Likewise.
67962         * math/w_j0l.c: Likewise.
67963         * math/w_j1.c: Likewise.
67964         * math/w_j1f.c: Likewise.
67965         * math/w_j1l.c: Likewise.
67966         * math/w_jn.c: Likewise.
67967         * math/w_jnf.c: Likewise.
67968         * math/w_jnl.c: Likewise.
67969         * math/w_lgamma.c: Likewise.
67970         * math/w_lgamma_r.c: Likewise.
67971         * math/w_lgammaf.c: Likewise.
67972         * math/w_lgammaf_r.c: Likewise.
67973         * math/w_lgammal.c: Likewise.
67974         * math/w_lgammal_r.c: Likewise.
67975         * math/w_log.c: Likewise.
67976         * math/w_log10.c: Likewise.
67977         * math/w_log10f.c: Likewise.
67978         * math/w_log10l.c: Likewise.
67979         * math/w_log2.c: Likewise.
67980         * math/w_log2f.c: Likewise.
67981         * math/w_log2l.c: Likewise.
67982         * math/w_logf.c: Likewise.
67983         * math/w_logl.c: Likewise.
67984         * math/w_pow.c: Likewise.
67985         * math/w_powf.c: Likewise.
67986         * math/w_powl.c: Likewise.
67987         * math/w_remainder.c: Likewise.
67988         * math/w_remainderf.c: Likewise.
67989         * math/w_remainderl.c: Likewise.
67990         * math/w_scalb.c: Likewise.
67991         * math/w_scalbf.c: Likewise.
67992         * math/w_scalbl.c: Likewise.
67993         * math/w_sinh.c: Likewise.
67994         * math/w_sinhf.c: Likewise.
67995         * math/w_sinhl.c: Likewise.
67996         * math/w_sqrt.c: Likewise.
67997         * math/w_sqrtf.c: Likewise.
67998         * math/w_sqrtl.c: Likewise.
67999         * math/w_tgamma.c: Likewise.
68000         * math/w_tgammaf.c: Likewise.
68001         * math/w_tgammal.c: Likewise.
68003         * po/ja.po: Update from translation team.
68005 2011-09-29  Andreas Jaeger  <aj@suse.de>
68007         [BZ #13179]
68008         * sunrpc/netname.c (netname2host): Fix logic.
68010         [BZ #6779]
68011         [BZ #6783]
68012         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68013         correctly.
68014         * math/w_remainder.c (__remainder): Likewise.
68015         * math/w_remainderf.c (__remainderf): Likewise.
68016         * math/libm-test.inc (remainder_test): Add test cases.
68018 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68020         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68021         sdiv_qrnnd.
68023 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68025         * string/test-memcmp.c: Avoid unncessary #defines.
68026         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68028 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68030         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68031         Use new sse2 version for core i3 - i7 as it's faster
68032         than sse42 version.
68033         (bit_Prefer_PMINUB_for_stringop): New.
68034         * sysdeps/x86_64/rawmemchr.S: Update.
68035         Replace with faster SSE2 version.
68036         * sysdeps/x86_64/memrchr.S: New file.
68037         * sysdeps/x86_64/memchr.S: Update.
68038         Replace with faster SSE2 version.
68040 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68042         * elf/dl-load.c (lose): Add cast to avoid warning.
68044 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68046         * po/ca.po: Update from translation team.
68048         * inet/getnetgrent_r.c: Hook up nscd.
68049         * nscd/Makefile (routines): Add nscd_netgroup.
68050         (nscd-modules): Add netgroupcache.
68051         (CFLAGS-netgroupcache.c): Define.
68052         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68053         (cache_search): Add const to second parameter.
68054         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68055         INNETGR.
68056         (dbs): Add netgrdb entry.
68057         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68058         (verify_persistent_db): Handle netgrdb.
68059         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68060         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68061         GETFDNETGR.
68062         (netgroup_response_header): Define.
68063         (innetgroup_response_header): Define.
68064         (datahead): Add netgroup_response_header and innetgroup_response_header
68065         elements.
68066         * nscd/nscd.conf: Add entries for netgroup cache.
68067         * nscd/nscd.h (dbtype): Add netgrdb.
68068         (_PATH_NSCD_NETGROUP_DB): Define.
68069         (netgroup_iov_disabled): Declare.
68070         (xmalloc, xcalloc, xrealloc): Move declarations here.
68071         (cache_search): Adjust prototype.
68072         Add netgroup-related prototypes.
68073         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68074         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68075         (__nscd_innetgr): Declare.
68076         * nscd/selinux.c (perms): Use access_vector_t as element type and
68077         add netgroup-related initializers.
68078         * nscd/netgroupcache.c: New file.
68079         * nscd/nscd_netgroup.c: New file.
68080         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68081         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68082         For four parameters use innetgr.
68083         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68084         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68085         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68086         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68088         * nscd/connections.c (register_traced_file): Don't register file
68089         for disabled databases.
68091 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68093         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68095         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68096         from tree and freeing node.
68098 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68100         * nss/nsswitch.c (__nss_database_lookup): Handle
68101         nss_parse_service_list out of memory case.
68103 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68105         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68106         out of memory case.
68108 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68110         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68111         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68112         pass it down.
68113         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68114         elf_machine_rela, elf_machine_lazy_rel.
68115         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68116         (ELF_DYNAMIC_DO_REL): Likewise.
68117         (ELF_DYNAMIC_DO_RELA): Likewise.
68118         (ELF_DYNAMIC_RELOCATE): Likewise.
68119         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68120         to ELF_DYNAMIC_DO_REL.
68121         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68122         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68123         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68124         elf_machine_rela.
68125         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68126         skip_ifunc, don't call ifunc function if non-zero.
68127         (elf_machine_rela): Likewise.
68128         (elf_machine_lazy_rel): Likewise.
68129         (elf_machine_lazy_rela): Likewise.
68130         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68131         (elf_machine_lazy_rel): Likewise.
68132         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68133         Likewise.
68134         (elf_machine_lazy_rel): Likewise.
68135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68136         Likewise.
68137         (elf_machine_lazy_rel): Likewise.
68138         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68139         (elf_machine_lazy_rel): Likewise.
68140         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68141         (elf_machine_lazy_rel): Likewise.
68142         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68143         (elf_machine_lazy_rel): Likewise.
68144         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68145         (elf_machine_lazy_rel): Likewise.
68146         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68147         (elf_machine_lazy_rel): Likewise.
68148         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68149         (elf_machine_lazy_rel): Likewise.
68151 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68153         * nss/nss_files/files-init.c (_nss_files_init): Use static
68154         initialization for all the *_traced_file variables.
68156 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68158         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68160 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68162         [BZ #13226]
68163         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68165 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68167         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68168         Reread the line before reparsing it.
68170 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68172         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68174 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68175             Maxim Kuvyrkov  <maxim@codesourcery.com>
68176             Joseph Myers  <joseph@codesourcery.com>
68178         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68179         if needed for __stack_chk_guard.
68181 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68183         * sysdeps/posix/spawni.c (script_execute): Always define it.
68184         It will be optimized away if unused.
68185         (maybe_script_execute): New function.
68186         (__spawni): Call it.
68188         * Makerules: Don't include tls.make.
68189         (config-tls): Always set to thread.
68190         * tls.make.c: File removed.
68192 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68194         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68195         * config.make.in (CPPFLAGS-config): New substituted variable.
68197 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68199         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68201         [BZ #13192]
68202         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68203         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68205 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68207         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68208         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68209         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68210         (CALL_FAIL): Likewise.
68211         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68212         (CALL_FAIL): Macro removed.
68213         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68215 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68217         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68218         for __FINITE_MATH_ONLY__ == 1.
68220 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68222         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68223         __ieee754_sqrt instead of sqrt.
68224         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68225         __ieee754_sqrtf instead of sqrtf.
68226         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68227         __floorf instead of floorf.
68228         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68229         __floorf, __truncf instead of floorf, truncf.
68231 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68233         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68235         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68236         __extern_always_inline.
68237         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68238         32-bit.
68240 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68242         * elf/rtld.c (dl_main): Also relocate in dependency order when
68243         doing symbol dependency testing.
68245 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68247         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68248         Always define `refsym'.
68250 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68252         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68253         (__FD_ELT): Renamed from __FDELT.
68254         * misc/bits/select2.h (__FD_ELT): Likewise.
68255         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68256         __FD_MASK instead of __FDELT, __FDMASK.
68257         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68258         Likewise.
68259         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68260         Likewise.
68262         * elf/Makefile (gen-ldd): Fix pattern.
68264         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68265         (init_tls): Likewise.
68267 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68269         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68271 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68273         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68274         `struct cmsghdr *' instead of `void *'.
68275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68276         Likewise.
68278 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68280         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68281         if non-absolute.
68282         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68283         ldd_rewrite_script.
68285 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68287         * configure.in: Remove --with-tls option.
68288         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68289         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68290         out in case it is missing.
68291         * sysdeps/ia64/elf/configure.in: Likewise.
68292         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68293         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68294         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68295         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68296         * sysdeps/sh/elf/configure.in: Likewise.
68297         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68298         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68299         * sysdeps/x86_64/elf/configure.in: Likewise.
68300         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68301         * sysdeps/mach/hurd/tls.h: Likewise.
68303         [BZ #13067]
68304         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68306         [BZ #13090]
68307         * configure.in: Fix use of AC_INIT.
68309         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68311 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68313         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68314         __set_errno.
68315         * malloc/hooks.c: Likewise.
68317         [BZ #11929]
68318         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68319         variables statically.
68320         (narenas): Initialize.
68321         (list_lock): Initialize.
68322         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68323         initializtion of main_arena and list_lock.  Small cleanups.
68324         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68325         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68326         Add initializers to main_arena and mp_.
68327         (malloc_state): Remove pagesize member.  Change all users to use
68328         GLRO(dl_pagesize).
68330         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68331         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68332         is always initialized.
68334         * malloc/malloc.c: Removed unused configurations and dead code.
68335         * malloc/arena.c: Likewise.
68336         * malloc/hooks.c: Likewise.
68337         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68339         * include/tls.h: Removed.  USE___THREAD must always be defined.
68340         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68341         * elf/dl-libc.c: Likewise.
68342         * elf/dl-tsd.c: Likewise.
68343         * include/errno.h: Likewise.
68344         * include/netdb.h: Likewise.
68345         * include/resolv.h: Likewise.
68346         * inet/herrno-loc.c: Likewise.
68347         * inet/herrno.c: Likewise.
68348         * malloc/arena.c: Likewise.
68349         * malloc/hooks.c: Likewise.
68350         * malloc/malloc.c: Likewise.
68351         * resolv/res-state.c: Likewise.
68352         * resolv/res_libc.c: Likewise.
68353         * sysdeps/i386/dl-machine.h: Likewise.
68354         * sysdeps/ia64/dl-machine.h: Likewise.
68355         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68356         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68357         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68358         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68359         * sysdeps/sh/dl-machine.h: Likewise.
68360         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68361         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68362         * sysdeps/unix/i386/sysdep.S: Likewise.
68363         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68364         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68365         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68366         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68369         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68372         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68373         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68374         * sysdeps/x86_64/dl-machine.h: Likewise.
68375         * tls.make.c: Likewise.
68377         * configure.in: Remove --with-__thread option.  Make tests for
68378         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68379         tls_model attribute fail if no support is available.  Remove
68380         USE_IN_LIBIO.
68381         * Makeconfig: Adjust for dropped configure option.  All features are
68382         now mandatory.
68383         * Makerules: Likewise.
68384         * Versions.def: Likewise.
68385         * argp/argp-fmtstream.c: Likewise.
68386         * argp/argp-fmtstream.h: Likewise.
68387         * argp/argp-help.c: Likewise.
68388         * assert/assert.c: Likewise.
68389         * config.h.in: Likewise.
68390         * config.make.in: Likewise.
68391         * configure: Likewise.
68392         * configure.in: Likewise.
68393         * csu/Versions: Likewise.
68394         * csu/init.c: Likewise.
68395         * elf/tst-audit2.c: Likewise.
68396         * elf/tst-tls10.c: Likewise.
68397         * elf/tst-tls10.h: Likewise.
68398         * elf/tst-tls11.c: Likewise.
68399         * elf/tst-tls12.c: Likewise.
68400         * elf/tst-tls14.c: Likewise.
68401         * elf/tst-tlsmod11.c: Likewise.
68402         * elf/tst-tlsmod12.c: Likewise.
68403         * elf/tst-tlsmod13.c: Likewise.
68404         * elf/tst-tlsmod13a.c: Likewise.
68405         * elf/tst-tlsmod14a.c: Likewise.
68406         * elf/tst-tlsmod15b.c: Likewise.
68407         * elf/tst-tlsmod16a.c: Likewise.
68408         * elf/tst-tlsmod16b.c: Likewise.
68409         * elf/tst-tlsmod7.c: Likewise.
68410         * elf/tst-tlsmod8.c: Likewise.
68411         * elf/tst-tlsmod9.c: Likewise.
68412         * gmon/gmon.c: Likewise.
68413         * grp/fgetgrent_r.c: Likewise.
68414         * grp/putgrent.c: Likewise.
68415         * hurd/fopenport.c: Likewise.
68416         * include/libc-symbols.h: Likewise.
68417         * include/tls.h: Likewise.
68418         * intl/gettextP.h: Likewise.
68419         * intl/loadinfo.h: Likewise.
68420         * locale/global-locale.c: Likewise.
68421         * locale/localeinfo.h: Likewise.
68422         * mach/devstream.c: Likewise.
68423         * malloc/arena.c: Likewise.
68424         * malloc/set-freeres.c: Likewise.
68425         * misc/err.c: Likewise.
68426         * misc/getttyent.c: Likewise.
68427         * misc/mntent_r.c: Likewise.
68428         * posix/getopt.c: Likewise.
68429         * posix/wordexp.c: Likewise.
68430         * pwd/fgetpwent_r.c: Likewise.
68431         * resolv/Versions: Likewise.
68432         * resolv/res_hconf.c: Likewise.
68433         * shadow/fgetspent_r.c: Likewise.
68434         * shadow/putspent.c: Likewise.
68435         * stdio-common/printf_fphex.c: Likewise.
68436         * stdio-common/tmpfile.c: Likewise.
68437         * stdlib/abort.c: Likewise.
68438         * stdlib/fmtmsg.c: Likewise.
68439         * sunrpc/auth_unix.c: Likewise.
68440         * sunrpc/clnt_perr.c: Likewise.
68441         * sunrpc/clnt_tcp.c: Likewise.
68442         * sunrpc/clnt_udp.c: Likewise.
68443         * sunrpc/clnt_unix.c: Likewise.
68444         * sunrpc/openchild.c: Likewise.
68445         * sunrpc/svc_simple.c: Likewise.
68446         * sunrpc/svc_tcp.c: Likewise.
68447         * sunrpc/svc_udp.c: Likewise.
68448         * sunrpc/svc_unix.c: Likewise.
68449         * sunrpc/xdr.c: Likewise.
68450         * sunrpc/xdr_array.c: Likewise.
68451         * sunrpc/xdr_rec.c: Likewise.
68452         * sunrpc/xdr_ref.c: Likewise.
68453         * sunrpc/xdr_stdio.c: Likewise.
68455 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68457         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68459 2011-07-03  Andreas Jaeger  <aj@suse.de>
68461         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68462         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68463         regenerate with gen-libm-tests.pl.
68465 2010-05-12  Petr Baudis  <pasky@suse.cz>
68467         [BZ #11589]
68468         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68469         around j0() zero points by switching to j1().
68470         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68471         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68472         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68473         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68475 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68477         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68478         instead of 0.
68479         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68480         instead of 0.
68481         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68482         Patch in part by Pavel Roskin <proski@gnu.org>.
68484         [BZ #13138]
68485         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68486         realloc.
68487         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68488         Free memory block if necessary.
68490         [BZ #12847]
68491         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68492         be NULL.  Don't lock in this case.
68494 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68496         * elf/elf.h (ELFOSABI_GNU): New macro.
68497         (ELFOSABI_LINUX): Define to that.
68499 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68501         * string/strncat.c (strncat): Undef the symbol in case it has been
68502         defined in bits/string.h.
68504 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68506         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68508         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68509         link map.
68511 2011-08-17  Andreas Jaeger  <aj@suse.de>
68513         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68515 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68516             Ian Lance Taylor  <iant@google.com>
68518         * math/libm-test.inc (lround_test): New testcase.
68519         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68521 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68523         * Makefile: Remove support for automatic cvs check-ins.
68524         * Makerules: Likewise.
68525         * config.make.in: Likewise.
68526         * configure.in: Likewise.
68527         * intl/Makefile: Likewise.
68528         * locale/Makefile: Likewise.
68529         * po/Makefile: Likewise.
68530         * posix/Makefile: Likewise.
68531         * sysdeps/gnu/Makefile: Likewise.
68532         * sysdeps/mach/hurd/Makefile: Likewise.
68533         * sysdeps/sparc/sparc32/Makefile: Likewise.
68535         [BZ #13118]
68536         * posix/Makefile (bug-regex32-ENV): Define.
68537         Patch by John Stanley <jpsinthemix@verizon.net>.
68539         * misc/Makefile (headers): Add bits/select2.h.
68540         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68541         * misc/bits/select2.h: New file.
68542         * include/bits/select2.h: New file.
68543         * debug/Makefile (routines): Add fdelt_chk.
68544         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68545         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68546         FD_ISSET.
68547         * debug/fdelt_chk.c: New file.
68549         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68550         * wcsmbs/test-wmemcmp.c: Likewise.
68551         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68552         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68554 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68556         * string/Makefile (strop-tests): Add memcmp.
68557         * string/test-wmemcmp.c: New file.
68558         * string/test-memcmp.c: Add wmemcmp support.
68560 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68562         [BZ #13153]
68563         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68564         2011-07-19 change.
68566         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68567         garbage value in a __mach_port_mod_refs call in the cases of the
68568         task-self and thread-self ports.
68570 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68572         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68574 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68576         * elf/dl-load.c (lose): Check for non-null L.
68578 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68580         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68582         * elf/dl-libc.c (dlerror_run): Pass back error code from
68583         dl_catch_error.
68585         [BZ #13123]
68586         * elf/dl-load.c (lose): Free l_origin if it is valid.
68588         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68589         names.
68590         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68591         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68592         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68593         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68594         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68595         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68597 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68599         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68600         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68601         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68602         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68603         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68604         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68605         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68606         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68607         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68608         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68610 2011-08-15  Alan Modra  <amodra@gmail.com>
68612         [BZ #13092]
68613         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68614         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68615         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68616         ppc_mcount to static-only-routines.
68617         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68618         __mcount_internal.
68619         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68620         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68622 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68624         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68625         for finite and infinity parameters.
68627 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68629         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68630         and add nop instructions for throughput optimization.
68631         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68633 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68635         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68636         aligned copy for power7 with vector-scalar instructions.
68637         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68639 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68642         AVX check.
68644 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68646         [BZ #13144]
68647         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68648         last change.
68650 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68652         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68653         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68654         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68656         clock_gettime.
68658 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68660         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68661         Forgot to demangle the pointer.
68663         * sysdeps/i386/sysdep.h: Define atom_text_section.
68664         * sysdeps/x86_64/sysdep.h: Likewise.
68665         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68666         section with atom_text_section.
68667         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68668         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68669         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68670         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68671         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68673         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68674         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68675         already be defined.  Change to take two parameters and don't assign
68676         result to variable.  Adjust all users.
68677         Define INTERNAL_GETTIME if not already defined.
68678         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68679         call.
68680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68681         HAVE_CLOCK_GETTIME_VSYSCALL.
68682         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68685         gettimeofday vsyscall, just use time.
68687 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68689         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68690         <errno.h>.
68692 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68694         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68695         syscall on x86-64.
68696         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68697         syscall.
68698         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68699         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68700         syscall if possible.
68702 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68704         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68705         e_ident.  Don't pass to find_mapsXX.
68706         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68708 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68711         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68712         * sysdeps/x86_64/multiarch/strchr.S: Update.
68713         Check bit_slow_BSF bit.
68714         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68715         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68716         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68718 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68720         [BZ #13134]
68721         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68722         before glibc 2.15.
68723         (tryshell): Define.
68724         (__spawni): Change last parameter to be flag.  Test
68725         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68726         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68727         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68728         * posix/spawni.c: Likewise.
68729         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68730         * posix/spawnp.c: Likewise.  Change normal version to use
68731         SPAWN_XFLAGS_USE_PATH.
68732         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68733         SPAWN_XFLAGS_TRY_SHELL.
68735         [BZ #13150]
68736         * posix/glob.h: Remove gcc 1.x support.
68738         [BZ #13068]
68739         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68741 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68743         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68744         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68745         strrchr-sse2-bsf
68746         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68747         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68748         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68749         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68750         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68751         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68753 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68755         * sysdeps/x86_64/wcscmp.S: New file.
68757         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68758         wcscmp-c wcscmp-sse2
68759         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68760         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68761         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68762         * wcsmbs/wcscmp.c: Allow renaming.
68764 2011-09-05  David S. Miller  <davem@davemloft.net>
68766         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68767         stack slot, rather than the struct return pointer slot.
68768         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68769         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68771         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68773 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68775         * po/ja.po: Update from translation team.
68777         [BZ #13144]
68778         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68779         kernel in 64-bit binaries.
68781 2011-09-01  David S. Miller  <davem@davemloft.net>
68783         * elf/elf.h (HWCAP_SPARC_*): Move to..
68784         * sysdeps/sparc/sysdep.h: this new file and add new values.
68785         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68786         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68787         _DL_HWCAP_COUNT to 24.
68788         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68789         entries.
68790         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68791         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68792         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68794         instead of magic constants.
68795         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68797 2011-08-31  David S. Miller  <davem@davemloft.net>
68799         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68801         Reimplement to do errno handling inline.
68802         (SYSCALL_ERROR_HANDLER): New macro.
68803         (__SYSCALL_STRING): Do not do errno handling in asm.
68804         (__CLONE_SYSCALL_STRING): Delete.
68805         (__INTERNAL_SYSCALL_STRING): Delete.
68806         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68807         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68808         (PSEUDO): Reimplement to do errno handling inline.
68809         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68810         (SYSCALL_ERROR_HANDLER): New macro.
68811         (__SYSCALL_STRING): Do not do errno handling in asm.
68812         (__CLONE_SYSCALL_STRING): Delete.
68813         (__INTERNAL_SYSCALL_STRING): Delete.
68814         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68815         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68816         i386.
68817         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68818         (inline_syscall*): Add 'err' argument.
68819         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68820         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68821         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68822         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68824         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68825         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68827 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68829         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68831 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68833         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68834         directive.
68836 2011-08-24  David S. Miller  <davem@davemloft.net>
68838         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68840 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68842         * elf/Makefile: Add rules to build and run unload8 test.
68843         * elf/unload8.c: New file.
68844         * elf/unload8mod1.c: New file.
68845         * elf/unload8mod1x.c: New file.
68846         * elf/unload8mod2.c: New file.
68847         * elf/unload8mod3.c: New file.
68849         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68850         it wasn't used.
68852 2011-08-23  David S. Miller  <davem@davemloft.net>
68854         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68855         subtract stack bias.
68856         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68857         %sp not %fp in calculations.
68858         (_JMPBUF_UNWINDS_ADJ): Likewise.
68860         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68861         (aio_suspend): Call it to force an exception region around the
68862         AIO_MISC_WAIT() invocation.
68864 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68866         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68867         backslash.
68869 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68871         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68872         protection macro.
68873         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68874         and <dl-machine.h>.
68875         (Elf64_FuncDesc): Remove.
68877 2011-08-22  David S. Miller  <davem@davemloft.net>
68879         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68880         sigaltstack check, add missing cfi directives.
68881         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68882         missing cfi directives, and sigaltstack handling.
68884 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68886         [BZ #11724]
68887         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68888         object is seen twice.
68889         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68891         * elf/Makefile (distribute): Add tst-initorder2.c.
68892         (tests): Add tst-initorder2.
68893         (modules-names): Add tst-initorder2a tst-initorder2b
68894         tst-initorder2c tst-initorder2d.  Add rules to build them.
68895         ($(objpfx)tst-initorder2.out): New rule.
68896         * elf/tst-initorder2.c: New file.
68897         * elf/tst-initorder2.exp: New file.
68899 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68901         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68903         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68904         dependencies back to end of function.
68906         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68907         $(elfobjdir)/ld.so.
68909 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68911         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68912         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68914         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68915         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68916         of __vdso_gettimeofday.
68917         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68918         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68919         attribute_hidden.
68920         (_libc_vdso_platform_setup): Remove initialization of
68921         __vdso_gettimeofday and __vdso_time.
68923 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68925         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68926         and fgetc_unlocked.
68927         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68928         getc_unlocked.
68930         * elf/dl-open.c (add_to_global): Report additions to the global scope
68931         for LD_DEBUG=scopes.
68932         (dl_open_worker): Also print scope of newly loaded dependencies.
68933         (_dl_show_scope): Indicate if there is no scope.
68935         [BZ #13114]
68936         * stdio-common/Makefile (tests): Add bug24.
68937         * stdio-common/bug24.c: New file.
68939 2011-08-19  Andreas Jaeger  <aj@suse.de>
68941         [BZ #13114]
68942         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68943         non-existant file when using close-on-exec mode.
68945 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68948         the very first instruction.
68950         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68951         the CFI state in the end.
68952         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68953         inclusion of dl-trampoline.h.
68954         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68956 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68958         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68959         expectations for long double.
68961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68962         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68964 2011-08-14  David S. Miller  <davem@davemloft.net>
68966         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68967         artificual limit depends upon the system page size.
68969 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68971         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68972         * resolv/Makefile: Define CFLAGS-libresolv.
68974 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68976         * nss/makedb.c (compute_tables): Make variables used in nested
68977         function static.
68979 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68981         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68982         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68983         if buffer was too small.
68985         * elf/pldd.c (main): Attach to all threads in the process.
68986         Rewrite /proc handling to use *at functions.
68988 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68990         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68991         specifies first scope to show.
68992         (dl_open_worker): Update callers.  Move printing scope of new
68993         object to before the relocation.
68994         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68995         * sysdeps/generic/ldsodefs.h: Update declaration.
68997         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68998         string for the scope number.
69000 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69002         * nscd/servicescache.c (cache_addserv): Make sure written is always
69003         initialized.
69005 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69007         * sysdeps/i386/i486/bits/atomic.h
69008         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69009         statement expression, so as to suppress "set but not used" warning.
69010         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69012         * string/strncat.c (STRNCAT): Use prototype definition.
69014         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69015         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69016         -Iprograms here.
69017         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69018         (localedef-modules): Add localedef.
69019         (locale-modules): Add locale.
69021         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69022         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69023         to avoid a warning.
69025 2011-08-14  David S. Miller  <davem@davemloft.net>
69027         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69028         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69030 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69032         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69033         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69034         * elf/rtld.c (dl_main): Set l_name of vDSO.
69035         Call _dl_show_scope when DL_DEBUG_SCOPES.
69036         (process_dl_debug): Recognize scopes flag and also set it for all.
69037         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69038         Declare _dl_show_scope.
69040         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69041         (do_dlopen): Pass caller_dlopen to dl_open.
69042         (__libc_dlopen_mode): Initialize caller_dlopen.
69044         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69045         of libc.  Make tolower call locale-independent.  Optimize a bit by
69046         using isdigit instead of isalnum.
69047         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69049 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69051         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69052         was a dependency or dynamically loaded.
69054 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69056         * intl/l10nflist.c: Allow architecture-specific pop function.
69057         * sysdeps/x86_64/l10nflist.c: New file.
69059         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69060         classification.
69062 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69064         * include/dirent.h: Add libc_hidden_proto for scandirat and
69065         scandirat64.  Don't declare __scandirat64.
69066         * dirent/scandirat.c: Add libc_hidden_def.
69067         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69068         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69070 2011-08-10  David S. Miller  <davem@davemloft.net>
69072         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69073         enum.
69074         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69075         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69076         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69078 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69080         * Versions.def [libc]: Add GLIBC_2.15.
69081         * dirent/Makefile (routines): Add scandirat and scandirat64.
69082         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69083         GLIBC_2.15.
69084         * dirent/dirent.h: Declare scandirat and scandirat64.
69085         * dirent/scandirat.c: New file.
69086         * dirent/scandirat64.c: New file.
69087         * sysdeps/wordsize-64/scandirat.c: New file.
69088         * sysdeps/wordsize-64/scandirat64.c: New file.
69089         * dirent/opendir.c: Define opendirat.
69090         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69091         using scandirat.
69092         * dirent/scandir64.c: Adjust for scandir.c change.
69093         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69094         __scandirat64, and __scandir_cancel_handler.
69095         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69096         additional parameter and use openat instead of open (outside of ld.so).
69097         Add new __opendir as wrapper around __opendirat.
69098         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69099         here without requiring old scandirat implementation.
69101 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69103         * dirent/scandir.c (cancel_handler): Renamed to
69104         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69105         defined.  Adjust users.
69106         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69107         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69109 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69111         * string/test-string.h (IMPL): Use __STRING to expand name and then
69112         stringify it.
69114         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69115         of cleanups.
69117 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69119         * string/Makefile: Update.
69120         (strop-tests): Append strncat.
69121         * string/test-wcscmp.c: New file.
69122         New comprehensive test for wcscmp.
69123         * string/test-strcmp.c: Update.
69124         (WIDE): New define.
69126 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69128         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69129         line.
69131 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69133         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69134         encoding to ACE if AI_IDN.
69136 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69139         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69141 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69143         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69144         Fix overflow bug in strncat.
69145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69147         * string/test-strncat.c: Update.
69148         Add new tests for checking overflow bugs.
69150 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69153         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69154         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69155         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69156         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69157         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69158         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69159         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69160         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69163         (USE_AS_STRCAT): Define.
69164         Add strcat and strncat support.
69165         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69167 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69169         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69170         __n bigger than INT_MAX+1.
69171         (__strncmp_g): Likewise.
69173 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69175         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69176         * libio/stido.h: Likewise.
69178         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69179         (AF_NFC): Define.
69180         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69181         (AF_NFC): Define.
69183         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69184         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69185         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69186         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69187         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69189         [BZ #13021]
69190         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69191         installed.
69193         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69194         typo.
69195         (_dl_x86_64_save_sse): Likewise.
69197 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69199         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69200         OSXSAVE.
69201         (_dl_x86_64_save_sse): Likewise.
69203         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69205         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69207 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69209         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69210         change.
69211         (_dl_x86_64_save_sse): Use correct AVX check.
69213 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69215         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69216         bug in strncpy/strncat.
69217         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69219 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69221         * string/tester.c (test_strcat): Add tests for different alignments
69222         of source and destination.
69223         (test_strncat): Likewise.
69225 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69227         [BZ #12852]
69228         * posix/glob.c (glob): Check passed in values before using them in
69229         expressions to avoid some overflows.
69230         (glob_in_dir): Likewise.
69232         [BZ #13007]
69233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69234         check for AVX enablement so that we don't crash with old kernels and
69235         new hardware.
69236         * elf/tst-audit4.c: Add same checks here.
69237         * elf/tst-audit6.c: Likewise.
69239         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69241 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69243         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69245 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69247         * po/cs.po: Update from translation team.
69248         * po/bg.po: Likewise.
69250 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69252         * misc/sys/cdefs.h: Add support for const attribute.
69253         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69254         to gnu_dev_{major,minor,makedev} functions.
69256 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69258         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69260 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69262         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69263         strlen results.
69265 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69268         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69269         register in order to avoid conflicts with the soft frame pointer
69270         being held in r11 when necessary.
69271         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69272         (INTERNAL_VSYSCALL_NCS): Likewise.
69274 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69276         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69277         * elf/dl-fini.c (_dl_fini): Adjust caller.
69278         * elf/dl-close.c (_dl_close_worker): Likewise.
69279         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69281 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69283         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69284         "aux_cache->nlibs < 0".
69286         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69287         in the reload-count case.
69289 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69292         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69293         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69294         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69295         * sysdeps/x86_64/multiarch/strcat.S: New file.
69296         * sysdeps/x86_64/multiarch/strncat.S: New file.
69297         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69298         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69299         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69300         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69301         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69302         (USE_AS_STRCAT): Define.
69303         Add strcat and strncat support.
69304         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69305         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69306         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69307         * string/strncat.c: Update.
69308         (USE_AS_STRNCAT): Define.
69309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69310         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69311         and i7.
69312         * sysdeps/x86_64/multiarch/init-arch.h
69313         (bit_Prefer_PMINUB_for_stringop): New.
69314         (index_Prefer_PMINUB_for_stringop): Likewise.
69315         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69316         bit_Prefer_PMINUB_for_stringop.
69318 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69320         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69321         buffer64.
69322         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69323         of casting of buffer.
69324         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69325         buffer32 and buffer64.
69326         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69327         writes instead of casting of buffer.
69328         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69329         buffer32.
69330         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69331         casting of buffer.
69333 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69335         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69337 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69339         * nscd/nscd.c (termination_handler): Don't do anything for a database
69340         if it has not yet been initialized.
69342 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69344         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69346 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69348         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69350 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69352         * po/nl.po: Update from translation team.
69353         * po/sv.po: Likewise.
69355 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69357         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69358         now disallowed by GCC.
69360         * configure.in (use-default-link): Default to yes if a test -shared
69361         link meets our qualifications.
69362         * configure: Regenerated.
69364         * config.make.in (output-format): New variable.
69365         * configure.in: Check for ld --print-output-format support.
69366         * configure: Regenerated.
69367         * Makerules ($(common-objpfx)format.lds)
69368         [$(output-format) != unknown]: Just use $(output-format),
69369         instead of the linker-script munging.
69371 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69373         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69374         of $(common-objpfx)shlib.lds.
69375         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69377         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69378         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69380         * configure.in (-z relro check): Adjust test code to add a large
69381         writable data section after it.
69382         * configure: Regenerated.
69384 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69386         * configure.in (-z relro check): Fix test code to make the variable
69387         truly const.
69388         * configure: Regenerated.
69390 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69392         * nscd/nscd.h (struct traced_file): Define.
69393         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69394         elements.  Add traced_files.
69395         (inotify_fd): Declare.
69396         (register_traced_file): Declare.
69397         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69398         (inotify_fd): Export.
69399         (resolv_conf_descr): Remove.
69400         (nscd_init): Move inotify descriptor creation to main.
69401         Don't register files for notification here.
69402         (register_traced_file): New function.
69403         (invalidate_cache): Don't use reset_res to determine whether to call
69404         res_init, go through the list of registered files.
69405         (main_loop_poll): The inotify descriptors are now stored in the
69406         structures for the traced files.
69407         (main_loop_epoll): Likewise.
69408         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69409         to __nss_disable_nscd.
69410         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69411         for a database anymore.  Check the records for all the registered
69412         files instead.
69413         * nss/Makefile (libnss_files-routines): Add files-init.
69414         (libnss_db-routines): Add db-init.
69415         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69416         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69417         * nss/nss_db/db-init.c: New file.
69418         * nss/nss_files/files-init.c: New file.
69419         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69420         __nss_lookup_function.
69421         (__nss_lookup_function): Call nss_load_library.
69422         (nss_load_all_libraries): New function.
69423         (__nss_disable_nscd): Take parameter with callback function for files
69424         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69425         used for the cached services.
69426         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69427         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69428         options for features to all the files in nscd.
69430         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69432 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69434         * csu/elf-init.c (__libc_csu_init): Comment typo.
69436 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69438         * po/pl.po: Update from translation team.
69439         * po/ja.po: Likewise.
69440         * po/ru.po: Likewise.
69441         * po/ko.po: Likewise.
69442         * po/fr.po: Likewise.
69444 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69446         * configure.in (.ctors/.dtors header and trailer check):
69447         Use an empirical test on a built program.
69448         * configure: Regenerated.
69450         * configure.in (-z relro check): Use an empirical test on a built DSO.
69451         Detect, but do not require, on ia64.
69452         * configure: Regenerated.
69454         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69455         Update tests that use readelf to use $READELF instead.
69456         * configure: Regenerated.
69458 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69460         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69461         if the result is not used.
69463 2011-07-05  Andreas Jaeger  <aj@suse.de>
69465         [BZ#9696]
69466         * stdlib/tst-strtod.c: Add testcase.
69468 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69470         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69471         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69472         The latter has a higher limit.  Take additional parameter to pass to
69473         the new function.
69474         (__pathconf): Pass file to __statfs_link_max.
69475         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69476         __statfs_link_max.
69477         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69478         __statfs_link_max.
69480         [BZ #12868]
69481         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69482         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69483         Handle Lustre.
69484         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69485         (__statfs_filesize_max): Likewise.
69486         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69488 2011-07-05  Andreas Jaeger  <aj@suse.de>
69490         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69492 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69494         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69495         `status' variable.
69496         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69497         Likewise.
69499 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69501         * Makefile (strop-tests): Add strncat.
69502         * string/test-strncat.c: New file.
69504 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69506         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69508 2011-06-21  Andreas Jaeger  <aj@suse.de>
69510         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69511         Copy rule from iconvdata/Makefile.
69513 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69515         [BZ #12922]
69516         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69517         but no long options are defined, just return 'W'.
69519 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69521         [BZ #9696]
69522         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69524 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69526         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69527         netgroups to read.
69528         (innetgr): Likewise.
69530 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69532         * config.make.in (install_root): Default to $(DESTDIR).
69534 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69536         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69538 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69540         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69542         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69543         containing directory rather than embedding absolute directory names.
69545         * scripts/check-local-headers.sh: Rewritten using awk.
69546         Match by word, not by line.  Print error messages for matches.
69547         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69549         * Makerules [shlib-lds-flags empty]:
69550         ($(common-objpfx)libc_pic.opts): New target.
69551         ($(common-objpfx)libc_pic.os.clean): New target.
69552         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69554         * config.make.in (OBJCOPY): New variable.
69555         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69556         * configure: Regenerated.
69558         * config.make.in (use-default-link): New variable.
69559         * configure.in (use_default_link): Grok --with-default-link to set it.
69560         * configure: Regenerated.
69561         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69562         (shlib-lds, shlib-lds-flags): Define to empty.
69564         * Makerules (shlib-lds): New variable.
69565         (shlib-lds-flags): New variable.
69566         (build-shlib, build-moduile, build-module-asneeded): Use it.
69567         ($(common-objpfx)libc.so): Use $(shlib-lds).
69568         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69569         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69571         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69572         DT_FLAGS/DT_FLAGS_1 with zero flags.
69574         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69575         linker script munging.
69577 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69579         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69580         as 128-bit value.
69581         * crypt/sha512.c (sha512_process_block): Perform total addition using
69582         128-bit if possible.
69583         (__sha512_finish_ctx): Likewise.
69584         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69585         as 64-bit value.
69586         * crypt/sha256.c (SWAP64): Define.
69587         (sha256_process_block): Perform total addition using 64-bit if
69588         possible.
69589         (__sha256_finish_ctx): Likewise.
69591 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69593         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69595         * nscd/hstcache.c (cache_addhst): Likewise.
69596         * nscd/grpcache.c (cache_addgr): Likewise.
69597         * nscd/aicache.c (addhstaiX): Likewise.
69598         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69600 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69602         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69603         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69604         * nscd/hstcache.c (cache_addhst): Likewise.
69605         * nscd/grpcache.c (cache_addgr): Likewise.
69606         * nscd/aicache.c (addhstaiX): Likewise.
69608 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69610         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69611         domain only when needed.
69613 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69616         is always restored.
69618 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69620         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69621         are re-adding the entry.
69622         * nscd/servicescache.c (cache_addserv): Likewise.
69624 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69626         * sysdeps/generic/dl-irel.h: fix protection against multiple
69627         inclusions.
69628         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69630 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69632         [BZ #12935]
69633         * malloc/memusage.sh: Fix quoting in message.
69634         * debug/xtrace.sh: Likewise.
69636         * configure.in: Remove support for --experimental-malloc option, make
69637         it the default.
69638         * config.make.in: Likewise.
69639         * malloc/Makefile: Likewise.
69641 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69643         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69644         two-byte characters.
69646 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69648         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69649         AC_CACHE_CHECK invocation.
69650         * configure: Regenerated.
69652         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69654 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69656         [BZ #12350]
69657         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69658         bit from old_res_options.
69660         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69662         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69663         value type for setfct.
69665 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69667         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69668         __gettimeofday instead of gettimeofday.
69670 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69672         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69674 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69676         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69678         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69679         info.
69681 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69684         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69685         strcpy-sse2-unaligned strncpy-sse2-unaligned
69686         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69687         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69688         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69689         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69690         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69691         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69692         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69693         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69694         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69695         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69696         (STRCPY): Support SSE2 and SSSE3 versions.
69698 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69700         [BZ #12874]
69701         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69702         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69703         kernels which artificially limit size of requests.
69705 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69707         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69708         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69709         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69710         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69711         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69712         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69713         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69714         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69715         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69716         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69717         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69718         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69719         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69720         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69721         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69723         Enable unaligned load optimization for Intel Core i3, i5 and i7
69724         processors.
69725         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69726         Define.
69727         (index_Fast_Unaligned_Load): Define.
69728         (HAS_FAST_UNALIGNED_LOAD): Define.
69730 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69732         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69734 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69736         [BZ #12907]
69737         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69738         until it is clear that the information is realy needed.
69739         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69741 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69745 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69747         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69748         /sys/devices/system/cpu/online if it is usable.
69750         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69751         reading the information from the /proc filesystem to once a second.
69753 2011-06-21  Andreas Jaeger  <aj@suse.de>
69755         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69756         NULL after inclusion of kernel headers.
69758 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69760         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69761         calls to internal_setent.
69763         [BZ #12885]
69764         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69765         addresses using gethostbyname4_r ignore IPv4 addresses.
69767         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69768         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69770         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69772 2011-06-20  David S. Miller  <davem@davemloft.net>
69774         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69775         inclusions.
69776         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69778         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69779         (elf_irel): Use it.
69780         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69781         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69782         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69783         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69784         * sysdeps/x86_64/dl-irel.h: Likewise.
69786         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69787         * elf/dl-sym.c: Likewise.
69789 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69791         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69792         need to dereference resplen2.
69794 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69796         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69798 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69800         * Makeconfig: Define vardbdir and inst_vardbdir.
69801         * nss/Makefile: Add rules to install db-Makefile.
69803         * nss/nss_db/db-XXX.c: Cleanup.
69805         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69806         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69807         GLIBC_PRIVATE.
69808         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69809         * nss/makedb.c: Implement -g option to specify that value strings
69810         are generated and should not be added to table iterated over for
69811         get*ent calls.
69812         * nss/nss_db/db-initgroups.c: New file.
69814         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69815         interface.
69817         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69818         (internal_getgrouplist): Adjust to name change.
69819         Update use_initgroups_entry if this is not the first call.
69820         * nss/databases.def: Add initgroups entry.
69822         * nss/makedb.c (compute_tables): Check result of multiple hash table
69823         sizes to minimize maximum chain length.
69825 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69827         * Versions.def: Add entry for libnss_db.
69828         * shlib-versions: Likewise.
69829         * nss/Makefile: Add rules to build libnss_db.
69830         * nss/Versions: Add libnss_db information.  Organize libnss_files
69831         entries better.
69832         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69833         makedb progra.  Some minor improvements to generate smaller files.
69834         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69835         here from...
69836         * nss/makedb.c: ...here.
69837         Improve database format to be smaller and require less memory at
69838         runtime.
69839         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69840         db anymore.
69841         * nss/nss_db/db-netgrp.c: Likewise.
69842         * nss/nss_db/db-open.c: Likewise.
69843         * nss/nss_files/flies-XXX.x: Adjust comments.
69844         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69845         * nss/nss_files/files-grp.c: Likewise.
69846         * nss/nss_files/files-hosts.c: Likewise.
69847         * nss/nss_files/files-network.c: Likewise.
69848         * nss/nss_files/files-proto.c: Likewise.
69849         * nss/nss_files/files-pwd.c: Likewise.
69850         * nss/nss_files/files-rpc.c: Likewise.
69851         * nss/nss_files/files-service.c: Likewise.
69852         * nss/nss_files/files-sgrp.c: Likewise.
69853         * nss/nss_files/files-spwd.c: Likewise.
69854         * nss/nss_db/db-alias.c: Removed.
69855         * nss/nss_db/dummy-db.h: Removed.
69857 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69859         * nss/makedb.c: Rewritten to not use database library.
69860         * nss/Makefile: Update to build new makedb program.
69862 2011-06-14  Andreas Jaeger  <aj@suse.de>
69864         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69865         memset declaration.
69867 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69870         tmpbuf.
69872 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69874         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69875         * elf/Makefile ($(objpfx)ld.so): Likewise.
69877         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69878         Don't list ld.so twice in dependencies.
69880         * posix/bug-regex31.c: Include <stdlib.h>.
69882         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69884         * nis/nss_compat/compat-spwd.c
69885         (getspent_next_nss_netgr): Remove unused variable.
69886         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69888         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69889         nonmembers" output to use the right array.
69891         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69893         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69895         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69896         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69897         * catgets/gencat.c (read_input_file): Likewise.
69898         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69900         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69901         variable definition inside #if's controlling its use.
69903         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69905         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69907         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69909         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69910         unreachable code.
69912         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69914         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69915         * configure: Regenerated.
69917         * Makerules: Revert last change.
69918         * elf/Makefile: Likewise.
69920 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69922         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69923         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69924         (reloc-link): Likewise.
69926 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69928         * elf/Makefile: Add rules to build pldd.
69929         * elf/pldd.c: New file.
69930         * elf/pldd-xx.c: New file.
69932 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69934         * version.h: Update for 2.15 development version.
69936 2011-06-07  David S. Miller  <davem@davemloft.net>
69938         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69939         ifuncs.
69940         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69941         elf_machine_lazy_rel): Likewise.
69942         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69943         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69944         elf_machine_lazy_rel): Likewise.
69945         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69946         dl_hwcap via passed in argument.
69947         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69948         Likewise.
69950 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69952         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69954 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69956         [BZ #12849]
69957         * manual/fdl-1.1.texi: New file, verbatim from:
69958         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69959         * manual/lgpl-2.1.texi: New file, verbatim from:
69960         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69961         * manual/Makefile (licenses): New variable, list those new file names.
69962         (texis): Use it.
69963         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69965         * manual/fdl.texi: File removed.
69966         * manual/lesser.texi: File removed.
69967         * manual/libc.texinfo (Copying, Documentation License):
69968         Use new @include file names, put @appendix directive before @include.
69970 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69972         [BZ #12841]
69973         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69974         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69975         (mq_open): Add __NTH.
69977 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69980         Assume Intel Core i3/i5/i7 processor if AVX is available.
69982 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69984         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69985         typo.
69987 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69989         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69990         memory.  Use alloca_account.  Fix memory leak when retrying.
69992 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69994         * version.h (RELEASE): Bump for 2.14 release.
69995         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69997         * config.make.in (RANLIB): Remove entry.
69999 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70001         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70002         (libc.pot): Work around missing support for .ksh extension in xgettext.
70004         [BZ #12684]
70005         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70006         if both request failed.
70007         (send_dg): In case of server errors clear resplen or *resplen2.
70009         [BZ #12454]
70010         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70011         when there are multiple maps.
70012         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70013         (_dl_fini): Remove test here.
70015         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70017 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70019         [BZ #12350]
70020         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70021         bit from old_res_options.
70022         (gaih_inet): Likewise.
70024         [BZ #11099]
70025         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70026         as signed.
70028         * resolv/res_init.c (res_setoptions): Make the code more compact.
70030         [BZ #11558]
70031         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70032         set RES_USEVC.
70034         [BZ #11634]
70035         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70037         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70039         [BZ #11781]
70040         * malloc/malloc.h: Declare malloc hook variables as volatile.
70042         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70043         in last patch.
70045         [BZ #11799]
70046         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70047         raise in the comment.
70048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70049         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70050         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70052 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70054         [BZ #12811]
70055         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70056         grow the buffers more if it already has to be sufficient.
70057         (build_wcs_upper_buffer): Likewise.
70058         * posix/regexec.c (check_matching): Likewise.
70059         (clean_state_log_if_needed): Likewise.
70060         (extend_buffers): Don't enlarge buffers beyond size of the input
70061         buffer.
70062         Patches mostly by Emil Wojak <emil@wojak.eu>.
70063         * posix/bug-regex32.c: New file.
70064         * posix/Makefile (tests): Add bug-regex32.
70066         * locale/findlocale.c (_nl_find_locale): Return right away if
70067         _nl_explode_name failed.
70068         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70070         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70072         * debug/xtrace.sh: Unify messages.
70073         * malloc/memusage.sh: Likewise.
70075         [BZ #12813]
70076         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70077         time symbol from vDSO.  Substitute with vsyscall if not available.
70078         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70079         __vdso_time.
70081         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70082         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70083         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70084         Add sendmmsg and internal_sendmmsg.
70085         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70086         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70087         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70089         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70090         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70091         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70093 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70095         [BZ #12813]
70096         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70097         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70098         available.
70099         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70100         __vdso_getcpu.
70102         [BZ #12814]
70103         * iconvdata/Makefile (tests): Add bug-iconv9.
70104         * iconvdata/bug-iconv9.c: New file.
70106 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70108         [BZ #12814]
70109         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70111 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70113         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70114         (struct user_regs_struct): Change intcs field back to cs.
70116 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70118         * po/ja.po: Update from translation team.
70120 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70122         [BZ #12795]
70123         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70124         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70126 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70128         * stdlib/longlong.h: Update from GCC.
70130 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70132         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70133         parameter name.
70134         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70135         Add parameter name.
70136         (__sysconf): Pass it down.
70138 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70140         [BZ #12671]
70141         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70142         some situations.
70143         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70144         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70145         add in in __libc_use_alloca calls.  Adjust callers.
70146         (glob): Use malloc in some situations.
70148         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70149         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70150         pltexit.
70152 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70154         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70155         and CLOCK_BOOTTIME_ALARM.
70157         [BZ #12782]
70158         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70159         is returned.
70161         * string/_strerror.c (__strerror_r): Print negative errors as signed
70162         numbers.
70164         [BZ #12777]
70165         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70166         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70167         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70169         * configure.in: Fix typo in redirection and correct removal of test
70170         files in two cases.
70172         [BZ #12788]
70173         * locale/setlocale.c (new_composite_name): Fix test to check for
70174         identical name of all categories.
70176         [BZ #12792]
70177         * libio/filedoalloc.c (local_isatty): New function.
70178         (_IO_file_doallocate): Use local_isatty.
70179         * stdio-common/perror.c (perror): In case a new stream is used
70180         forward the stream error.
70181         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70182         error flag.
70184 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70186         [BZ #11884]
70187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70188         alloca.
70189         * include/alloca.h (extend_alloca_account): Define.
70191         [BZ #11857]
70192         * posix/regex.h: Fix comments with documentation of user-accessible
70193         fields after compilation and describe correct free'ing of pattern
70194         after re_compile_pattern.
70195         Patch by Reuben Thomas <rrt@sc3d.org>.
70197 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70199         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70200         and -mno-altivec to prevent the compiler from using Altivec and/or
70201         VSX instructions when the corresponding registers are not available.
70203 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70205         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70207 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70209         * libio/freopen.c (freopen): Use __dup2, not dup2.
70210         * libio/freopen64.c (freopen64): Likewise.
70212 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70214         [BZ #12775]
70215         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70216         * math/Makefile (tests): Add test-powl.
70217         (CFLAGS-test-powl.c): Define.
70218         * math/test-powl.c: New file.
70220 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70222         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70224 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70226         [BZ #11837]
70227         * iconvdata/gb18030.c: Update to GB18020-2005.
70229 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70231         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70232         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70233         Patch by Aharon Robbins <arnold@skeeve.com>.
70235         [BZ #11892]
70236         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70237         on the stack.
70239         [BZ #11895]
70240         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70241         through underflows.
70243         [BZ #12766]
70244         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70245         point to strings before performing equality test for error_one_per_line
70246         mode.
70248         [BZ #11697]
70249         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70251         [BZ #11820]
70252         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70253         (struct user_fpregs_struct): Avoid __uint*_t types.
70255         [BZ #6420]
70256         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70257         symbol info.  Use it instead of calling _dl_addr locally.
70258         (lock_and_info): New function.
70259         (tr_freehook): Call lock_and_info and pass symbol info as additional
70260         parameter to tr_where.
70261         (tr_mallochook): Likewise.
70262         (tr_reallochook): Likewise.
70263         (tr_memalignhook): Likewise.
70265         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70266         used and couldn't be at all thread-safe.
70268 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70270         * libio/freopen.c (freopen): Don't close old file descriptor
70271         before the new one is opened.  Instead dup the new file descriptor
70272         to the old one after the new stream is created.
70273         * libio/freopen64.c (freopen64): Likewise.
70274         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70275         * libio/fileops.c (_IO_new_file_close_it): Handle new
70276         _IO_FLAGS2_NOCLOSE flag.
70277         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70278         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70279         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70280         _IO_FLAGS2_NOCLOSE flag.
70281         * include/unistd.h: Add hidden_proto for dup3.
70282         Define __have_dup3.
70283         * io/dup3.c: Define hidden symbol.
70284         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70286         [BZ #7101]
70287         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70288         when an incomplete long option is used.
70289         * posix/tst-getopt_long1.c: New file.
70290         * posix/Makefile (tests): Add tst-getopt_long1.
70292         [BZ #10138]
70293         * scripts/config.guess: Update from autoconf-2.68.
70294         * scripts/config.sub: Likewise.
70296         [BZ #10157]
70297         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70298         tests into ...
70299         (has_cpuclock): ...this.  New function.
70300         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70301         macro here based on has_cpuclock code.
70303         [BZ #10149]
70304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70305         First byte (not low byte) is now always NUL.
70306         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70309         Use non-cancelable interfaces.
70311         [BZ #9809]
70312         * locale/iso-639.def: Add entry for Sorani.
70314         [BZ #11901]
70315         * include/stdlib.h: Move include protection to the right place.
70316         Define abort_msg_s.  Declare __abort_msg with it.
70317         * stdlib/abort.c (__abort_msg): Adjust type.
70318         * assert/assert.c (__assert_fail_base): New function.  Majority
70319         of code from __assert_fail.  Allocate memory for __abort_msg with
70320         mmap.
70321         (__assert_fail): Now call __assert_fail_base.
70322         * assert/assert-perr.c: Remove bulk of implementation.  Use
70323         __assert_fail_base.
70324         * include/assert.hL Declare __assert_fail_base.
70325         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70326         mmap.
70327         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70329 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70331         [BZ #11952]
70332         [BZ #12453]
70333         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70334         until all modules are registered in the DTV.
70335         * elf/Makefile: Add rules to build and run tst-tls19.
70336         * elf/tst-tls19.c: New file.
70337         * elf/tst-tls19mod1.c: New file.
70338         * elf/tst-tls19mod2.c: New file.
70339         * elf/tst-tls19mod3.c: New file.
70340         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70342         [BZ #12083]
70343         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70344         correctly.
70346         [BZ #12601]
70347         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70348         two-byte sequence errors.
70349         * iconvdata/Makefile (tests): Add bug-iconv8.
70350         * iconvdata/bug-iconv8.c: New file.
70352         [BZ #12626]
70353         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70354         buf2 definition.
70356         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70358         [BZ #12432]
70359         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70360         (dummy_getcfa): New function.
70361         (init): Get _Unwind_GetCFA address, use dummy if not found.
70362         (backtrace_helper): In recursion check, also check whether CFA changes.
70363         (__backtrace): Completely initialize arg.
70365         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70366         storing incomplete byte sequence in state object.  Avoid testing for
70367         guaranteed too small input if we know there is enough data available.
70369 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70371         * Makeconfig (+link-pie): Indent.
70372         * Rules (binaries-pie): Define if $(have-fpie) and
70373         $(build-shared).
70374         (binaries-shared): Also filter out $(binaries-pie).
70375         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70376         * nscd/Makefile (others-pie): Add nscd.
70377         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70378         ($(objpfx)nscd): Remove command override.
70379         * login/Makefile (others-pie): Add pt_chown.
70380         ($(objpfx)pt_chown): Remove command override.
70381         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70382         remove command overrides.
70384 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70386         * libio/tst_putwc.c: Fix error messages.
70388         [BZ #12724]
70389         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70390         currently writing and seek to current position when not.
70391         * libio/Makefile (tests): Add bug-fclose1.
70392         * libio/bug-fclose1.c: New file.
70394 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70396         [BZ #12511]
70397         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70398         don't set DF_1_NODELETE here.
70399         (do_lookup_x): When entering new entry test for copy relocation
70400         and if necessary set DF_1_NODELETE flag.
70401         * elf/tst-unique4.cc: New file.
70402         * elf/tst-unique4.h: New file.
70403         * elf/tst-unique4lib.cc: New file.
70404         * elf/Makefile: Add rules to build and run tst-unique4.
70405         Patch by Piotr Bury <pbury@goahead.com>.
70407 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70409         [BZ #12052]
70410         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70412         [BZ #12625]
70413         * misc/mntent_r.c (addmntent): Flush the stream after the output
70415         [BZ #12393]
70416         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70417         (is_trusted_path_normalize): Skip initial colon.  Append slash
70418         to empty buffer.  Duplicate is_trusted_path code but allow
70419         constructed patch to be prefix.
70420         (is_dst): Allow $ORIGIN followed by /.
70421         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70422         Correct testing of result of is_trusted_path_normalize
70423         (decompose_rpath): Fix warning.
70425 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70427         [BZ #11257]
70428         * grp/initgroups.c (internal_getgrouplist): When we found the service
70429         list through the initgroups entry in nsswitch.conf do not always
70430         continue on a successful lookup.  Don't always use the
70431         __nss_group_database value if it is set.
70432         * nss/nsswitch.conf (initgroups): Change action for successful db
70433         lookup to continue for compatibility.
70435 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70437         [BZ #11532]
70438         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70439         and CP774 modules.
70440         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70441         and CP774 modules.
70442         * iconvdata/tst-tables.sh: Likewise.
70443         * iconvdata/cp770.c: New file.
70444         * iconvdata/cp771.c: New file.
70445         * iconvdata/cp772.c: New file.
70446         * iconvdata/cp773.c: New file.
70447         * iconvdata/cp774.c: New file.
70448         * iconvdata/testdata/CP770: New file.
70449         * iconvdata/testdata/CP770..UTF8: New file.
70450         * iconvdata/testdata/CP771: New file.
70451         * iconvdata/testdata/CP771..UTF8: New file.
70452         * iconvdata/testdata/CP772: New file.
70453         * iconvdata/testdata/CP772..UTF8: New file.
70454         * iconvdata/testdata/CP773: New file.
70455         * iconvdata/testdata/CP773..UTF8: New file.
70456         * iconvdata/testdata/CP774: New file.
70457         * iconvdata/testdata/CP774..UTF8: New file.
70459         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70460         END CHARMAP line.
70461         * iconvdata/gen-8bit-gap.sh: Likewise.
70462         * iconvdata/gen-8bit.sh: Likewise.
70464         * locale/iso-639.def: Add ary entry.
70466         [BZ #11258]
70467         * locale/C-translit.h.in: Add U20A1 transliteration.
70469         [BZ #12178]
70470         * locale/iso-639.def: Add wae entry.
70471         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70473         [BZ #12545]
70474         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70475         for n.
70477         [BZ #12711]
70478         * locale/C-translit.h.in: Add entry for U20B9.
70479         Patch by pravin.d.s@gmail.com.
70481 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70483         [BZ #12713]
70484         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70485         ENAMETOOLONG use generic getcwd.
70486         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70487         in rtld.  Use *stat64.
70488         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70489         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70490         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70491         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70492         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70493         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70494         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70495         __fstatat64 macros.
70496         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70497         * dirent/rewinddir.c: Add libc_hidden_def.
70498         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70499         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70501         * include/dirent.h (__alloc_dir): Add flags parameter.
70502         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70503         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70504         __alloc_dir.
70505         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70506         from fdopendir if O_CLOEXEC is already set.
70508 2011-03-15  Alan Modra  <amodra@gmail.com>
70510         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70511         l_tls_firstbyte_offset non-zero.  Save padding offset in
70512         l_tls_firstbyte_offset for later use.
70513         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70514         freeing static tls block.
70516 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70518         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70519         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70520         being defined by the kernel headers.
70522 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70524         [BZ #12734]
70525         * resolv/resolv.h: Define RES_NOTLDQUERY.
70526         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70527         no-tld-query and set RES_NOTLDQUERY.
70528         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70529         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70530         modern BIND to search name as TLD unless forbidden.
70532 2011-05-07  Petr Baudis  <pasky@suse.cz>
70533             Ulrich Drepper  <drepper@gmail.com>
70535         [BZ #12393]
70536         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70537         (is_trusted_path): ...to here.
70538         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70539         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70540         using is_trusted_path_normalize() in setuid scripts.
70542 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70544         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70545         __BEGIN/__END_DECLS.
70547 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70549         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70550         NSS_STATUS_NOTFOUND if no record was found.
70552 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70554         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70555         (headers-not-in-tirpc): Remove rpc/netdb.h
70556         * resolv/netdb.h: Revert last change.
70558 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70560         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70561         circular dependency between libgcc.a and libc.a.
70563 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70565         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70566         * nis/Makefile: Don't install rpcsvc/*.
70567         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70568         instead of <rpc/types.h>.
70569         (MAXHOSTNAMELEN): Define.
70571 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70573         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70575 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70577         [BZ #12714]
70578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70579         gethostbyname4_r when IPv6 results are possible.
70581 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70583         [BZ #12723]
70584         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70585         _PC_PIPE_BUF handling.
70587 2011-04-30  Bruno Haible  <bruno@clisp.org>
70589         [BZ #12717]
70590         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70591         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70592         to 'int'.
70593         * inet/getnameinfo.c (getnameinfo): Likewise.
70595 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70597         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70598         to groups setting in database lookup.
70599         * nss/nsswitch.conf: Add initgroups entry.
70601 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70603         [BZ #12685]
70604         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70605         mode string.
70606         Patch by Eric Blake <eblake@redhat.com>.
70608 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70610         * sunrpc/Makefile (need-export-routines): Add svc_run.
70611         (routines): Remove svc_run.
70612         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70613         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70614         * sunrpc/svc_run.c (svc_run): Likewise.
70615         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70617 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70620         problem in reallocation in last patch.
70622 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70624         * sunrpc/Makefile: Move inclusion of Rules.
70626 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70628         * nss/nss_files/files-initgroups.c: New file.
70629         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70630         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70631         _nss_files_initgroups_dyn.
70633 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70635         * elf/elf.h (R_ARM_IRELATIVE): Define.
70637 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70639         * po/ru.po: Update from translation team.
70641 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70643         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70644         dependencies.
70646 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70648         [BZ #12653]
70649         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70650         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70651         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70652         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70653         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70655 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70657         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70658         differing bytes.
70659         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70663 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70665         [BZ #12420]
70666         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70667         storing it.
70668         * stdlib/bug-getcontext.c: New file.
70669         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70671 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70673         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70674         instructions into .machine "z9-109".
70675         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70676         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70678 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70680         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70681         between environment variables and auxiliary vector.
70683 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70685         * Makefile: Add rules to build linkobj/libc.so.
70686         * include/libc-symbols.h: Define libc_hidden_nolink.
70687         * include/rpc/auth.h: Mark functions which are to be hidden.
70688         * include/rpc/auth_des.h: Likewise.
70689         * include/rpc/auth_unix.h: Likewise.
70690         * include/rpc/clnt.h: Likewise.
70691         * include/rpc/des_crypt.h: Likewise.
70692         * include/rpc/key_prot.h: Likewise.
70693         * include/rpc/pmap_clnt.h: Likewise.
70694         * include/rpc/pmap_prot.h: Likewise.
70695         * include/rpc/pmap_rmt.h: Likewise.
70696         * include/rpc/rpc_msg.h: Likewise.
70697         * include/rpc/svc.h: Likewise.
70698         * include/rpc/svc_auth.h: Likewise.
70699         * include/rpc/xdr.h: Likewise.
70700         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70701         * nss/Makefile: Likewise.
70702         * sunrpc/Makefile: Don't install headers.  Build library with normal
70703         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70704         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70705         for the compat linking library.  Remove use of INTDEF/INTUSE.
70706         * sunrpc/auth_none.c: Likewise.
70707         * sunrpc/auth_unix.c: Likewise.
70708         * sunrpc/authdes_prot.c: Likewise.
70709         * sunrpc/authuxprot.c: Likewise.
70710         * sunrpc/clnt_gen.c: Likewise.
70711         * sunrpc/clnt_perr.c: Likewise.
70712         * sunrpc/clnt_raw.c: Likewise.
70713         * sunrpc/clnt_simp.c: Likewise.
70714         * sunrpc/clnt_tcp.c: Likewise.
70715         * sunrpc/clnt_udp.c: Likewise.
70716         * sunrpc/clnt_unix.c: Likewise.
70717         * sunrpc/des_crypt.c: Likewise.
70718         * sunrpc/des_soft.c: Likewise.
70719         * sunrpc/get_myaddr.c: Likewise.
70720         * sunrpc/key_call.c: Likewise.
70721         * sunrpc/key_prot.c: Likewise.
70722         * sunrpc/netname.c: Likewise.
70723         * sunrpc/pm_getmaps.c: Likewise.
70724         * sunrpc/pm_getport.c: Likewise.
70725         * sunrpc/pmap_clnt.c: Likewise.
70726         * sunrpc/pmap_prot.c: Likewise.
70727         * sunrpc/pmap_prot2.c: Likewise.
70728         * sunrpc/pmap_rmt.c: Likewise.
70729         * sunrpc/publickey.c: Likewise.
70730         * sunrpc/rpc_cmsg.c: Likewise.
70731         * sunrpc/rpc_common.c: Likewise.
70732         * sunrpc/rpc_dtable.c: Likewise.
70733         * sunrpc/rpc_prot.c: Likewise.
70734         * sunrpc/rpc_thread.c: Likewise.
70735         * sunrpc/rtime.c: Likewise.
70736         * sunrpc/svc.c: Likewise.
70737         * sunrpc/svc_auth.c: Likewise.
70738         * sunrpc/svc_authux.c: Likewise.
70739         * sunrpc/svc_raw.c: Likewise.
70740         * sunrpc/svc_run.c: Likewise.
70741         * sunrpc/svc_simple.c: Likewise.
70742         * sunrpc/svc_tcp.c: Likewise.
70743         * sunrpc/svc_udp.c: Likewise.
70744         * sunrpc/svc_unix.c: Likewise.
70745         * sunrpc/svcauth_des.c: Likewise.
70746         * sunrpc/xcrypt.c: Likewise.
70747         * sunrpc/xdr.c: Likewise.
70748         * sunrpc/xdr_array.c: Likewise.
70749         * sunrpc/xdr_float.c: Likewise.
70750         * sunrpc/xdr_intXX_t.c: Likewise.
70751         * sunrpc/xdr_mem.c: Likewise.
70752         * sunrpc/xdr_rec.c: Likewise.
70753         * sunrpc/xdr_ref.c: Likewise.
70754         * sunrpc/xdr_sizeof.c: Likewise.
70755         * sunrpc/xdr_stdio.c: Likewise.
70757 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70759         [BZ #12650]
70760         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70761         * sysdeps/ia64/dl-tls.h: Likewise.
70762         * sysdeps/powerpc/dl-tls.h: Likewise.
70763         * sysdeps/s390/dl-tls.h: Likewise.
70764         * sysdeps/sh/dl-tls.h: Likewise.
70765         * sysdeps/sparc/dl-tls.h: Likewise.
70766         * sysdeps/x86_64/dl-tls.h: Likewise.
70767         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70769 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70771         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70772         rpath element also skip the following colon.
70773         (expand_dynamic_string_token): Add is_path parameter and pass
70774         down to DL_DST_REQUIRED and _dl_dst_substitute.
70775         (decompose_rpath): Call expand_dynamic_string_token with
70776         non-zero is_path.  Ignore empty rpaths.
70777         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70778         with zero is_path.
70780 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70783         Make cancelable.
70785 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70787         [BZ #12655]
70788         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70789         Patch by Filipe David Manana <fdmanana@apache.org>.
70791 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70793         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70794         Maintain aligned stack.
70795         (CHECK_RSP): Remove unused macro.
70797 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70799         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70800         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70802 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70804         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70806         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70808 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70810         [BZ #12518]
70811         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70812         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70813         * sysdeps/x86_64/memmove.c: New file.
70814         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70815         (memcpy): Renamed to ...
70816         (__new_memcpy): This.
70817         (memcpy): Provide GLIBC_2_14 memcpy.
70818         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70819         (memcpy): Provide GLIBC_2_2_5 memcpy.
70821 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70823         [BZ #12631]
70824         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70826 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70828         * misc/syncfs.c: New file.
70829         * misc/Makefile (routines): Add syncfs.
70830         * posix/unistd.h: Declare syncfs.
70831         * sysdeps/unix/syscalls.list: Add syncfs.
70833 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70835         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70836         open_by_handle_at.
70837         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70838         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70840         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70842         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70843         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70845 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70847         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70848         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70849         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70850         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70851         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70853         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70855         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70856         sync_file_range.c with -fexceptions.
70857         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70858         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70859         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70860         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70861         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70862         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70864         sync_file_range as cancellation point
70865         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70866         now a wrapper around __call_sync_file_range with cancellation handling.
70867         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70868         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70869         function name to __call_sync_file_range.
70870         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70871         Add call_sync_file_range.
70873 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70875         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70876         bits/timex.h.
70878 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70880         * iconv/iconv.h: Fix typo in comment.
70881         * io/fcntl.h: Likewise.
70882         * libio/stdio.h: Likewise.
70883         * posix/spawn.h: Likewise.
70884         * posix/unistd.h: Likewise.
70885         * stdlib/stdlib.h: Likewise.
70886         * time/time.h: Likewise.
70887         * wcsmbs/wchar.h: Likewise.
70889         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70890         open_by_handle): Add.
70891         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70892         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70893         Augment a few comments.
70894         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70896         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70898         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70899         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70900         open_by_handle.
70902         * io/fcntl.h (AT_EMPTY_PATH): Define.
70904 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70906         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70907         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70908         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70909         to...
70910         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70911         * Versions.def: Add GLIBC_2.14.
70912         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70913         Export.
70915 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70917         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70918         round counter.
70919         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70921 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70923         [BZ #12597]
70924         * string/test-strncmp.c (do_page_test): New function.
70925         (check2): Likewise.
70926         (test_main): Call check2.
70927         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70929 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70931         [BZ #12587]
70932         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70933         Handle cache information in CPU leaf 4.
70934         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70936 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70938         [BZ #12583]
70939         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70940         character representation.
70941         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70943 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70945         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70946         END(__isnan) to END(__isnanf) to match function entry point/label
70947         EALIGN(__isnanf,...).
70949 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70951         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70953 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70955         [BZ #12510]
70956         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70957         copy from the symbol referenced in the relocation to initialize the
70958         used variable.
70959         Patch by Piotr Bury <pbury@goahead.com>.
70960         * elf/Makefile: Add rules to build and tst-unique3.
70961         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70962         * elf/tst-unique3.cc: New file.
70963         * elf/tst-unique3.h: New file.
70964         * elf/tst-unique3lib.cc: New file.
70965         * elf/tst-unique3lib2.cc: New file.
70967         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70969 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70971         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70972         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70973         to _start.
70975 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70977         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70978         to-be-loaded object along a path to loader is ld.so.
70980 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70981             Ulrich Drepper  <drepper@gmail.com>
70983         * sysdeps/x86_64/memset.S: After aligning destination, code
70984         branches to different locations depending on the value of
70985         misalignment, when multiarch is enabled. Fix this.
70987 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70989         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70990         Set _x86_64_preferred_memory_instruction for AMD processsors.
70991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70992         Set bit_Prefer_SSE_for_memop for AMD processors.
70994 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70996         * libio/fmemopen.c (fmemopen): Optimize a bit.
70998 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71000         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71002 2011-03-03  Roland McGrath  <roland@redhat.com>
71004         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71006 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71008         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71009         __bzero_ultra1 instead of __memset_ultra1.
71011 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71012             Ulrich Drepper  <drepper@gmail.com>
71014         [BZ #12509]
71015         * include/link.h (struct link_map): Add l_orig_initfini.
71016         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71017         returning unsuccessfully.
71018         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71019         close of a file loaded at startup, restore the original l_initfini
71020         list.
71021         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71022         list, store the pointer.
71023         * elf/Makefile ($(objpfx)noload-mem): New rule.
71024         (noload-ENV): Define.
71025         (tests): Add $(objpfx)noload-mem.
71026         * elf/noload.c: Include <memcheck.h>.
71027         (main): Call mtrace.  Close all opened handles.
71029 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71031         [BZ #12454]
71032         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71033         dependencies are missing.
71035 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71037         Fix __if_freereq crash: Unlike the generic version which uses free,
71038         Hurd needs munmap.
71039         * sysdeps/mach/hurd/ifreq.h: New file.
71041 2011-01-27  Petr Baudis  <pasky@suse.cz>
71042             Ulrich Drepper  <drepper@gmail.com>
71044         [BZ 12445]#
71045         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71046         to extend_alloca().
71047         * stdio-common/bug23.c: New file.
71048         * stdio-common/Makefile (tests): Add bug23.
71050 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71051             Ulrich Drepper  <drepper@gmail.com>
71053         [BZ #12489]
71054         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71055         before performing relro protection.  At old place add assertion
71056         to make sure nothing changed.
71058 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71059             Glauber de Oliveira Costa  <glommer@gmail.com>
71061         * elf/elf.h: Add new ARM TLS relocs.
71063 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71066         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71067         cast from r3.
71068         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71069         'tests' variable.
71070         * sysdeps/wordsize-64/tst-writev.c: New file.
71072 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71074         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71075         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71076         insns in _dl_start to prevent a TOC reference before relocs are
71077         resolved.
71079 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71081         [BZ #12469]
71082         * Makeconfig: Remove RANLIB definition.
71083         * Makerules: Don't use RANLIB.
71084         * aclocal.m4: Remove ranlib test.
71085         * configure.in: No need to check for ranlib.
71086         * elf/rtld-Rules: Don't use RANLIB.
71088 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71090         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71091         protection macro.
71092         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71093         inclusion protection macro.
71095         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71096         SIGRTMIN and SIGRTMAX and print information in that case only when
71097         SIGRTMIN is defined.
71099 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71101         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71102         arginfo fn returning -1.
71104         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71105         and thousands string is zero terminated.
71107 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71109         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71110         sysdeps/unix/sysv/linux/bits/socket.h.
71112 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71114         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71115         (__CPU_COUNT): Remove old macros.
71116         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71117         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71118         (__CPU_ALLOC, __CPU_FREE): Add macros.
71119         (__sched_cpualloc, __sched_cpufree): Add declarations.
71121 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71123         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71124         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71125         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71126         (readdhstai): Return value of addhstaiX call.
71127         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71128         (addgrbyX): Return value returned by cache_addgr.
71129         (readdgrbyname): Return value returned by addgrbyX.
71130         (readdgrbygid): Likewise.
71131         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71132         (addpwbyX): Return value returned by cache_addpw.
71133         (readdpwbyname): Return value returned by addhstbyX.
71134         (readdpwbyuid): Likewise.
71135         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71136         (addservbyX): Return value returned by cache_addserv.
71137         (readdservbyname): Return value returned by addservbyX:
71138         (readdservbyport): Likewise.
71139         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71140         (addhstbyX): Return value returned by cache_addhst.
71141         (readdhstbyname): Return value returned by addhstbyX.
71142         (readdhstbyaddr): Likewise.
71143         (readdhstbynamev6): Likewise.
71144         (readdhstbyaddrv6): Likewise.
71145         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71146         (readdinitgroups): Return value returned by addinitgroupsX.
71147         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71148         (prune_cache): Keep track of timeout value of re-added entries.
71149         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71150         * nscd/nscd.h: Adjust prototypes of readd* functions.
71152 2011-02-04  Roland McGrath  <roland@redhat.com>
71154         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71155         (nis_stats): Likewise.
71156         * nis/nis_modify.c (nis_modify): Likewise.
71157         * nis/nis_remove.c (nis_remove): Likewise.
71158         * nis/nis_add.c (nis_add): Likewise.
71160         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71162         * posix/fnmatch_loop.c: Add some consts.
71164         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71166 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71168         [BZ #12460]
71169         * config.make.in (config-cflags-novzeroupper): Define.
71170         * configure.in: Substitute libc_cv_cc_novzeroupper.
71171         * elf/Makefile (AVX-CFLAGS): Define.
71172         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71173         (CFLAGS-tst-auditmod4a.c): Likewise.
71174         (CFLAGS-tst-auditmod4b.c): Likewise.
71175         (CFLAGS-tst-auditmod6b.c): Likewise.
71176         (CFLAGS-tst-auditmod6c.c): Likewise.
71177         (CFLAGS-tst-auditmod7b.c): Likewise.
71178         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71180 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71182         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71183         function to the callback.
71184         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71186 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71188         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71189         of errno.
71191 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71193         [BZ #11724]
71194         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71195         of constructors.
71196         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71197         of destructors.
71198         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71200         [BZ #11724]
71201         * elf/Makefile: Add rules to build and run new test.
71202         * elf/tst-initorder.c: New file.
71203         * elf/tst-initorder.exp: New file.
71204         * elf/tst-initordera1.c: New file.
71205         * elf/tst-initordera2.c: New file.
71206         * elf/tst-initordera3.c: New file.
71207         * elf/tst-initordera4.c: New file.
71208         * elf/tst-initorderb1.c: New file.
71209         * elf/tst-initorderb2.c: New file.
71210         * elf/tst-order-a1.c: New file.
71211         * elf/tst-order-a2.c: New file.
71212         * elf/tst-order-a3.c: New file.
71213         * elf/tst-order-a4.c: New file.
71214         * elf/tst-order-b1.c: New file.
71215         * elf/tst-order-b2.c: New file.
71216         * elf/tst-order-main.c: New file.
71217         New test case by George Gensure <werkt0@gmail.com>.
71219 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71222         decoding ACE if AI_CANONIDN.
71224 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71226         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71228 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71230         * version.h (RELEASE): Bump for 2.13 release.
71231         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71233         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71235         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71236         MADV_NOHUGEPAGE.
71237         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71238         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71239         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71240         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71241         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71242         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71244         * posix/getconf.c: Update copyright year.
71245         * catgets/gencat.c: Likewise.
71246         * csu/version.c: Likewise.
71247         * debug/catchsegv.sh: Likewise.
71248         * debug/xtrace.sh: Likewise.
71249         * elf/ldconfig.c: Likewise.
71250         * elf/ldd.bash.in: Likewise.
71251         * elf/sprof.c (print_version): Likewise.
71252         * iconv/iconv_prog.c: Likewise.
71253         * iconv/iconvconfig.c: Likewise.
71254         * locale/programs/locale.c: Likewise.
71255         * locale/programs/localedef.c: Likewise.
71256         * malloc/memusage.sh: Likewise.
71257         * malloc/mtrace.pl: Likewise.
71258         * nscd/nscd.c (print_version): Likewise.
71259         * nss/getent.c: Likewise.
71261         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71262         PF_CAIF, and PF_ALG.
71263         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71265 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71267         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71268         (modules-names): Use them.
71269         (ifunc-test-modules, ifunc-pie-tests): Define.
71270         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71271         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71272         (test-extras): Likewise.
71273         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71274         $(compile-command.c).
71275         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71276         (all-built-dso): Define.
71277         (check-textrel.out, check-execstack.out): Depend on it.
71279         * configure.in: Don't override --enable-multi-arch.
71281 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71283         [BZ #6812]
71284         * nscd/hstcache.c (tryagain): Define.
71285         (cache_addhst): Return tryagain not notfound for temporary errors.
71286         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71287         failed.
71289 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71291         [BZ #10563]
71292         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71293         to make the syscall.
71294         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71296         [BZ #12378]
71297         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71298         and fall back to matching as normal character if the string ends before
71299         the matching ']' is found.  This is what POSIX requires.
71300         * posix/testfnm.c: Adjust test result.
71301         * posix/globtest.sh: Adjust test result.  Add new test.
71302         * posix/tst-fnmatch.input: Likewise.
71303         * posix/tst-fnmatch2.c: Add new test.
71305 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71307         * elf/Makefile (check-execstack): Revert last change.  Depend on
71308         check-execstack.h.
71309         (check-execstack.h): New target.
71310         (generated): Add check-execstack.h.
71311         * elf/check-execstack.c: Include "check-execstack.h".
71312         (main): Revert last change.
71313         (handle_file): Return zero if GNU_STACK is absent and
71314         DEFAULT_STACK_PERMS doesn't include PF_X.
71316 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71318         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71319         in child fails because the descriptor is already closed.
71320         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71321         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71322         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71324         [BZ #12397]
71325         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71326         syscall.
71328         [BZ #10484]
71329         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71330         temporary buffer used to handle multi lookups locally.
71331         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71333 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71335         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71336         loader is ld.so.
71338 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71340         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71341         alignment for SSE2.
71343 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71345         [BZ #12394]
71346         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71347         characters.  When rounding increased number of integer digits recompute
71348         number of groups.
71349         * stdio-common/tst-grouping.c: New file.
71350         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71352 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71354         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71355         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71357         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71358         void.
71359         * bits/select.h: Likewise.
71361 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71363         * po/ja.po: Update from translation team.
71365 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71367         [BZ #11155]
71368         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71369         implementation just like for lxstat, fxstatat, et al.
71371 2010-12-27  Jim Meyering  <meyering@redhat.com>
71373         [BZ #12348]
71374         * posix/regexec.c (build_trtable): Return failure indication upon
71375         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71377 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71379         [BZ #12201]
71380         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71381         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71382         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71383         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71385         [BZ #12207]
71386         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71388         [BZ #12204]
71389         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71390         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71392 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71394         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71395         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71396         script has SORT_BY_INIT_PRIORITY.
71397         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71398         NO_CTORS_DTORS_SECTIONS is defined.
71399         * elf/soinit.c: Likewise.
71400         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71401         NO_CTORS_DTORS_SECTIONS is defined.
71402         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71403         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71404         * sysdeps/sh/init-first.c: Likewise.
71405         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71407 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71409         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71410         always use the slow path.
71412 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71414         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71415         similar rule which adds the sysdep directories to the header search in
71416         order to pick up the correct platform stackinfo.h.
71417         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71418         perform test if it is, otherwise return successfully without testing.
71419         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71420         DEFAULT_STACK_PERMS define in stackinfo.h.
71421         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71422         defined in stackinfo.h.
71423         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71424         DEFAULT_STACK_PERMS defined in stackinfo.h.
71425         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71426         * sysdeps/ia64/stackinfo.h: Likewise.
71427         * sysdeps/s390/stackinfo.h: Likewise.
71428         * sysdeps/sh/stackinfo.h: Likewise.
71429         * sysdeps/sparc/stackinfo.h: Likewise.
71430         * sysdeps/x86_64/stackinfo.h: Likewise.
71431         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71432         PF_X for powerpc64.  Retain PF_X for powerpc32.
71434 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71436         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71437         accurately.
71438         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71439         GETDENTS_64BIT_ALIGNED.
71441 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71443         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71445 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71447         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71448         _GNU_SOURCE.
71450         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71451         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71452         Remove __restrict.
71453         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71454         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71456 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71458         [BZ #11655]
71459         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71460         are initialized.
71462 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71464         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71466 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71468         * po/it.po: Update from translation team.
71470 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71473         unused codes.
71475 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71477         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71479 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71481         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71482         specially.
71483         (gaih_getanswer_slice): Likewise.
71485 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71487         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71489 2010-05-31  Petr Baudis  <pasky@suse.cz>
71491         [BZ #11149]
71492         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71493         silently even in the chroot mode.
71495 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71497         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71498         last patch a bit.  Pretty printing
71500 2010-05-31  Petr Baudis <pasky@suse.cz>
71502         [BZ #10085]
71503         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71504         initialization of skip_initgroups_dyn.
71506 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71508         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71509         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71511 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71513         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71515 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71517         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71518         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71519         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71520         ($(objpfx)tst-fnmatch-mem): New rule.
71521         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71522         * posix/tst-fnmatch.c (main): Call mtrace.
71524 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71527         Support Intel processor model 6 and model 0x2c.
71529 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71531         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71532           signed comparison.
71534 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71536         [BZ #12205]
71537         * string/test-strncasecmp.c (check_result): New function.
71538         (do_one_test): Use it.
71539         (check1): New function.
71540         (test_main): Use it.
71541         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71542         Support strcasecmp and strncasecmp.
71544 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71546         [BZ #12194]
71547         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71548         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71550 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71552         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71553         IFUNC support.
71554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71555         memset-x86-64.
71556         * sysdeps/x86_64/multiarch/bzero.S: New file.
71557         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71558         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71559         * sysdeps/x86_64/multiarch/memset.S: New file.
71560         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71562         Set bit_Prefer_SSE_for_memop for Intel processors.
71563         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71564         Define.
71565         (index_Prefer_SSE_for_memop): Define.
71566         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71568 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71570         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71571         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71573 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71575         [BZ #12191]
71576         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71577         (__x86_64_raw_data_cache_size_half): Likewise.
71578         (__x86_64_raw_shared_cache_size): Likewise.
71579         (__x86_64_raw_shared_cache_size_half): Likewise.
71581         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71582         (__x86_64_raw_data_cache_size_half): Likewise.
71583         (__x86_64_raw_shared_cache_size): Likewise.
71584         (__x86_64_raw_shared_cache_size_half): Likewise.
71585         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71586         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71587         and __x86_64_raw_shared_cache_size_half.  Round
71588         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71589         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71590         to multiple of 256 bytes.
71592 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71594         [BZ #12167]
71595         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71596         of inacessible symlinks.  Verify result of symlink before returning it.
71597         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71598         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71600 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71602         * math/math.h (isinf): Fix typo in comment.
71604 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71606         * po/da.po: Update from translation team.
71608 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71610         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71611         is added to the list.
71613 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71614             Ulrich Drepper  <drepper@gmail.com>
71616         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71617         the global list here.  Move code to...
71618         (_dl_add_to_namespace_list): ...here.  New function.
71619         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71620         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71621         * elf/dl-load.c (lose): Don't remove the element from the list.
71622         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71623         (_dl_map_object): Likewise.
71625 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71627         [BZ #12159]
71628         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71629         into all bytes of SSE register.
71630         Patch by Richard Li <richardpku@gmail.com>.
71632 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71634         [BZ #12140]
71635         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71636         perturbing.
71638 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71640         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71641         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71642         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71643         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71645         submachine.
71646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71648 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71650         * include/dlfcn.h (__RTLD_SECURE): Define.
71651         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71652         mode & __RTLD_SECURE instead.
71653         (open_path): Rename preloaded parameter to secure.
71654         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71655         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71656         * elf/dl-deps.c (openaux): Likewise.
71657         * elf/rtld.c (struct map_args): Remove is_preloaded.
71658         (map_doit): Don't use it.
71659         (dl_main): Likewise.
71660         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71661         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71663 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71665         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71666         (sysd-rules-targets): Remove duplicates.
71667         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71668         rtld-%.$o dependency.
71670 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71672         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71673         _dl_map_object do it.
71675 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71677         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71678         fast fma builtins, define the macros in the C99 standard.
71679         (FP_FAST_FMAF): Likewise.
71680         (FP_FAST_FMAL): Likewise.
71681         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71683         * bits/mathdef.h: Update copyright year.
71684         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71686 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71688         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71689         builtins, define the macros in the C99 standard.
71690         (FP_FAST_FMAF): Likewise.
71691         (FP_FAST_FMAL): Likewise.
71692         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71693         multiply/add.
71694         (FP_FAST_FMAF): Likewise.
71696 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71698         [BZ #3268]
71699         * math/libm-test.inc (fma_test): Some new testcases.
71700         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71701         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71702         y and infinite z.  Do multiplication by C already in long double.
71703         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71705         y and infinite z.  Do bitwise or of inexact bit into u.d.
71706         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71707         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71708         * sysdeps/i386/fpu/s_fma.S: Removed.
71709         * sysdeps/i386/fpu/s_fmal.S: Removed.
71711 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71713         [BZ #3268]
71714         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71715         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71716         computation is not scheduled after fetestexcept.  Fix value
71717         of minimum denormal long double.
71719 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71721         [BZ #3268]
71722         * math/libm-test.inc (fma_test): Add some more tests.
71723         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71724         correctly.
71726 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71728         * scripts/data/localplt-s390-linux-gnu.data: New file.
71729         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71731 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71733         [BZ #3268]
71734         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71735         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71736         instead of dbl-64.
71737         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71738         inlines.
71739         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71741         if one of x and y is very large and the other is subnormal.
71742         * sysdeps/s390/fpu/s_fmaf.c: New file.
71743         * sysdeps/s390/fpu/s_fma.c: New file.
71744         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71745         * sysdeps/powerpc/fpu/s_fma.S: New file.
71746         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71747         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71748         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71750 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71752         [BZ #3268]
71753         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71754         fma tests.
71755         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71756         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71757         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71758         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71759         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71760         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71761         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71763 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71765         [BZ #12078]
71766         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71767         * posix/bug-regex31.input: Add test case.
71769 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71771         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71772         * posix/bug-regex31.input: New file.
71774         [BZ #12078]
71775         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71776         (parse_sub_exp): Fix last change, use postorder.
71778         * posix/bug-regex31.c: New file.
71779         * posix/Makefile: Add rules to build and run bug-regex31.
71781         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71783         [BZ #12078]
71784         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71786         [BZ #12108]
71787         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71788         to have entries in sys_siglist.
71790         [BZ #12093]
71791         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71792         be NULL.
71794 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71796         [BZ #3268]
71797         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71798         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71799         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71800         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71801         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71802         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71803         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71804         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71805         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71806         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71807         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71808         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71809         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71810         * math/ftestexcept.c (fetestexcept): Likewise.
71811         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71812         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71813         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71814         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71815         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71816         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71817         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71819 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71821         [BZ #12107]
71822         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71823         newline.
71825 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71827         * string/bug-strstr1.c: New file.
71828         * string/Makefile: Add rules to build and run bug-strstr1.
71830 2010-10-05  Eric Blake  <eblake@redhat.com>
71832         [BZ #12092]
71833         * string/str-two-way.h (two_way_long_needle): Always clear memory
71834         when skipping input due to the shift table.
71836 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71838         [BZ #12005]
71839         * malloc/mcheck.c: Handle large requests.
71841         [BZ #12077]
71842         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71843         for strncmp and strncasecmp.
71844         * string/stratcliff.c: Add tests for strcmp and strncmp.
71845         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71847 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71849         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71850         __set_fpscr.
71852 2010-09-30  Andreas Jaeger  <aj@suse.de>
71854         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71855         (CGROUP_SUPER_MAGIC): Define.
71856         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71857         Handle btrfs and cgroup file systems.
71858         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71859         Likewise.
71861 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71863         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71864         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71866 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71868         [BZ #12067]
71869         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71870         trying to locate the ELF header.
71872 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71874         [BZ #11611]
71875         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71876         Mask out sign-bit copies when constructing f_fsid.
71878 2010-09-24  Petr Baudis <pasky@suse.cz>
71880         * debug/stack_chk_fail_local.c: Add missing licence exception.
71881         * debug/warning-nop.c: Likewise.
71883 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71885         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71886         implementing getdents64 using getdents syscall, set d_type if
71887         __ASSUME_GETDENTS32_D_TYPE.
71889 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71891         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71892         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71894 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71896         [BZ #12037]
71897         * posix/unistd.h: Undo change of feature selection for ftruncate from
71898         2010-01-11.
71900 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71902         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71903         detection.
71905 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71907         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71908         fanotify_mark.
71909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71911 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71913         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71914         variables after CHECK_SP call.
71915         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71917 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71918             Ulrich Drepper  <drepper@redhat.com>
71920         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71921         re-relocationg ld.so.
71922         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71923         _dl_init_paths call.
71924         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71925         here anymore.
71927 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71929         * resolv/res_init.c (__res_vinit): Count the default server we added.
71931 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71932             Ulrich Drepper  <drepper@redhat.com>
71934         [BZ #11968]
71935         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71936         (____longjmp_chk): Use %ebx for saving value across system call.
71937         Add unwind info.
71939 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71941         * manual/Makefile: Don't mix pattern rules with normal rules.
71943 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71945         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71946         operation.
71947         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71948         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71949         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71950         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71952         Likewise.
71954 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71956         [BZ #11979]
71957         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71958         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71960 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71962         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71963         * sysdeps/x86_64/addmul_1.S: Likewise.
71964         * sysdeps/x86_64/lshift.S: Likewise.
71965         * sysdeps/x86_64/mul_1.S: Likewise.
71966         * sysdeps/x86_64/rshift.S: Likewise.
71967         * sysdeps/x86_64/sub_n.S: Likewise.
71968         * sysdeps/x86_64/submul_1.S: Likewise.
71970 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71972         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71973         Define __sched_param instead of SCHED_* and sched_param when
71974         <bits/sched.h> is included with __need_schedparam defined.
71975         * bits/sched.h [__need_schedparam]
71976         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71977         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71978         (__defined_schedparam): Define to 1.
71979         (__sched_param): New structure, identical to sched_param.
71980         (__need_schedparam): Undefine.
71982 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71984         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71985         (epoll_create1): Declare.
71987         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71989 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71991         [BZ #7066]
71992         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71993         shifting retval into place.
71995 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71997         * nis/rpcsvc/nis.h: Update copyright notice.
71998         * nis/rpcsvc/nis.x: Likewise.
71999         * nis/rpcsvc/nis_callback.h: Likewise.
72000         * nis/rpcsvc/nis_callback.x: Likewise.
72001         * nis/rpcsvc/nis_object.x: Likewise.
72002         * nis/rpcsvc/nis_tags.h: Likewise.
72003         * nis/rpcsvc/yp.h: Likewise.
72004         * nis/rpcsvc/yp.x: Likewise.
72005         * nis/rpcsvc/ypupd.h: Likewise.
72006         * nis/yp_xdr.c: Likewise.
72007         * nis/ypupdate_xdr.c: Likewise.
72009         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72010         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72011         (pmap_getport): Use __libc_rpc_getport.
72012         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72013         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72014         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72016 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72019         fanotify_mark.
72021 2010-08-27  Roland McGrath  <roland@redhat.com>
72023         * sysdeps/i386/i686/multiarch/Makefile
72024         (CFLAGS-varshift.c): New variable.
72026 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72028         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72029         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72031         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72033         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72035 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72037         * sysdeps/x86_64/strlen.S: Unroll the loop.
72038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72039         strlen-sse2 strlen-sse2-bsf.
72040         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72041         __strlen_no_bsf if bit_Slow_BSF is set.
72042         (__strlen_sse42): Removed.
72043         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72044         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72046 2010-08-25  Roland McGrath  <roland@redhat.com>
72048         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72049         * sysdeps/x86_64/multiarch/varshift.c: New file.
72050         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72051         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72052         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72053         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72055 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72058         strlen-sse2 strlen-sse2-bsf.
72059         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72060         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72061         (__strlen_sse2): Removed.
72062         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72063         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72065         bit_Slow_BSF for Atom.
72066         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72067         (index_Slow_BSF): Define.
72068         (HAS_SLOW_BSF): Define.
72070 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72072         [BZ #10851]
72073         * resolv/res_init.c (__res_vinit): When no server address at all
72074         is given default to loopback.
72076 2010-08-24  Roland McGrath  <roland@redhat.com>
72078         * configure.in: Remove config-name.h generation.
72079         * configure: Regenerated.
72080         * config-name.in: File removed.
72081         * scripts/config-uname.sh: New file.
72082         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72083         ($(objdir)config-name.h): New target.
72085         * sunrpc/rpc_parse.h: Avoid nested comment.
72087 2010-08-24  Richard Henderson  <rth@redhat.com>
72088             Ulrich Drepper  <drepper@redhat.com>
72089             H.J. Lu  <hongjiu.lu@intel.com>
72091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72093         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72094         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72095         _mm_alignr_epi8 with _mm_loadu_si128.
72096         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72097         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72098         (__m128i_shift_right): Removed.
72099         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72100         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72101         * sysdeps/x86_64/multiarch/varshift.h: New file.
72102         * sysdeps/x86_64/multiarch/varshift.S: New file.
72104 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72106         * configure.in: Move assembler checks to before sysdep dir checking.
72108 2010-08-20  Petr Baudis  <pasky@suse.cz>
72110         * LICENSES: Sync the sunrpc license.
72112 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72114         * sunrpc/auth_des.c: Update copyright notice once again.
72115         * sunrpc/auth_none.c: Likewise.
72116         * sunrpc/auth_unix.c: Likewise.
72117         * sunrpc/authdes_prot.c: Likewise.
72118         * sunrpc/authuxprot.c: Likewise.
72119         * sunrpc/bindrsvprt.c: Likewise.
72120         * sunrpc/clnt_gen.c: Likewise.
72121         * sunrpc/clnt_perr.c: Likewise.
72122         * sunrpc/clnt_raw.c: Likewise.
72123         * sunrpc/clnt_simp.c: Likewise.
72124         * sunrpc/clnt_tcp.c: Likewise.
72125         * sunrpc/clnt_udp.c: Likewise.
72126         * sunrpc/clnt_unix.c: Likewise.
72127         * sunrpc/des_crypt.c: Likewise.
72128         * sunrpc/des_soft.c: Likewise.
72129         * sunrpc/get_myaddr.c: Likewise.
72130         * sunrpc/getrpcport.c: Likewise.
72131         * sunrpc/key_call.c: Likewise.
72132         * sunrpc/key_prot.c: Likewise.
72133         * sunrpc/openchild.c: Likewise.
72134         * sunrpc/pm_getmaps.c: Likewise.
72135         * sunrpc/pm_getport.c: Likewise.
72136         * sunrpc/pmap_clnt.c: Likewise.
72137         * sunrpc/pmap_prot.c: Likewise.
72138         * sunrpc/pmap_prot2.c: Likewise.
72139         * sunrpc/pmap_rmt.c: Likewise.
72140         * sunrpc/rpc/auth.h: Likewise.
72141         * sunrpc/rpc/auth_unix.h: Likewise.
72142         * sunrpc/rpc/clnt.h: Likewise.
72143         * sunrpc/rpc/des_crypt.h: Likewise.
72144         * sunrpc/rpc/key_prot.h: Likewise.
72145         * sunrpc/rpc/netdb.h: Likewise.
72146         * sunrpc/rpc/pmap_clnt.h: Likewise.
72147         * sunrpc/rpc/pmap_prot.h: Likewise.
72148         * sunrpc/rpc/pmap_rmt.h: Likewise.
72149         * sunrpc/rpc/rpc.h: Likewise.
72150         * sunrpc/rpc/rpc_des.h: Likewise.
72151         * sunrpc/rpc/rpc_msg.h: Likewise.
72152         * sunrpc/rpc/svc.h: Likewise.
72153         * sunrpc/rpc/svc_auth.h: Likewise.
72154         * sunrpc/rpc/types.h: Likewise.
72155         * sunrpc/rpc/xdr.h: Likewise.
72156         * sunrpc/rpc_clntout.c: Likewise.
72157         * sunrpc/rpc_cmsg.c: Likewise.
72158         * sunrpc/rpc_common.c: Likewise.
72159         * sunrpc/rpc_cout.c: Likewise.
72160         * sunrpc/rpc_dtable.c: Likewise.
72161         * sunrpc/rpc_hout.c: Likewise.
72162         * sunrpc/rpc_main.c: Likewise.
72163         * sunrpc/rpc_parse.c: Likewise.
72164         * sunrpc/rpc_parse.h: Likewise.
72165         * sunrpc/rpc_prot.c: Likewise.
72166         * sunrpc/rpc_sample.c: Likewise.
72167         * sunrpc/rpc_scan.c: Likewise.
72168         * sunrpc/rpc_scan.h: Likewise.
72169         * sunrpc/rpc_svcout.c: Likewise.
72170         * sunrpc/rpc_tblout.c: Likewise.
72171         * sunrpc/rpc_util.c: Likewise.
72172         * sunrpc/rpc_util.h: Likewise.
72173         * sunrpc/rpcinfo.c: Likewise.
72174         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72175         * sunrpc/rpcsvc/key_prot.x: Likewise.
72176         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72177         * sunrpc/rpcsvc/mount.x: Likewise.
72178         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72179         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72180         * sunrpc/rpcsvc/rex.x: Likewise.
72181         * sunrpc/rpcsvc/rstat.x: Likewise.
72182         * sunrpc/rpcsvc/rusers.x: Likewise.
72183         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72184         * sunrpc/rpcsvc/spray.x: Likewise.
72185         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72186         * sunrpc/rtime.c: Likewise.
72187         * sunrpc/svc.c: Likewise.
72188         * sunrpc/svc_auth.c: Likewise.
72189         * sunrpc/svc_authux.c: Likewise.
72190         * sunrpc/svc_raw.c: Likewise.
72191         * sunrpc/svc_run.c: Likewise.
72192         * sunrpc/svc_simple.c: Likewise.
72193         * sunrpc/svc_tcp.c: Likewise.
72194         * sunrpc/svc_udp.c: Likewise.
72195         * sunrpc/svc_unix.c: Likewise.
72196         * sunrpc/svcauth_des.c: Likewise.
72197         * sunrpc/xcrypt.c: Likewise.
72198         * sunrpc/xdr.c: Likewise.
72199         * sunrpc/xdr_array.c: Likewise.
72200         * sunrpc/xdr_float.c: Likewise.
72201         * sunrpc/xdr_mem.c: Likewise.
72202         * sunrpc/xdr_rec.c: Likewise.
72203         * sunrpc/xdr_ref.c: Likewise.
72204         * sunrpc/xdr_sizeof.c: Likewise.
72205         * sunrpc/xdr_stdio.c: Likewise.
72207         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72208         handling.
72210 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72212         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72214 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72216         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72217         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72218         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72219         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72220         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72221         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72222         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72223         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72224         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72225         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72226         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72227         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72228         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72229         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72231 2010-07-26  Anton Blanchard  <anton@samba.org>
72233         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72234         * malloc/arena.c (heap_trim): Likewise.
72236 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72238         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72239         here.  Not...
72240         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72241         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72243 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72245         * sysdeps/i386/elf/Makefile: New file.
72247 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72249         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72250         from fanotify_init.
72251         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72252         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72254 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72256         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72257         of strncasecmp_l.
72258         * sysdeps/multiarch/strcmp.S: Likewise.
72260 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72262         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72263         strncase_l-nonascii.
72264         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72265         Add strncase_l-ssse3.
72266         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72267         * sysdeps/x86_64/strcmp.S: Likewise.
72268         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72269         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72270         * sysdeps/x86_64/strncase.S: New file.
72271         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72272         * sysdeps/x86_64/strncase_l.S: New file.
72273         * string/Makefile (strop-tests): Add strncasecmp.
72274         * string/test-strncasecmp.c: New file.
72276         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72277         warning.
72279         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72280         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72282 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72284         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72286 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72288         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72289         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72290         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72292 2010-05-01  Alan Modra  <amodra@gmail.com>
72294         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72295         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72296         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72297         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72298         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72299         tidying.  Don't tail-call __sigjmp_save for static lib.
72300         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72301         save location.
72302         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72303         (CALL_MCOUNT): Add eh info, and nop after bl.
72304         (TAIL_CALL_SYSCALL_ERROR): New macro.
72305         (PSEUDO_RET): Use it.
72306         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72307         Correct save location of integer regs and cr.
72308         (_dl_profile_resolve): Correct cr save location.  Delete nops
72309         after bl when SHARED.  Reduce cfi size a little by better
72310         placement of cfi directives.
72311         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72312         make a stack frame.  Instead use parm save area as a temp.
72313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72314         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72316         Don't make a stack frame for parent, use parm save area.
72317         Increase child stack frame to 112 bytes.  Don't save unused reg,
72318         and adjust reg usage.  Set up cfi on error recovery and
72319         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72321         (__makecontext): Add dummy nop after jump to exit.
72322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72323         Use correct parm save area and cr save, reduce stack frame.
72324         Correct cfi for possible PSEUDO_RET frame setup.
72325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72326         Branch to local label emitted by PSEUDO_RET rather than
72327         __syscall_error.
72329 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72331         [BZ #11904]
72332         * locale/programs/locale.c (print_assignment): New function.
72333         (show_locale_vars): Use it.
72335 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72337         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72338         field.
72339         (struct statfs64): Likewise.
72340         (_STATFS_F_FLAGS): Define.
72341         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72342         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72343         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72344         (ST_VALID): Define locally.
72345         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72346         __statvfs_getflags, use the provided value.
72347         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72348         __ASSUME_STATFS_F_FLAGS.
72350         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72352         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72353         Add sys/fanotify.h.
72354         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72355         fanotify_mask for GLIBC_2.13.
72356         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72357         fanotify_init and fanotify_mark.
72358         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72359         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72361         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72362         Add prlimit.
72363         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72364         prlimit64 for GLIBC_2.13.
72365         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72366         prlimit64.
72367         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72368         syscall.
72369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72370         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72371         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72372         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72373         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72374         add prlimit alias.
72375         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72377         [BZ #11903]
72378         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72379         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72381         * nss/Makefile: Add rules to build and run tst-nss-test1.
72382         * shlib-versions: Add entry for libnss_test1.
72383         * nss/nss_test1.c: New file.
72384         * nss/tst-nss-test1.c: New file.
72386         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72387         (__nss_configure_lookup): Set appropriate entry in
72388         __nss_configure_lookup to true.
72389         * nss/nsswitch.h: Define enum with indeces of databases in
72390         databases and __nss_database_custom arrays.  Declare
72391         __nss_database_custom.
72392         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72393         to avoid using nscd when custom rules are installed.
72394         * nss/getXXbyYY_r.c: Likewise.
72395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72397         * nss/nss_files/files-parse.c: Whitespace fixes.
72399 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72401         [BZ #11883]
72402         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72403         * posix/fnmatch_loop.c: Likewise.
72405 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72407         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72408         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72409         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72410         * Versions.def [GLIBC_2.13]: Add.
72412 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72414         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72415         Also fail if tpwd after pwuid call is NULL.
72417 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72419         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72420         when converting to ms.
72422 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72424         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72425         EOPNOTSUPP errors with ENOTTY.
72426         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72427         EOPNOTSUPP errors with ENOTTY.
72429 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72431         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72432         Add strcasecmp_l-ssse3.
72433         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72434         strcasecmp.
72435         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72436         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72437         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72439 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72441         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72443         * string/Makefile (strop-tests): Add strcasecmp.
72444         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72445         strcasecmp_l-nonascii.
72446         (gen-as-const-headers): Add locale-defines.sym.
72447         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72448         * sysdeps/x86_64/strcasecmp.S: New file.
72449         * sysdeps/x86_64/strcasecmp_l.S: New file.
72450         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72451         * sysdeps/x86_64/locale-defines.sym: New file.
72452         * string/test-strcasecmp.c: New file.
72454         * string/test-strcasestr.c: Test both ends of the range of characters.
72455         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72457 2010-07-29  Roland McGrath  <roland@redhat.com>
72459         [BZ #11856]
72460         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72462 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72464         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72465         for ld.so.
72467 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72469         * manual/memory.texi (Malloc Tunable Parameters): Document
72470         M_PERTURB.
72472 2010-07-26  Roland McGrath  <roland@redhat.com>
72474         [BZ #11840]
72475         * configure.in (-fgnu89-inline check): Set and substitute
72476         gnu89_inline, not libc_cv_gnu89_inline.
72477         * configure: Regenerated.
72478         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72480 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72482         * string/test-strnlen.c: New file.
72483         * string/Makefile (strop-tests): Add strnlen.
72484         * string/tester.c (test_strnlen): Add a few more test cases.
72485         * string/tst-strlen.c: Better error reporting.
72487         * sysdeps/x86_64/strnlen.S: New file.
72489 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72491         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72492         lower-latency instructions.
72494 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72496         * string/test-strcasestr.c: New file.
72497         * string/test-strstr.c: New file.
72498         * string/Makefile (strop-tests): Add strstr and strcasestr.
72499         * string/str-two-way.h: Don't undefine MAX.
72500         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72502 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72505         strcasestr-nonascii.
72506         (CFLAGS-strcasestr-nonascii.c): Define.
72507         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72508         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72509         Remove unused attribute.
72511 2010-07-20  Roland McGrath  <roland@redhat.com>
72513         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72514         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72515         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72516         like LD_HWCAP_MASK can disable hwcaps.
72518 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72520         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72522 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72524         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72525         call in strcasestr.
72526         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72527         __strcasestr_sse42_nonascii.
72528         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72529         strcasestr-nonascii.c.
72530         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72532 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72534         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72535         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72536         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72537         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72539 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72541         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72542         fcntl.
72544 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72546         [BZ #11577]
72547         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72548         dl_signal_cerror.
72550 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72552         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72553         _PC_PIPE_BUF using F_GETPIPE_SZ.
72555 2010-07-05  Roland McGrath  <roland@redhat.com>
72557         * manual/arith.texi (Rounding Functions): Fix rint description
72558         implicit in round description.
72560 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72562         * elf/Makefile: Fix linking for a few tests to make recent linker
72563         happy.
72565 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72567         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72568         $(common-objpfx)libc_nonshared.a.
72570 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72572         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72573         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72574         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72575         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72576         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72577         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72578         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72579         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72594         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72595         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72596         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72597         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72598         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72599         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72600         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72601         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72602         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72603         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72604         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72605         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72621 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72623         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72624         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72625         * string/memmove.c (memmove): Renamed to ...
72626         (MEMMOVE): ...this.  Default to memmove.
72627         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72628         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72629         (END_CHK): Define.
72630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72631         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72632         mempcpy-ssse3-back memmove-ssse3-back.
72633         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72634         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72635         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72636         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72637         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72638         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72639         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72640         * sysdeps/x86_64/multiarch/memmove.c: New file.
72641         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72642         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72643         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72644         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72645         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72646         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72647         Define.
72648         (index_Fast_Copy_Backward): Define.
72649         (HAS_ARCH_FEATURE): Define.
72650         (HAS_FAST_REP_STRING): Define.
72651         (HAS_FAST_COPY_BACKWARD): Define.
72653 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72655         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72656         Restore proper fallback handling.
72658 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72660         [BZ #11701]
72661         * posix/group_member.c (__group_member): Correct checking loop.
72663         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72664         OOM in getpwuid_r correctly.  Return error number when the caller
72665         should return, otherwise -1.
72666         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72667         call returning > 0 value.
72668         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72670 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72672         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72673         libc_nonshared.a from targets in modules-names.
72675 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72677         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72678         requires it.
72680 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72682         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72683         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72684         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72687 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72689         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72691 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72693         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72694         and F_GETPIPE_SZ.
72695         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72696         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72699         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72700         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72702 2010-06-14  Roland McGrath  <roland@redhat.com>
72704         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72706 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72708         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72709         __REDIRECT followed by __THROW.
72710         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72711         * posix/getopt.h (getopt): Likewise.
72713 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72715         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72716         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72717         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72718         in AT_FLAGS.
72719         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72720         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72722 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72724         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72726 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72728         [BZ #11640]
72729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72730         Properly check family and model.
72732 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72734         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72736 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72738         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72740 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72742         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72743         symbol reference.
72745 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72747         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72748         symbol reference.
72750 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72752         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72753         and internal_recvmmsg.
72754         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72755         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72756         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72757         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72759         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72760         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72761         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72763 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72765         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72767 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72769         POWER7 optimizations.
72770         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72771         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72773 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72775         * version.h: Update for 2.13 development version.
72777 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72779         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72780         exceptions.  Return 0.
72782 2010-05-07  Roland McGrath  <roland@redhat.com>
72784         * elf/ldconfig.c (main): Add a const.
72786 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72788         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72789         (args_options): Add no-idn option.
72790         (ahosts_keys_int): Add idn_flags to ai_flags.
72791         (parse_option): Handle 'i' option to clear idn_flags.
72793         * malloc/malloc.c (_int_free): Possible race in the most recently
72794         added check.  Only act on the data if no current modification
72795         happened.
72797 See ChangeLog.17 for earlier changes.